Class AbstractBasicMockingIntegrationTest
- java.lang.Object
-
- org.mockserver.integration.server.AbstractMockingIntegrationTestBase
-
- org.mockserver.integration.server.AbstractBasicMockingIntegrationTest
-
- Direct Known Subclasses:
AbstractExtendedMockingIntegrationTest
public abstract class AbstractBasicMockingIntegrationTest extends AbstractMockingIntegrationTestBase
- Author:
- jamesdbloom
-
-
Field Summary
-
Fields inherited from class org.mockserver.integration.server.AbstractMockingIntegrationTestBase
headersToIgnore, insecureEchoServer, mockServerClient, secureEchoServer, servletContext
-
-
Constructor Summary
Constructors Constructor Description AbstractBasicMockingIntegrationTest()
-
Method Summary
-
Methods inherited from class org.mockserver.integration.server.AbstractMockingIntegrationTestBase
calculatePath, createClientAndEventLoopGroup, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches
-
-
-
-
Method Detail
-
shouldForwardRequestInHTTP
public void shouldForwardRequestInHTTP()
-
shouldForwardRequestInHTTPS
public void shouldForwardRequestInHTTPS()
-
shouldForwardOverriddenRequest
public void shouldForwardOverriddenRequest()
-
shouldForwardOverriddenRequestWithOverriddenResponse
public void shouldForwardOverriddenRequestWithOverriddenResponse()
-
shouldForwardOverriddenRequestWithSocketAddress
public void shouldForwardOverriddenRequestWithSocketAddress()
-
shouldCallbackForwardCallbackToOverrideRequestInTestClasspath
public void shouldCallbackForwardCallbackToOverrideRequestInTestClasspath()
-
shouldCallbackForwardCallbackToOverrideRequestAndResponseInTestClasspath
public void shouldCallbackForwardCallbackToOverrideRequestAndResponseInTestClasspath()
-
shouldForwardTemplateInVelocity
public void shouldForwardTemplateInVelocity()
-
shouldAllowSimultaneousForwardAndResponseExpectations
public void shouldAllowSimultaneousForwardAndResponseExpectations()
-
shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse
public void shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse()
-
shouldSupportBatchedExpectations
public void shouldSupportBatchedExpectations() throws Exception
- Throws:
Exception
-
shouldReturnResponseWithOnlyBody
public void shouldReturnResponseWithOnlyBody()
-
shouldReturnResponseWithOnlyStatusCode
public void shouldReturnResponseWithOnlyStatusCode()
-
shouldReturnResponseByMatchingStringBody
public void shouldReturnResponseByMatchingStringBody()
-
shouldReturnResponseFromVelocityTemplate
public void shouldReturnResponseFromVelocityTemplate()
-
shouldReturnResponseByMatchingPathAndMethod
public void shouldReturnResponseByMatchingPathAndMethod()
-
shouldNotReturnResponseForNonMatchingBody
public void shouldNotReturnResponseForNonMatchingBody()
-
shouldNotReturnResponseForNonMatchingPath
public void shouldNotReturnResponseForNonMatchingPath()
-
shouldVerifyReceivedRequests
public void shouldVerifyReceivedRequests()
-
shouldVerifyNotEnoughRequestsReceived
public void shouldVerifyNotEnoughRequestsReceived()
-
shouldVerifyNoRequestsReceived
public void shouldVerifyNoRequestsReceived()
-
shouldVerifySequenceOfRequestsReceived
public void shouldVerifySequenceOfRequestsReceived()
-
shouldRetrieveRecordedRequests
public void shouldRetrieveRecordedRequests()
-
shouldRetrieveActiveExpectations
public void shouldRetrieveActiveExpectations()
-
shouldRetrieveRecordedExpectations
public void shouldRetrieveRecordedExpectations() throws InterruptedException
- Throws:
InterruptedException
-
shouldRetrieveRecordedLogMessages
public void shouldRetrieveRecordedLogMessages()
-
shouldClearExpectationsAndLogs
public void shouldClearExpectationsAndLogs()
-
shouldReset
public void shouldReset()
-
shouldReturnErrorForInvalidExpectation
public void shouldReturnErrorForInvalidExpectation() throws Exception
- Throws:
Exception
-
shouldReturnErrorForInvalidRequest
public void shouldReturnErrorForInvalidRequest() throws Exception
- Throws:
Exception
-
shouldForwardRequestInHTTPWithDelay
public void shouldForwardRequestInHTTPWithDelay()
-
shouldForwardOverriddenRequestWithDelay
public void shouldForwardOverriddenRequestWithDelay()
-
shouldCallbackClassForForwardWithDelay
public void shouldCallbackClassForForwardWithDelay()
-
shouldReturnResponseForExpectationWithDelay
public void shouldReturnResponseForExpectationWithDelay()
-
shouldCallbackClassForResponseForExpectationWithDelay
public void shouldCallbackClassForResponseForExpectationWithDelay()
-
-