• Tutorials
  • Courses
  • Tracks

Question 4

Last Updated :
Discuss
Comments

What is the purpose of MockMVC in Spring Boot testing?

To mock database connections

To simulate HTTP requests and test controllers without starting a server

To mock microservice communication

To validate Spring Boot configurations

Share your thoughts in the comments