When performing integration testing in Spring Boot, the _____ utility class is used to perform HTTP requests and receive responses.

  • MockMvc
  • ResponseEntity
  • RestTemplate
  • TestRestTemplate
The TestRestTemplate utility class in Spring Boot is used for integration testing of RESTful web services. It allows you to perform HTTP requests and receive responses in your tests, making it suitable for testing web API endpoints.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *