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 MockServerClient
getProxyClient()
abstract int
getProxyPort()
abstract int
getServerSecurePort()
void
shouldAuthenticateConnectRequestWhenClientConfiguredWithProxyConfiguration()
void
shouldConnectToSecurePort()
void
shouldConnectToSecurePortWithAuthenticationHeader()
void
shouldForwardRequestsToSecurePortAndUnknownPath()
void
shouldForwardRequestsToSecurePortUsingHttpClientViaHTTP_CONNECT()
void
shouldForwardRequestsToSecurePortUsingSocketDirectly()
void
shouldNotConnectToSecurePortRequiringAuthenticationWithCustomRelm()
void
shouldNotConnectToSecurePortRequiringAuthenticationWithDefaultRelm()
void
shouldPreventUnauthenticatedConnectRequestWhenClientConfiguredWithProxyConfiguration()
static void
stopEventLoopGroup()
-
-
-
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()
-
-