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 MockServerClient getMockServerClient()
public abstract int getServerPort()
public abstract EchoServer getEchoServer()
public void resetServer()
public void shouldForwardRequestsUsingSocketDirectly()
                                              throws Exception
Exceptionpublic void shouldForwardRequestsUsingHttpClient()
                                          throws Exception
Exceptionpublic void shouldForwardRequestsWithComplexCookies()
                                             throws Exception
Exceptionpublic void shouldForwardRequestsWithCharset()
                                      throws Exception
Exceptionpublic void shouldForwardRequestsToUnknownPath()
                                        throws Exception
Exceptionpublic void shouldForwardRequestsWithBlankQueryParameter()
                                                  throws Exception
Exceptionpublic void shouldForwardRequestsWithQueryParameterStartingWithExclamationMark()
                                                                        throws Exception
Exceptionpublic void shouldReturnResponseByMatchingPathExactTimes()
                                                  throws URISyntaxException,
                                                         IOException
URISyntaxExceptionIOExceptionpublic void shouldReturnResponseByMatchingStringBody()
                                              throws IOException,
                                                     URISyntaxException
IOExceptionURISyntaxExceptionpublic void shouldReturnResponseByMatchingBodyWithJsonSchema()
                                                      throws URISyntaxException,
                                                             IOException
URISyntaxExceptionIOExceptionpublic 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()
                                               throws Exception
Exceptionpublic void shouldReturnErrorForInvalidRequestToVerify()
                                                throws Exception
ExceptionCopyright © 2022. All rights reserved.