public abstract class AbstractClientProxyIntegrationTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
servletContext |
Constructor and Description |
---|
AbstractClientProxyIntegrationTest() |
protected static String servletContext
protected org.apache.http.client.HttpClient createHttpClient()
public abstract int getProxyPort()
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 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 © 2018. All rights reserved.