Class AbstractExtendedSameJVMMockingIntegrationTest
- java.lang.Object
-
- org.mockserver.testing.integration.mock.AbstractMockingIntegrationTestBase
-
- 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 Constructor Description AbstractExtendedSameJVMMockingIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldCallbackToSpecifiedClassWithDynamicResponse()voidshouldForwardTemplateInJavaScript()voidshouldReturnResponseFromJavaScriptTemplate()-
Methods inherited from class org.mockserver.testing.integration.mock.AbstractExtendedMockingIntegrationTest
fixTime, getRequestTcpPortForPath, shouldClearAllExpectationsWithEmptyRequest, shouldClearAllExpectationsWithNull, shouldClearExpectationsOnly, shouldClearExpectationsOnlyByExpectationId, shouldClearExpectationsWithIdenticalRequestMatchersByExpectationId, shouldClearExpectationsWithJsonSchemaBody, shouldClearExpectationsWithParameterBody, shouldClearExpectationsWithXPathBody, shouldClearLogsOnly, shouldClearLogsOnlyByExpectationId, shouldEnsureThatInterruptedRequestsAreVerifiable, shouldEnsureThatRequestDelaysDoNotAffectOtherRequests, shouldNotReturnResponseForMatchingBodyParameterWithNotOperator, shouldNotReturnResponseForMatchingBodyWithNotOperator, shouldNotReturnResponseForMatchingCookieWithNotOperator, shouldNotReturnResponseForMatchingHeaderWithNotOperator, shouldNotReturnResponseForMatchingMethodWithNotOperator, shouldNotReturnResponseForMatchingPathWithNotOperator, shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator, shouldNotReturnResponseForNonMatchingBodyParameterName, shouldNotReturnResponseForNonMatchingBodyParameterValue, shouldNotReturnResponseForNonMatchingCookieName, shouldNotReturnResponseForNonMatchingCookieValue, shouldNotReturnResponseForNonMatchingHeaderName, shouldNotReturnResponseForNonMatchingHeaderValue, shouldNotReturnResponseForNonMatchingJsonBody, shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType, shouldNotReturnResponseForNonMatchingJsonPathBody, shouldNotReturnResponseForNonMatchingJsonSchema, shouldNotReturnResponseForNonMatchingQueryStringParameterName, shouldNotReturnResponseForNonMatchingQueryStringParameterValue, shouldNotReturnResponseForNonMatchingXmlBody, shouldNotReturnResponseForNonMatchingXPathBody, shouldNotReturnResponseForWhenTimeToLiveExpired, shouldNotVerifyNoRequestsReceived, shouldRemoveExpiredTimeToLiveFromActiveExpectations, shouldRetrieveActiveExpectationsAsJava, shouldRetrieveActiveExpectationsAsJson, shouldRetrieveRecordedExpectationsAsJson, shouldRetrieveRecordedRequestsAsJson, 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, shouldReturnResponseByMatchingHeaderNotPresent, shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchByKey, shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchDefault, shouldReturnResponseByMatchingNotExactBody, shouldReturnResponseByMatchingNotRegexBody, shouldReturnResponseByMatchingNotSubStringBody, shouldReturnResponseByMatchingOptionalBody, shouldReturnResponseByMatchingOptionalHeaderWithEitherOr, shouldReturnResponseByMatchingOptionalParameterBody, shouldReturnResponseByMatchingOptionalSchemaQueryStringParameter, shouldReturnResponseByMatchingPath, shouldReturnResponseByMatchingPathAndMethodAndBody, shouldReturnResponseByMatchingPathAndMethodAndBodyParameters, shouldReturnResponseByMatchingPathAndMethodAndCookies, shouldReturnResponseByMatchingPathAndMethodAndHeaders, shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody, shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters, shouldReturnResponseByMatchingPathExactTimes, shouldReturnResponseByMatchingPathInOrderOfCreationBeforeExpiry, shouldReturnResponseByMatchingPathInOrderOfCreationExactTimes, shouldReturnResponseByMatchingPathInOrderOfInsertionAfterUpdate, shouldReturnResponseByMatchingPathInOrderOfPriorityExactTimes, shouldReturnResponseByMatchingPathInOrderOfPriorityWithNegativePriorities, shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdate, shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdateAndExactTimes, shouldReturnResponseByMatchingSubStringBody, shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName, shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue, shouldReturnResponseByNotMatchingCookieWithNotOperatorForName, shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue, shouldReturnResponseByNotMatchingMethodWithNotOperator, shouldReturnResponseByNotMatchingPathWithNotOperator, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue, shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue, shouldReturnResponseForRequestInSsl, shouldReturnResponseForRequestNotInSsl, shouldReturnResponseWhenTimeToLiveHasNotExpired, shouldReturnResponseWithBodyInUTF16, shouldReturnResponseWithBodyInUTF8WithContentTypeHeader, shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader, shouldReturnXmlResponseWithUTF8, shouldUpdateExistingExpectation, shouldVerifyNoMatchingRequestsReceived, shouldVerifyNoMatchingRequestsReceivedInSsl, shouldVerifyReceivedRequestInSsl, shouldVerifyReceivedRequestsWithNoBody, shouldVerifyReceivedRequestsWithNoMatchingExpectation, shouldVerifyReceivedRequestsWithRegexBody, shouldVerifySequenceOfRequestsNotReceived, shouldVerifySequenceOfRequestsReceivedIncludingThoseNotMatchingAnException, shouldVerifyTooManyRequestsReceived
-
Methods inherited from class org.mockserver.testing.integration.mock.AbstractBasicMockingSameJVMIntegrationTest
shouldAllowSimultaneousForwardAndResponseExpectations, shouldClearExpectationsAndLogsByOpenAPIUrl, shouldForwardCallbackClassToOverrideRequestAndResponseInTestClasspath, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsClass, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsString, shouldForwardCallbackClassWithDelay, shouldNotReturnResponseForNonMatchingOpenAPIUrl, shouldRetrieveRecordedRequestsByOpenAPIUrl, shouldReturnResponseByMatchingOpenAPIExpectationWithUrl, shouldReturnResponseByMatchingOpenAPIUrlWithOperationId, shouldReturnResponseByMatchingOpenAPIUrlWithoutOperationId, shouldReturnResponseForCallbackClassForSpecifiedClassWithPrecannedResponse, shouldReturnResponseForCallbackClassWithDelay, shouldVerifyNotEnoughRequestsReceivedWithOpenAPIUrl, shouldVerifySequenceOfRequestsReceivedByOpenAPIUrl, supportsHTTP2
-
Methods inherited from class org.mockserver.testing.integration.mock.AbstractBasicMockingIntegrationTest
localNotFoundResponse, shouldClearExpectationsAndLogs, shouldClearExpectationsAndLogsByOpenAPI, shouldErrorForInvalidExpectation, shouldErrorForInvalidRequest, shouldForwardOverriddenRequest, shouldForwardOverriddenRequestWithDelay, shouldForwardOverriddenRequestWithEmptyRequestAndResponseModifiers, shouldForwardOverriddenRequestWithOverriddenResponse, shouldForwardOverriddenRequestWithRequestAndResponseModifiers, shouldForwardOverriddenRequestWithRequestModifier, shouldForwardOverriddenRequestWithSocketAddress, shouldForwardRequestInHTTP, shouldForwardRequestInHTTPS, shouldForwardRequestInHTTPWithDelay, shouldForwardTemplateInMustache, shouldForwardTemplateInVelocity, shouldNotReturnResponseForNonMatchingBody, shouldNotReturnResponseForNonMatchingOpenAPI, shouldNotReturnResponseForNonMatchingPath, shouldNotReturnResponseForNottedHeader, shouldReset, shouldRetrieveActiveExpectations, shouldRetrieveRecordedExpectations, shouldRetrieveRecordedLogMessages, shouldRetrieveRecordedRequests, shouldRetrieveRecordedRequestsAndResponse, shouldRetrieveRecordedRequestsByOpenAPI, shouldReturnResponseByMatchingNotBody, shouldReturnResponseByMatchingOpenAPIExpectationWithArrayParametersWithSpecAndResponse, shouldReturnResponseByMatchingOpenAPIExpectationWithContentTypeWithSpecialCharacters, shouldReturnResponseByMatchingOpenAPIExpectationWithSpecAndResponse, shouldReturnResponseByMatchingOpenAPISpecWithOperationId, shouldReturnResponseByMatchingPathAndMethod, shouldReturnResponseByMatchingSchemaHeaderCookieAndParameter, shouldReturnResponseByMatchingSchemaPathAndSchemaMethod, shouldReturnResponseByMatchingSchemaPathVariable, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromMustacheTemplate, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseInHTTP, shouldReturnResponseInHTTP_1_1ByDefault, shouldReturnResponseInHTTP2UsingALPN, shouldReturnResponseInHTTPS, shouldReturnResponseWithOnlyBody, shouldReturnResponseWithOnlyStatusCode, shouldSupportBatchedExpectations, shouldVerifyNoRequestsReceived, shouldVerifyNotEnoughRequestsReceived, shouldVerifyNotEnoughRequestsReceivedWithMaximumNumberOfRequestToReturnInFailure, shouldVerifyNotEnoughRequestsReceivedWithOpenAPI, shouldVerifyNotReceivedRequestWithEmptyBody, shouldVerifyReceivedRequestsByExpectationId, shouldVerifyReceivedRequestsByExpectationIdWithIdenticalRequestMatchers, shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps, shouldVerifySequenceNotFoundWithMaximumNumberOfRequestToReturnInFailure, shouldVerifySequenceOfRequestsReceived, shouldVerifySequenceOfRequestsReceivedByExceptionId, shouldVerifySequenceOfRequestsReceivedByExceptionIdWithIdenticalRequestMatchers, shouldVerifySequenceOfRequestsReceivedByOpenAPI
-
Methods 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
-
-
-
-
Method Detail
-
shouldCallbackToSpecifiedClassWithDynamicResponse
public void shouldCallbackToSpecifiedClassWithDynamicResponse()
-
shouldReturnResponseFromJavaScriptTemplate
public void shouldReturnResponseFromJavaScriptTemplate()
-
shouldForwardTemplateInJavaScript
public void shouldForwardTemplateInJavaScript()
-
-