public abstract class AbstractExtendedMockingIntegrationTest extends AbstractBasicMockingSameJVMIntegrationTest
clientEventLoopGroup, HEADERS_TO_IGNORE, httpClient, insecureEchoServer, MOCK_SERVER_LOGGER, mockServerClient, secureEchoServer, servletContext| Constructor and Description | 
|---|
AbstractExtendedMockingIntegrationTest()  | 
shouldAllowSimultaneousForwardAndResponseExpectations, shouldClearExpectationsAndLogsByOpenAPIUrl, shouldForwardCallbackClassToOverrideRequestAndResponseInTestClasspath, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsClass, shouldForwardCallbackClassToOverrideRequestInTestClasspathAsString, shouldForwardCallbackClassWithDelay, shouldNotReturnResponseForNonMatchingOpenAPIUrl, shouldRetrieveRecordedRequestsByOpenAPIUrl, shouldReturnResponseByMatchingOpenAPIExpectationWithUrl, shouldReturnResponseByMatchingOpenAPIUrlWithOperationId, shouldReturnResponseByMatchingOpenAPIUrlWithoutOperationId, shouldReturnResponseForCallbackClassForSpecifiedClassWithPrecannedResponse, shouldReturnResponseForCallbackClassWithDelay, shouldVerifyNotEnoughRequestsReceivedWithOpenAPIUrl, shouldVerifySequenceOfRequestsReceivedByOpenAPIUrllocalNotFoundResponse, 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, shouldReturnResponseByMatchingOpenAPIExpectationWithSpecAndResponse, shouldReturnResponseByMatchingOpenAPISpecWithOperationId, shouldReturnResponseByMatchingPathAndMethod, shouldReturnResponseByMatchingSchemaHeaderCookieAndParameter, shouldReturnResponseByMatchingSchemaPathAndSchemaMethod, shouldReturnResponseByMatchingSchemaPathVariable, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromMustacheTemplate, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseInHttpAndHttps, shouldReturnResponseWithOnlyBody, shouldReturnResponseWithOnlyStatusCode, shouldSupportBatchedExpectations, shouldVerifyNoRequestsReceived, shouldVerifyNotEnoughRequestsReceived, shouldVerifyNotEnoughRequestsReceivedWithMaximumNumberOfRequestToReturnInFailure, shouldVerifyNotEnoughRequestsReceivedWithOpenAPI, shouldVerifyNotReceivedRequestWithEmptyBody, shouldVerifyReceivedRequestsByExpectationId, shouldVerifyReceivedRequestsByExpectationIdWithIdenticalRequestMatchers, shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps, shouldVerifySequenceNotFoundWithMaximumNumberOfRequestToReturnInFailure, shouldVerifySequenceOfRequestsReceived, shouldVerifySequenceOfRequestsReceivedByExceptionId, shouldVerifySequenceOfRequestsReceivedByExceptionIdWithIdenticalRequestMatchers, shouldVerifySequenceOfRequestsReceivedByOpenAPIaddContextToPath, authorisationHeader, calculatePath, createClientAndEventLoopGroup, filterHeaders, getServerPort, getServerSecurePort, isSecureControlPlane, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches, verifyRequestsMatchespublic AbstractExtendedMockingIntegrationTest()
public static void fixTime()
public void shouldReturnResponseForRequestInSsl()
public void shouldReturnResponseForRequestNotInSsl()
public void shouldReturnResponseByMatchingPath()
public void shouldReturnResponseByMatchingPathExactTimes()
public void shouldReturnResponseByMatchingOptionalSchemaQueryStringParameter()
public void shouldReturnResponseByMatchingOptionalHeaderWithEitherOr()
public void shouldReturnResponseByMatchingHeaderNotPresent()
public void shouldReturnResponseByMatchingOptionalBody()
public void shouldReturnResponseByMatchingBodyWithSpaceDelimitedParameters()
public void shouldReturnResponseByMatchingOptionalParameterBody()
public void shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchDefault()
public void shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchByKey()
public void shouldReturnResponseByMatchingPathInOrderOfCreationExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfCreationBeforeExpiry()
                                                                     throws InterruptedException
InterruptedExceptionpublic void shouldReturnResponseByMatchingPathInOrderOfPriorityExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfPriorityWithNegativePriorities()
public void shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdate()
public void shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdateAndExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfInsertionAfterUpdate()
public void shouldUpdateExistingExpectation()
public void shouldReturnResponseWhenTimeToLiveHasNotExpired()
public void shouldReturnMatchRequestWithBodyInUTF16()
public void shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader()
public void shouldReturnResponseWithBodyInUTF16()
public void shouldReturnResponseWithBodyInUTF8WithContentTypeHeader()
public void shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader()
public void shouldReturnResponseByMatchingSubStringBody()
public void shouldReturnResponseByMatchingNotRegexBody()
public void shouldReturnResponseByMatchingNotSubStringBody()
public void shouldReturnResponseByMatchingNotExactBody()
public void shouldReturnResponseByMatchingBodyWithXPath()
public void shouldReturnResponseByMatchingBodyWithXmlSchema()
public void shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath()
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersDefaultingToUTF8()
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersAndCharset()
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent()
public void shouldReturnXmlResponseWithUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonWithSpecialCharactersDefaultingToUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonAsRawBody()
public void shouldReturnResponseByMatchingBodyWithJsonWithBlankFields()
public void shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF16()
public void shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeaderAndCharsetUTF16()
public void shouldReturnResponseByMatchingBodyWithJsonWithUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonWithNoCharset()
public void shouldReturnJsonResponseWithJsonWithUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonWithMatchType()
public void shouldReturnResponseByMatchingBodyWithJsonSchema()
public void shouldReturnResponseByMatchingBodyWithJsonPath()
public void shouldReturnPDFResponseByMatchingPath()
                                           throws IOException
