Class HealthTest


  • public class HealthTest
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HealthTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void healthEndpointExposed()
      This test verifies health endpoint is exposed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HealthTest

        public HealthTest()
    • Method Detail

      • healthEndpointExposed

        @Test
        public void healthEndpointExposed()
                                   throws java.io.IOException
        This test verifies health endpoint is exposed. The server under test needs to publish the ServiceReadyEvent or ServerStartupEvent for ServiceReadyHealthIndicator to be UP.
        Throws:
        java.io.IOException - Exception thrown while getting the server under test.