Package org.mockserver.integration.proxy
Class AbstractClientProxyIntegrationTest
- java.lang.Object
-
- org.mockserver.integration.proxy.AbstractClientProxyIntegrationTest
-
public abstract class AbstractClientProxyIntegrationTest extends Object
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
servletContext
-
Constructor Summary
Constructors Constructor Description AbstractClientProxyIntegrationTest()
-
Method Summary
-
-
-
Field Detail
-
servletContext
protected static String servletContext
-
-
Method Detail
-
createClientAndEventLoopGroup
public static void createClientAndEventLoopGroup()
-
stopEventLoopGroup
public static void stopEventLoopGroup()
-
getProxyPort
public abstract int getProxyPort()
-
getMockServerClient
public abstract MockServerClient getMockServerClient()
-
getServerPort
public abstract int getServerPort()
-
resetServer
public void resetServer()
-
shouldForwardRequestsUsingSocketDirectly
public void shouldForwardRequestsUsingSocketDirectly() throws Exception
- Throws:
Exception
-
shouldForwardRequestsUsingHttpClient
public void shouldForwardRequestsUsingHttpClient() throws Exception
- Throws:
Exception
-
shouldForwardRequestsWithComplexCookies
public void shouldForwardRequestsWithComplexCookies() throws Exception
- Throws:
Exception
-
shouldForwardRequestsToUnknownPath
public void shouldForwardRequestsToUnknownPath() throws Exception
- Throws:
Exception
-
shouldReturnResponseByMatchingPathExactTimes
public void shouldReturnResponseByMatchingPathExactTimes() throws URISyntaxException, IOException
- Throws:
URISyntaxException
IOException
-
shouldReturnResponseByMatchingStringBody
public void shouldReturnResponseByMatchingStringBody() throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
shouldReturnResponseByMatchingBodyWithJsonSchema
public void shouldReturnResponseByMatchingBodyWithJsonSchema() throws URISyntaxException, IOException
- Throws:
URISyntaxException
IOException
-
shouldVerifyRequestsSequence
public void shouldVerifyRequestsSequence() throws Exception
- Throws:
Exception
-
shouldVerifyRequestsWithHopByHopHeaders
public void shouldVerifyRequestsWithHopByHopHeaders() throws Exception
- Throws:
Exception
-
shouldVerifyNoRequestsExactly
public void shouldVerifyNoRequestsExactly() throws Exception
- Throws:
Exception
-
shouldVerifyNoRequestsTimesNotSpecified
public void shouldVerifyNoRequestsTimesNotSpecified() throws Exception
- Throws:
Exception
-
shouldVerifyNotEnoughRequests
public void shouldVerifyNotEnoughRequests() throws Exception
- Throws:
Exception
-
shouldVerifyRequestsSequenceNotFound
public void shouldVerifyRequestsSequenceNotFound() throws Exception
- Throws:
Exception
-
shouldReturnErrorForInvalidRequestToClear
public void shouldReturnErrorForInvalidRequestToClear() throws Exception
- Throws:
Exception
-
shouldReturnErrorForInvalidRequestToVerify
public void shouldReturnErrorForInvalidRequestToVerify() throws Exception
- Throws:
Exception
-
-