The _____ utility in Spring Boot is used to perform HTTP requests and assert the response within tests when you want to focus only on the web layer.

  • @Autowired
  • @RestController
  • @Service
  • TestRestTemplate
The TestRestTemplate utility in Spring Boot is used to perform HTTP requests and assert the response within tests. It is especially useful when you want to focus on testing the web layer and interact with your RESTful endpoints.
Add your answer
Loading...

Leave a comment

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