Class AbstractExtendedMockingIntegrationTest
- java.lang.Object
-
- org.mockserver.integration.server.AbstractMockingIntegrationTestBase
-
- org.mockserver.integration.server.AbstractBasicMockingIntegrationTest
-
- org.mockserver.integration.server.AbstractExtendedMockingIntegrationTest
-
- Direct Known Subclasses:
AbstractExtendedSameJVMMockingIntegrationTest
public abstract class AbstractExtendedMockingIntegrationTest extends AbstractBasicMockingIntegrationTest
- Author:
- jamesdbloom
-
-
Field Summary
-
Fields inherited from class org.mockserver.integration.server.AbstractMockingIntegrationTestBase
headersToIgnore, insecureEchoServer, mockServerClient, secureEchoServer, servletContext
-
-
Constructor Summary
Constructors Constructor Description AbstractExtendedMockingIntegrationTest()
-
Method Summary
-
Methods inherited from class org.mockserver.integration.server.AbstractBasicMockingIntegrationTest
shouldAllowSimultaneousForwardAndResponseExpectations, shouldCallbackClassForForwardWithDelay, shouldCallbackClassForResponseForExpectationWithDelay, shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse, shouldCallbackForwardCallbackToOverrideRequestAndResponseInTestClasspath, shouldCallbackForwardCallbackToOverrideRequestInTestClasspath, shouldClearExpectationsAndLogs, shouldForwardOverriddenRequest, shouldForwardOverriddenRequestWithDelay, shouldForwardOverriddenRequestWithOverriddenResponse, shouldForwardOverriddenRequestWithSocketAddress, shouldForwardRequestInHTTP, shouldForwardRequestInHTTPS, shouldForwardRequestInHTTPWithDelay, shouldForwardTemplateInVelocity, shouldNotReturnResponseForNonMatchingBody, shouldNotReturnResponseForNonMatchingPath, shouldReset, shouldRetrieveActiveExpectations, shouldRetrieveRecordedExpectations, shouldRetrieveRecordedLogMessages, shouldRetrieveRecordedRequests, shouldReturnErrorForInvalidExpectation, shouldReturnErrorForInvalidRequest, shouldReturnResponseByMatchingPathAndMethod, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseWithOnlyBody, shouldReturnResponseWithOnlyStatusCode, shouldSupportBatchedExpectations, shouldVerifyNoRequestsReceived, shouldVerifyNotEnoughRequestsReceived, shouldVerifyReceivedRequests, shouldVerifySequenceOfRequestsReceived
-
Methods inherited from class org.mockserver.integration.server.AbstractMockingIntegrationTestBase
calculatePath, createClientAndEventLoopGroup, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches
-
-
-
-
Method Detail
-
fixTime
public static void fixTime()
-
shouldReturnResponseForRequestInSsl
public void shouldReturnResponseForRequestInSsl()
-
shouldReturnResponseForRequestNotInSsl
public void shouldReturnResponseForRequestNotInSsl()
-
shouldReturnResponseByMatchingPath
public void shouldReturnResponseByMatchingPath()
-
shouldReturnResponseByMatchingPathExactTimes
public void shouldReturnResponseByMatchingPathExactTimes()
-
shouldReturnResponseWhenTimeToLiveHasNotExpired
public void shouldReturnResponseWhenTimeToLiveHasNotExpired()
-
shouldReturnMatchRequestWithBodyInUTF16
public void shouldReturnMatchRequestWithBodyInUTF16()
-
shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader
public void shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader()
-
shouldReturnResponseWithBodyInUTF16
public void shouldReturnResponseWithBodyInUTF16()
-
shouldReturnResponseWithBodyInUTF8WithContentTypeHeader
public void shouldReturnResponseWithBodyInUTF8WithContentTypeHeader()
-
shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader
public void shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader()
-
shouldReturnResponseByMatchingSubStringBody
public void shouldReturnResponseByMatchingSubStringBody()
-
shouldReturnResponseByMatchingNotRegexBody
public void shouldReturnResponseByMatchingNotRegexBody()
-
shouldReturnResponseByMatchingNotSubStringBody
public void shouldReturnResponseByMatchingNotSubStringBody()
-
shouldReturnResponseByMatchingNotExactBody
public void shouldReturnResponseByMatchingNotExactBody()
-
shouldReturnResponseByMatchingBodyWithXPath
public void shouldReturnResponseByMatchingBodyWithXPath()
-
shouldReturnResponseByMatchingBodyWithXmlSchema
public void shouldReturnResponseByMatchingBodyWithXmlSchema()
-
shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath
public void shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath()
-
shouldReturnResponseByMatchingBodyWithXml
public void shouldReturnResponseByMatchingBodyWithXml()
-
shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharacters
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharacters()
-
shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent()
-
shouldReturnResponseByMatchingBodyWithJson
public void shouldReturnResponseByMatchingBodyWithJson()
-
shouldReturnResponseByMatchingBodyWithJsonAsRawBody
public void shouldReturnResponseByMatchingBodyWithJsonAsRawBody()
-
shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF8
public void shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF8()
-
shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeader
public void shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeader()
-
shouldReturnResponseByMatchingBodyWithJsonWithMatchType
public void shouldReturnResponseByMatchingBodyWithJsonWithMatchType()
-
shouldReturnResponseByMatchingBodyWithJsonSchema
public void shouldReturnResponseByMatchingBodyWithJsonSchema()
-
shouldReturnResponseByMatchingBodyWithJsonPath
public void shouldReturnResponseByMatchingBodyWithJsonPath()
-
shouldReturnPDFResponseByMatchingPath
public void shouldReturnPDFResponseByMatchingPath() throws IOException
- Throws:
IOException
-
shouldReturnPNGResponseByMatchingPath
public void shouldReturnPNGResponseByMatchingPath() throws IOException
- Throws:
IOException
-
shouldReturnPDFResponseByMatchingBinaryPDFBody
public void shouldReturnPDFResponseByMatchingBinaryPDFBody() throws IOException
- Throws:
IOException
-
shouldReturnPNGResponseByMatchingBinaryPNGBody
public void shouldReturnPNGResponseByMatchingBinaryPNGBody() throws IOException
- Throws:
IOException
-
shouldReturnResponseByNotMatchingPathWithNotOperator
public void shouldReturnResponseByNotMatchingPathWithNotOperator()
-
shouldReturnResponseByNotMatchingMethodWithNotOperator
public void shouldReturnResponseByNotMatchingMethodWithNotOperator()
-
shouldReturnResponseByMatchingPathAndMethodAndBody
public void shouldReturnResponseByMatchingPathAndMethodAndBody()
-
shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters()
-
shouldReturnResponseByMatchingPathAndMethodAndHeaders
public void shouldReturnResponseByMatchingPathAndMethodAndHeaders()
-
shouldReturnResponseByMatchingPathAndMethodAndCookies
public void shouldReturnResponseByMatchingPathAndMethodAndCookies()
-
shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters()
-
shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody()
-
shouldReturnResponseByMatchingPathAndMethodAndBodyParameters
public void shouldReturnResponseByMatchingPathAndMethodAndBodyParameters()
-
shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies
public void shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies()
-
shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForNameAndValue
public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForNameAndValue()
-
shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName
public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName()
-
shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue
public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue()
-
shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue()
-
shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName()
-
shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue()
-
shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue()
-
shouldReturnResponseByNotMatchingCookieWithNotOperatorForName
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForName()
-
shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue()
-
shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue()
-
shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName()
-
shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue()
-
shouldNotReturnResponseForWhenTimeToLiveExpired
public void shouldNotReturnResponseForWhenTimeToLiveExpired()
-
shouldNotReturnResponseForMatchingBodyWithNotOperator
public void shouldNotReturnResponseForMatchingBodyWithNotOperator()
-
shouldNotReturnResponseForNonMatchingXPathBody
public void shouldNotReturnResponseForNonMatchingXPathBody()
-
shouldNotReturnResponseForNonMatchingXmlBody
public void shouldNotReturnResponseForNonMatchingXmlBody()
-
shouldNotReturnResponseForNonMatchingJsonBody
public void shouldNotReturnResponseForNonMatchingJsonBody()
-
shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType
public void shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType()
-
shouldNotReturnResponseForNonMatchingJsonSchema
public void shouldNotReturnResponseForNonMatchingJsonSchema()
-
shouldNotReturnResponseForNonMatchingJsonPathBody
public void shouldNotReturnResponseForNonMatchingJsonPathBody()
-
shouldNotReturnResponseForMatchingPathWithNotOperator
public void shouldNotReturnResponseForMatchingPathWithNotOperator()
-
shouldNotReturnResponseForMatchingMethodWithNotOperator
public void shouldNotReturnResponseForMatchingMethodWithNotOperator()
-
shouldNotReturnResponseForNonMatchingBodyParameterName
public void shouldNotReturnResponseForNonMatchingBodyParameterName()
-
shouldNotReturnResponseForMatchingBodyParameterWithNotOperator
public void shouldNotReturnResponseForMatchingBodyParameterWithNotOperator()
-
shouldNotReturnResponseForNonMatchingBodyParameterValue
public void shouldNotReturnResponseForNonMatchingBodyParameterValue()
-
shouldNotReturnResponseForNonMatchingQueryStringParameterName
public void shouldNotReturnResponseForNonMatchingQueryStringParameterName()
-
shouldNotReturnResponseForNonMatchingQueryStringParameterValue
public void shouldNotReturnResponseForNonMatchingQueryStringParameterValue()
-
shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator
public void shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator()
-
shouldNotReturnResponseForNonMatchingCookieName
public void shouldNotReturnResponseForNonMatchingCookieName()
-
shouldNotReturnResponseForNonMatchingCookieValue
public void shouldNotReturnResponseForNonMatchingCookieValue()
-
shouldNotReturnResponseForMatchingCookieWithNotOperator
public void shouldNotReturnResponseForMatchingCookieWithNotOperator()
-
shouldNotReturnResponseForNonMatchingHeaderName
public void shouldNotReturnResponseForNonMatchingHeaderName()
-
shouldNotReturnResponseForNonMatchingHeaderValue
public void shouldNotReturnResponseForNonMatchingHeaderValue()
-
shouldNotReturnResponseForMatchingHeaderWithNotOperator
public void shouldNotReturnResponseForMatchingHeaderWithNotOperator()
-
shouldVerifyReceivedRequestInSsl
public void shouldVerifyReceivedRequestInSsl()
-
shouldVerifyReceivedRequestsWithRegexBody
public void shouldVerifyReceivedRequestsWithRegexBody()
-
shouldVerifyReceivedRequestsWithNoBody
public void shouldVerifyReceivedRequestsWithNoBody()
-
shouldVerifyReceivedRequestsWithNoMatchingExpectation
public void shouldVerifyReceivedRequestsWithNoMatchingExpectation()
-
shouldVerifyTooManyRequestsReceived
public void shouldVerifyTooManyRequestsReceived()
-
shouldVerifyNoMatchingRequestsReceived
public void shouldVerifyNoMatchingRequestsReceived()
-
shouldNotVerifyNoRequestsReceived
public void shouldNotVerifyNoRequestsReceived()
-
shouldVerifyNoMatchingRequestsReceivedInSsl
public void shouldVerifyNoMatchingRequestsReceivedInSsl()
-
shouldVerifySequenceOfRequestsReceivedIncludingThoseNotMatchingAnException
public void shouldVerifySequenceOfRequestsReceivedIncludingThoseNotMatchingAnException()
-
shouldVerifySequenceOfRequestsNotReceived
public void shouldVerifySequenceOfRequestsNotReceived()
-
shouldRetrieveRecordedRequestsAsJson
public void shouldRetrieveRecordedRequestsAsJson()
-
shouldRetrieveRecordedRequestsAsLogEntries
public void shouldRetrieveRecordedRequestsAsLogEntries()
-
shouldRetrieveActiveExpectationsAsJson
public void shouldRetrieveActiveExpectationsAsJson()
-
shouldRetrieveActiveExpectationsAsJava
public void shouldRetrieveActiveExpectationsAsJava()
-
shouldRetrieveRecordedExpectationsAsJson
public void shouldRetrieveRecordedExpectationsAsJson()
-
shouldClearExpectationsOnly
public void shouldClearExpectationsOnly()
-
shouldClearLogsOnly
public void shouldClearLogsOnly()
-
shouldClearAllExpectationsWithNull
public void shouldClearAllExpectationsWithNull()
-
shouldClearAllExpectationsWithEmptyRequest
public void shouldClearAllExpectationsWithEmptyRequest()
-
shouldClearExpectationsWithXPathBody
public void shouldClearExpectationsWithXPathBody()
-
shouldClearExpectationsWithJsonSchemaBody
public void shouldClearExpectationsWithJsonSchemaBody()
-
shouldClearExpectationsWithParameterBody
public void shouldClearExpectationsWithParameterBody()
-
shouldEnsureThatInterruptedRequestsAreVerifiable
public void shouldEnsureThatInterruptedRequestsAreVerifiable()
-
-