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()
-
shouldCallbackForForwardToSpecifiedClassWithPrecannedResponse
public void shouldCallbackForForwardToSpecifiedClassWithPrecannedResponse()
-
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()
-
shouldReturnResponseForExpectationWithDelay
public void shouldReturnResponseForExpectationWithDelay()
-
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()
-
shouldRetrieveRecordedLogMessages
public void shouldRetrieveRecordedLogMessages()
-
shouldClearExpectationsAndLogs
public void shouldClearExpectationsAndLogs()
-
shouldReset
public void shouldReset()
-
shouldReturnErrorForInvalidExpectation
public void shouldReturnErrorForInvalidExpectation() throws Exception
- Throws:
Exception
-
-