Class AbstractMicroserviceIntegrationTest

java.lang.Object
org.opentestfactory.test.harness.AbstractMicroServiceTestBase
org.opentestfactory.test.harness.AbstractMicroserviceIntegrationTest

public abstract class AbstractMicroserviceIntegrationTest extends AbstractMicroServiceTestBase
This test base class adds a utility methods to check generated bus events.
  • Field Details

    • busMockSubscriptionCfg

      protected final List<String> busMockSubscriptionCfg
  • Constructor Details

    • AbstractMicroserviceIntegrationTest

      public AbstractMicroserviceIntegrationTest(int receiverPort, String busMockSubscriptionCfg, URL sutBaseUrl, AuthToken serviceAuthConfig)
      Complete initialization constructor : single bus spy convenience subscription version.
      Parameters:
      receiverPort - receiver port : where expected (or unwanted) messages will be detected if they indeed happen.
      busMockSubscriptionCfg - subscription of the mock to the SUT bus to spy events (on assert on existing events).
      sutBaseUrl - base URL for the SUT (enpoint paths are relative to this)
      See Also:
    • AbstractMicroserviceIntegrationTest

      public AbstractMicroserviceIntegrationTest(int mockPort, URL sutBaseUrl, AuthToken serviceAuthToken, String... busMockSubscriptionCfg)
  • Method Details