I wrote a controller which combines actuator info. In my test I get an error No qualifying bean of type ‘org.springframework.boot.actuate.health.HealthEndpoint’. How can I actiavate default spring actuator beans in controller test(@SpringBootTest/@WebMvcTest)? Answer I guess I’m narrowing down the context is the answer to your question: Spring includes only the controller into its context skipping everything else. Try to include