public abstract class AbstractProxyIntegrationTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
servletContext |
Constructor and Description |
---|
AbstractProxyIntegrationTest() |
protected static String servletContext
public static void createClientAndEventLoopGroup()
public static void stopEventLoopGroup()
protected org.apache.http.client.HttpClient createHttpClient()
public abstract int getProxyPort()
public abstract int getSecureProxyPort()
public abstract MockServerClient getMockServerClient()
public abstract int getServerPort()
public void resetServer()
public void shouldForwardRequestsUsingSocketDirectly() throws Exception
Exception
public void shouldForwardRequestsUsingHttpClient() throws Exception
Exception
public void shouldForwardRequestsWithComplexCookies() throws Exception
Exception
public void shouldForwardRequestsWithCharset() throws Exception
Exception
public void shouldForwardRequestsToUnknownPath() throws Exception
Exception
public void shouldReturnResponseByMatchingPathExactTimes() throws URISyntaxException, IOException
URISyntaxException
IOException
public void shouldReturnResponseByMatchingStringBody() throws IOException, URISyntaxException
IOException
URISyntaxException
public void shouldReturnResponseByMatchingBodyWithJsonSchema() throws URISyntaxException, IOException
URISyntaxException
IOException
public void shouldVerifyRequestsSequence() throws Exception
Exception
public void shouldVerifyRequestsWithHopByHopHeaders() throws Exception
Exception
public void shouldVerifyNoRequestsExactly() throws Exception
Exception
public void shouldVerifyNoRequestsTimesNotSpecified() throws Exception
Exception
public void shouldVerifyNotEnoughRequests() throws Exception
Exception
public void shouldVerifyRequestsSequenceNotFound() throws Exception
Exception
public void shouldReturnErrorForInvalidRequestToClear() throws Exception
Exception
public void shouldReturnErrorForInvalidRequestToVerify() throws Exception
Exception
Copyright © 2020. All rights reserved.