Search in sources :

Example 6 with IntegrationTestContext

use of com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext in project sechub by mercedes-benz.

the class ServerEncryptionTest method beforeAll.

@BeforeAll
static void beforeAll() throws Exception {
    IntegrationTestContext context = IntegrationTestContext.get();
    String checkAlive = context.getUrlBuilder().buildCheckIsAliveUrl();
    securityTestHelper = new SecurityTestHelper(TestTargetType.SECHUB_SERVER, new URL(checkAlive));
}
Also used : IntegrationTestContext(com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext) SecurityTestHelper(com.mercedesbenz.sechub.integrationtest.SecurityTestHelper) URL(java.net.URL) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

IntegrationTestContext (com.mercedesbenz.sechub.integrationtest.internal.IntegrationTestContext)6 SecurityTestHelper (com.mercedesbenz.sechub.integrationtest.SecurityTestHelper)2 URL (java.net.URL)2 BeforeAll (org.junit.jupiter.api.BeforeAll)2 FixedTestUser (com.mercedesbenz.sechub.integrationtest.api.FixedTestUser)1