IOExceptionpublic void shouldReturnPNGResponseByMatchingPath()
                                           throws IOException
IOExceptionpublic void shouldReturnPDFResponseByMatchingBinaryPDFBody()
                                                    throws IOException
IOExceptionpublic void shouldReturnPNGResponseByMatchingBinaryPNGBody()
                                                    throws IOException
IOExceptionpublic void shouldReturnResponseByNotMatchingPathWithNotOperator()
public void shouldReturnResponseByNotMatchingMethodWithNotOperator()
public void shouldReturnResponseByMatchingPathAndMethodAndBody()
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters()
public void shouldReturnResponseByMatchingPathAndMethodAndHeaders()
public void shouldReturnResponseByMatchingPathAndMethodAndCookies()
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters()
public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody()
public void shouldReturnResponseByMatchingPathAndMethodAndBodyParameters()
public void shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies()
public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName()
public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue()
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue()
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName()
public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue()
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue()
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForName()
public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue()
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue()
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName()
public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue()
public void shouldNotReturnResponseForWhenTimeToLiveExpired()
public void shouldNotReturnResponseForMatchingBodyWithNotOperator()
public void shouldNotReturnResponseForNonMatchingXPathBody()
public void shouldNotReturnResponseForNonMatchingXmlBody()
public void shouldNotReturnResponseForNonMatchingJsonBody()
public void shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType()
public void shouldNotReturnResponseForNonMatchingJsonSchema()
public void shouldNotReturnResponseForNonMatchingJsonPathBody()
public void shouldNotReturnResponseForMatchingPathWithNotOperator()
public void shouldNotReturnResponseForMatchingMethodWithNotOperator()
public void shouldNotReturnResponseForNonMatchingBodyParameterName()
public void shouldNotReturnResponseForMatchingBodyParameterWithNotOperator()
public void shouldNotReturnResponseForNonMatchingBodyParameterValue()
public void shouldNotReturnResponseForNonMatchingQueryStringParameterName()
public void shouldNotReturnResponseForNonMatchingQueryStringParameterValue()
public void shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator()
public void shouldNotReturnResponseForNonMatchingCookieName()
public void shouldNotReturnResponseForNonMatchingCookieValue()
public void shouldNotReturnResponseForMatchingCookieWithNotOperator()
public void shouldNotReturnResponseForNonMatchingHeaderName()
public void shouldNotReturnResponseForNonMatchingHeaderValue()
public void shouldNotReturnResponseForMatchingHeaderWithNotOperator()
public void shouldVerifyReceivedRequestInSsl()
public void shouldVerifyReceivedRequestsWithRegexBody()
public void shouldVerifyReceivedRequestsWithNoBody()
public void shouldVerifyReceivedRequestsWithNoMatchingExpectation()
public void shouldVerifyTooManyRequestsReceived()
public void shouldVerifyNoMatchingRequestsReceived()
public void shouldNotVerifyNoRequestsReceived()
public void shouldVerifyNoMatchingRequestsReceivedInSsl()
public void shouldVerifySequenceOfRequestsReceivedIncludingThoseNotMatchingAnException()
public void shouldVerifySequenceOfRequestsNotReceived()
public void shouldRetrieveRecordedRequestsAsJson()
public void shouldRetrieveRecordedRequestsAsJsonWithJsonBody()
public void shouldRetrieveRecordedRequestsAsLogEntries()
public void shouldRetrieveActiveExpectationsAsJson()
public void shouldRetrieveActiveExpectationsAsJava()
public void shouldRetrieveRecordedExpectationsAsJson()
public void shouldClearExpectationsOnly()
public void shouldClearExpectationsOnlyByExpectationId()
public void shouldClearExpectationsWithIdenticalRequestMatchersByExpectationId()
public void shouldClearLogsOnly()
public void shouldClearLogsOnlyByExpectationId()
public void shouldClearAllExpectationsWithNull()
public void shouldClearAllExpectationsWithEmptyRequest()
public void shouldClearExpectationsWithXPathBody()
public void shouldClearExpectationsWithJsonSchemaBody()
public void shouldClearExpectationsWithParameterBody()
public void shouldEnsureThatInterruptedRequestsAreVerifiable()
Copyright © 2022. All rights reserved.