Class AbstractClientProxyIntegrationTest


  • public abstract class AbstractClientProxyIntegrationTest
    extends Object
    Author:
    jamesdbloom
    • Field Detail

      • servletContext

        protected static String servletContext
    • Constructor Detail

      • AbstractClientProxyIntegrationTest

        public AbstractClientProxyIntegrationTest()
    • Method Detail

      • createClientAndEventLoopGroup

        public static void createClientAndEventLoopGroup()
      • stopEventLoopGroup

        public static void stopEventLoopGroup()
      • getProxyPort

        public abstract int getProxyPort()
      • getServerPort

        public abstract int getServerPort()
      • calculatePath

        protected String calculatePath​(String path)
      • 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
      • shouldVerifyRequests

        public void shouldVerifyRequests()
                                  throws Exception
        Throws:
        Exception
      • shouldVerifyRequestsSequence

        public void shouldVerifyRequestsSequence()
                                          throws Exception
        Throws:
        Exception
      • shouldVerifyRequestsWithHopByHopHeaders

        public void shouldVerifyRequestsWithHopByHopHeaders()
                                                     throws Exception
        Throws:
        Exception
      • shouldVerifyZeroRequests

        public void shouldVerifyZeroRequests()
                                      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
      • shouldClearRequests

        public void shouldClearRequests()
                                 throws Exception
        Throws:
        Exception
      • shouldResetRequests

        public void shouldResetRequests()
                                 throws Exception
        Throws:
        Exception
      • shouldReturnErrorForInvalidRequestToClear

        public void shouldReturnErrorForInvalidRequestToClear()
                                                       throws Exception
        Throws:
        Exception
      • shouldReturnErrorForInvalidRequestToVerify

        public void shouldReturnErrorForInvalidRequestToVerify()
                                                        throws Exception
        Throws:
        Exception
      • shouldReturnErrorForInvalidRequestToVerifySequence

        public void shouldReturnErrorForInvalidRequestToVerifySequence()
                                                                throws Exception
        Throws:
        Exception