public abstract class AbstractMockingIntegrationTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static io.netty.channel.EventLoopGroup |
clientEventLoopGroup |
static List<String> |
HEADERS_TO_IGNORE |
protected static NettyHttpClient |
httpClient |
protected static EchoServer |
insecureEchoServer |
protected static MockServerLogger |
MOCK_SERVER_LOGGER |
protected static org.mockserver.client.MockServerClient |
mockServerClient |
protected static EchoServer |
secureEchoServer |
protected static String |
servletContext |
| Constructor and Description |
|---|
AbstractMockingIntegrationTestBase() |
protected static final MockServerLogger MOCK_SERVER_LOGGER
protected static org.mockserver.client.MockServerClient mockServerClient
protected static String servletContext
protected static EchoServer insecureEchoServer
protected static EchoServer secureEchoServer
protected static io.netty.channel.EventLoopGroup clientEventLoopGroup
protected static NettyHttpClient httpClient
public static void startEchoServer()
public static void resetServletContext()
public abstract int getServerPort()
public int getServerSecurePort()
protected boolean isSecureControlPlane()
protected Header authorisationHeader()
public HttpRequest getRequestModifier(HttpRequest httpRequest)
public void resetServer()
public static void createClientAndEventLoopGroup()
public static void stopEventLoopGroup()
protected void verifyRequestsMatches(RequestDefinition[] requestDefinitions, HttpRequest... httpRequestMatchers)
protected void verifyRequestsMatches(LogEventRequestAndResponse[] logEventRequestAndResponses, HttpRequest... httpRequestMatchers)
protected HttpResponse makeRequest(HttpRequest httpRequest, Collection<String> headersToRemove)
public static Headers filterHeaders(Collection<String> headersToIgnore, List<Header> headerList)
Copyright © 2023. All rights reserved.