Package org.mockserver.integration.proxy
Class AbstractClientSecureProxyIntegrationTest
- java.lang.Object
-
- org.mockserver.integration.proxy.AbstractClientSecureProxyIntegrationTest
-
public abstract class AbstractClientSecureProxyIntegrationTest extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description AbstractClientSecureProxyIntegrationTest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MockServerClientgetProxyClient()abstract intgetProxyPort()abstract intgetServerSecurePort()voidshouldAuthenticateConnectRequestWhenClientConfiguredWithProxyConfiguration()voidshouldConnectToSecurePort()voidshouldConnectToSecurePortWithAuthenticationHeader()voidshouldForwardRequestsToSecurePortAndUnknownPath()voidshouldForwardRequestsToSecurePortUsingHttpClientViaHTTP_CONNECT()voidshouldForwardRequestsToSecurePortUsingSocketDirectly()voidshouldNotConnectToSecurePortRequiringAuthenticationWithCustomRelm()voidshouldNotConnectToSecurePortRequiringAuthenticationWithDefaultRelm()voidshouldPreventUnauthenticatedConnectRequestWhenClientConfiguredWithProxyConfiguration()static voidstopEventLoopGroup()
-
-
-
Method Detail
-
getProxyPort
public abstract int getProxyPort()
-
getServerSecurePort
public abstract int getServerSecurePort()
-
getProxyClient
public abstract MockServerClient getProxyClient()
-
stopEventLoopGroup
public static void stopEventLoopGroup()
-
shouldConnectToSecurePort
public void shouldConnectToSecurePort() throws Exception- Throws:
Exception
-
shouldNotConnectToSecurePortRequiringAuthenticationWithDefaultRelm
public void shouldNotConnectToSecurePortRequiringAuthenticationWithDefaultRelm() throws Exception- Throws:
Exception
-
shouldNotConnectToSecurePortRequiringAuthenticationWithCustomRelm
public void shouldNotConnectToSecurePortRequiringAuthenticationWithCustomRelm() throws Exception- Throws:
Exception
-
shouldConnectToSecurePortWithAuthenticationHeader
public void shouldConnectToSecurePortWithAuthenticationHeader() throws Exception- Throws:
Exception
-
shouldForwardRequestsToSecurePortUsingSocketDirectly
public void shouldForwardRequestsToSecurePortUsingSocketDirectly() throws Exception- Throws:
Exception
-
shouldForwardRequestsToSecurePortUsingHttpClientViaHTTP_CONNECT
public void shouldForwardRequestsToSecurePortUsingHttpClientViaHTTP_CONNECT() throws Exception- Throws:
Exception
-
shouldForwardRequestsToSecurePortAndUnknownPath
public void shouldForwardRequestsToSecurePortAndUnknownPath() throws Exception- Throws:
Exception
-
shouldPreventUnauthenticatedConnectRequestWhenClientConfiguredWithProxyConfiguration
public void shouldPreventUnauthenticatedConnectRequestWhenClientConfiguredWithProxyConfiguration()
-
-