Class AbstractExtendedSameJVMMockingIntegrationTest
java.lang.Object
org.mockserver.testing.integration.mock.AbstractMockingIntegrationTestBase
org.mockserver.testing.integration.mock.AbstractTransportDecodeSmokeIntegrationTest
org.mockserver.testing.integration.mock.AbstractBasicMockingIntegrationTest
org.mockserver.testing.integration.mock.AbstractBasicMockingSameJVMIntegrationTest
org.mockserver.testing.integration.mock.AbstractExtendedMockingIntegrationTest
org.mockserver.testing.integration.mock.AbstractExtendedSameJVMMockingIntegrationTest
public abstract class AbstractExtendedSameJVMMockingIntegrationTest
extends AbstractExtendedMockingIntegrationTest
- Author:
- jamesdbloom
-
Field Summary
Fields inherited from class org.mockserver.testing.integration.mock.AbstractMockingIntegrationTestBase
clientEventLoopGroup, defaultTimeout, HEADERS_TO_IGNORE, httpClient, insecureEchoServer, MOCK_SERVER_LOGGER, mockServerClient, secureEchoServer, servletContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class org.mockserver.testing.integration.mock.AbstractExtendedMockingIntegrationTest
fixTime, getRequestTcpPortForPath, shouldAllowMatchingAgainstContentEncodingHeader, shouldClearExpectationsWithJsonSchemaBody, shouldClearExpectationsWithParameterBody, shouldClearExpectationsWithXPathBody, shouldNotReturnResponseForMatchingBodyParameterWithNotOperator, shouldNotReturnResponseForMatchingBodyWithNotOperator, shouldNotReturnResponseForMatchingCookieWithNotOperator, shouldNotReturnResponseForMatchingHeaderWithNotOperator, shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator, shouldNotReturnResponseForNonMatchingBodyParameterName, shouldNotReturnResponseForNonMatchingBodyParameterValue, shouldNotReturnResponseForNonMatchingCookieName, shouldNotReturnResponseForNonMatchingCookieValue, shouldNotReturnResponseForNonMatchingHeaderName, shouldNotReturnResponseForNonMatchingHeaderValue, shouldNotReturnResponseForNonMatchingJsonBody, shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType, shouldNotReturnResponseForNonMatchingJsonPathBody, shouldNotReturnResponseForNonMatchingJsonSchema, shouldNotReturnResponseForNonMatchingQueryStringParameterName, shouldNotReturnResponseForNonMatchingQueryStringParameterValue, shouldNotReturnResponseForNonMatchingXmlBody, shouldNotReturnResponseForNonMatchingXPathBody, shouldRetrieveRecordedExpectationsAsJson, shouldRetrieveRecordedRequestsAsJsonWithJsonBody, shouldRetrieveRecordedRequestsAsLogEntries, shouldReturnJsonResponseWithJsonWithUTF8, shouldReturnMatchRequestWithBodyInUTF16, shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader, shouldReturnPDFResponseByMatchingBinaryPDFBody, shouldReturnPDFResponseByMatchingPath, shouldReturnPNGResponseByMatchingBinaryPNGBody, shouldReturnPNGResponseByMatchingPath, shouldReturnResponseByMatchingBodyWithJsonAsRawBody, shouldReturnResponseByMatchingBodyWithJsonPath, shouldReturnResponseByMatchingBodyWithJsonSchema, shouldReturnResponseByMatchingBodyWithJsonWithBlankFields, shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF16, shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeaderAndCharsetUTF16, shouldReturnResponseByMatchingBodyWithJsonWithMatchType, shouldReturnResponseByMatchingBodyWithJsonWithNoCharset, shouldReturnResponseByMatchingBodyWithJsonWithSpecialCharactersDefaultingToUTF8, shouldReturnResponseByMatchingBodyWithJsonWithUTF8, shouldReturnResponseByMatchingBodyWithSpaceDelimitedParameters, shouldReturnResponseByMatchingBodyWithXmlSchema, shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath, shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersAndCharset, shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent, shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersDefaultingToUTF8, shouldReturnResponseByMatchingBodyWithXPath, shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchByKey, shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchDefault, shouldReturnResponseByMatchingNotExactBody, shouldReturnResponseByMatchingNotRegexBody, shouldReturnResponseByMatchingNotSubStringBody, shouldReturnResponseByMatchingOptionalBody, shouldReturnResponseByMatchingOptionalHeaderWithEitherOr, shouldReturnResponseByMatchingOptionalParameterBody, shouldReturnResponseByMatchingPathAndMethodAndBody, shouldReturnResponseByMatchingPathAndMethodAndBodyParameters, shouldReturnResponseByMatchingPathAndMethodAndCookies, shouldReturnResponseByMatchingPathAndMethodAndHeaders, shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters, shouldReturnResponseByMatchingPathParametersWithMatrixStyleParameters, shouldReturnResponseByMatchingQueryParametersWithPipeDelimitedParameters, shouldReturnResponseByMatchingSubStringBody, shouldReturnResponseByMatchingVeryLargeHeader, shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName, shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue, shouldReturnResponseByNotMatchingCookieWithNotOperatorForName, shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue, shouldReturnResponseForRequestInSsl, shouldReturnResponseForRequestNotInSsl, shouldReturnResponseWithBodyInUTF16, shouldReturnResponseWithBodyInUTF8WithContentTypeHeader, shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader, shouldReturnXmlResponseWithUTF8, shouldVerifyNoMatchingRequestsReceivedInSsl, shouldVerifyReceivedRequestInSsl, shouldVerifyReceivedRequestsWithRegexBodyMethods inherited from class org.mockserver.testing.integration.mock.AbstractBasicMockingSameJVMIntegrationTest
shouldAllowSimultaneousForwardAndResponseExpectations, shouldClearExpectationsAndLogsByOpenAPIUrl, shouldForwardCallbackClassToOverrideRequestAndResponseInTestClasspath, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsClass, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsString, shouldForwardCallbackClassWithDelay, shouldNotReturnResponseForNonMatchingOpenAPIUrl, shouldRetrieveRecordedRequestsByOpenAPIUrl, shouldReturnResponseByMatchingOpenAPIExpectationWithUrl, shouldReturnResponseByMatchingOpenAPIUrlWithOperationId, shouldReturnResponseByMatchingOpenAPIUrlWithoutOperationId, shouldReturnResponseForCallbackClassForSpecifiedClassWithPrecannedResponse, shouldReturnResponseForCallbackClassWithDelay, shouldVerifyNotEnoughRequestsReceivedWithOpenAPIUrl, shouldVerifySequenceOfRequestsReceivedByOpenAPIUrl, supportsHTTP2Methods inherited from class org.mockserver.testing.integration.mock.AbstractBasicMockingIntegrationTest
localNotFoundResponse, shouldClearExpectationsAndLogsByOpenAPI, shouldForwardOverriddenRequest, shouldForwardOverriddenRequestWithDelay, shouldForwardOverriddenRequestWithEmptyRequestAndResponseModifiers, shouldForwardOverriddenRequestWithOverriddenResponse, shouldForwardOverriddenRequestWithRequestAndResponseModifiers, shouldForwardOverriddenRequestWithRequestModifier, shouldForwardOverriddenRequestWithSocketAddress, shouldForwardRequestInHTTP, shouldForwardRequestInHTTPS, shouldForwardRequestInHTTPWithDelay, shouldForwardTemplateInMustache, shouldForwardTemplateInVelocity, shouldNotReturnResponseForNonMatchingBody, shouldNotReturnResponseForNonMatchingOpenAPI, shouldNotReturnResponseForNonMatchingPath, shouldNotReturnResponseForNottedHeader, shouldRetrieveRecordedExpectations, shouldRetrieveRecordedLogMessages, shouldRetrieveRecordedRequestsAndResponse, shouldRetrieveRecordedRequestsByOpenAPI, shouldReturnResponseByMatchingNotBody, shouldReturnResponseByMatchingOpenAPIExpectationWithArrayParametersWithSpecAndResponse, shouldReturnResponseByMatchingOpenAPIExpectationWithContentTypeWithSpecialCharacters, shouldReturnResponseByMatchingOpenAPIExpectationWithSpecAndResponse, shouldReturnResponseByMatchingOpenAPISpecWithOperationId, shouldReturnResponseByMatchingSchemaHeaderCookieAndParameter, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromMustacheTemplate, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseInHTTP, shouldReturnResponseInHTTP_1_1ByDefault, shouldReturnResponseInHTTP2UsingALPN, shouldReturnResponseInHTTPS, shouldSupportBatchedExpectations, shouldVerifyNotEnoughRequestsReceivedWithOpenAPI, shouldVerifyNotReceivedRequestWithEmptyBody, shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps, shouldVerifySequenceOfRequestsReceivedByOpenAPIMethods inherited from class org.mockserver.testing.integration.mock.AbstractTransportDecodeSmokeIntegrationTest
decodeSmoke_binaryPngBody, decodeSmoke_contentEncodingGzip, decodeSmoke_jsonBody, decodeSmoke_multiValueHeader, decodeSmoke_parameterBody, decodeSmoke_utf16Body, decodeSmoke_xmlBodyViaXPath, supportsRequestBodyDecompressionMethods inherited from class org.mockserver.testing.integration.mock.AbstractMockingIntegrationTestBase
addContextToPath, authorisationHeader, calculatePath, createClientAndEventLoopGroup, filterHeaders, getHeadersToRemove, getRequestModifier, getServerPort, getServerSecurePort, isSecureControlPlane, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches, verifyRequestsMatches
-
Constructor Details
-
AbstractExtendedSameJVMMockingIntegrationTest
public AbstractExtendedSameJVMMockingIntegrationTest()
-
-
Method Details
-
shouldCallbackToSpecifiedClassWithDynamicResponse
public void shouldCallbackToSpecifiedClassWithDynamicResponse() -
shouldReturnResponseFromJavaScriptTemplate
public void shouldReturnResponseFromJavaScriptTemplate() -
shouldForwardTemplateInJavaScript
public void shouldForwardTemplateInJavaScript()
-