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()
throws Exception
Exceptionpublic abstract int getProxyPort()
public abstract ProxyClient getProxyClient()
public abstract int getServerPort()
public void shouldForwardRequestsUsingSocketDirectly()
throws Exception
Exceptionpublic void shouldForwardRequestsUsingHttpClient()
throws Exception
Exceptionpublic void shouldForwardRequestsWithComplexCookies()
throws Exception
Exceptionpublic void shouldForwardRequestsToUnknownPath()
throws Exception
Exceptionpublic void shouldVerifyRequestsSequence()
throws Exception
Exceptionpublic void shouldVerifyRequestsWithHopByHopHeaders()
throws Exception
Exceptionpublic void shouldVerifyNoRequestsExactly()
throws Exception
Exceptionpublic void shouldVerifyNoRequestsTimesNotSpecified()
throws Exception
Exceptionpublic void shouldVerifyNotEnoughRequests()
throws Exception
Exceptionpublic void shouldVerifyRequestsSequenceNotFound()
throws Exception
Exceptionpublic void shouldReturnErrorForInvalidRequestToClear()
public void shouldReturnErrorForInvalidRequestToVerify()
public void shouldReturnErrorForInvalidRequestToVerifySequence()
Copyright © 2018. All rights reserved.