public abstract class AbstractExtendedMockingIntegrationTest extends AbstractBasicMockingIntegrationTest
headersToIgnore, insecureEchoServer, mockServerClient, secureEchoServer, servletContext
Constructor and Description |
---|
AbstractExtendedMockingIntegrationTest() |
shouldAllowSimultaneousForwardAndResponseExpectations, shouldCallbackClassForForwardWithDelay, shouldCallbackClassForResponseForExpectationWithDelay, shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse, shouldCallbackForwardCallbackToOverrideRequestAndResponseInTestClasspath, shouldCallbackForwardCallbackToOverrideRequestInTestClasspath, shouldClearExpectationsAndLogs, shouldForwardOverriddenRequest, shouldForwardOverriddenRequestWithDelay, shouldForwardOverriddenRequestWithOverriddenResponse, shouldForwardOverriddenRequestWithSocketAddress, shouldForwardRequestInHTTP, shouldForwardRequestInHTTPS, shouldForwardRequestInHTTPWithDelay, shouldForwardTemplateInVelocity, shouldNotReturnResponseForNonMatchingBody, shouldNotReturnResponseForNonMatchingPath, shouldReset, shouldRetrieveActiveExpectations, shouldRetrieveRecordedExpectations, shouldRetrieveRecordedLogMessages, shouldRetrieveRecordedRequests, shouldReturnErrorForInvalidExpectation, shouldReturnErrorForInvalidRequest, shouldReturnResponseByMatchingNotBody, shouldReturnResponseByMatchingPathAndMethod, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseInHttpAndHttps, shouldReturnResponseWithOnlyBody, shouldReturnResponseWithOnlyStatusCode, shouldSupportBatchedExpectations, shouldVerifyNoRequestsReceived, shouldVerifyNotEnoughRequestsReceived, shouldVerifyNotReceivedRequestWithEmptyBody, shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps, shouldVerifySequenceOfRequestsReceived
calculatePath, createClientAndEventLoopGroup, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches
public AbstractExtendedMockingIntegrationTest()
public static void fixTime()
public void shouldReturnResponseForRequestInSsl()
public void shouldReturnResponseForRequestNotInSsl()
public void shouldReturnResponseByMatchingPath()
public void shouldReturnResponseByMatchingPathExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfCreationExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfCreationBeforeExpiry() throws InterruptedException
InterruptedException
public void shouldReturnResponseByMatchingPathInOrderOfPriorityExactTimes()
public void shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdate()
public void shouldReturnResponseByMatchingPathInOrderOfPriorityWithPriorityUpdateAndExactTimes()
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 shouldReturnResponseByMatchingBodyWithXml()
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharacters()
public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent()
public void shouldReturnResponseByMatchingBodyWithJson()
public void shouldReturnResponseByMatchingBodyWithJsonAsRawBody()
public void shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeader()
public void shouldReturnResponseByMatchingBodyWithJsonWithMatchType()
public void shouldReturnResponseByMatchingBodyWithJsonSchema()
public void shouldReturnResponseByMatchingBodyWithJsonPath()
public void shouldReturnPDFResponseByMatchingPath() throws IOException
IOException
public void shouldReturnPNGResponseByMatchingPath() throws IOException
IOException
public void shouldReturnPDFResponseByMatchingBinaryPDFBody() throws IOException
IOException
public void shouldReturnPNGResponseByMatchingBinaryPNGBody() throws IOException
IOException
public 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 shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForNameAndValue()
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 shouldRetrieveRecordedRequestsAsLogEntries()
public void shouldRetrieveActiveExpectationsAsJson()
public void shouldRetrieveActiveExpectationsAsJava()
public void shouldRetrieveRecordedExpectationsAsJson()
public void shouldClearExpectationsOnly()
public void shouldClearLogsOnly()
public void shouldClearAllExpectationsWithNull()
public void shouldClearAllExpectationsWithEmptyRequest()
public void shouldClearExpectationsWithXPathBody()
public void shouldClearExpectationsWithJsonSchemaBody()
public void shouldClearExpectationsWithParameterBody()
public void shouldEnsureThatInterruptedRequestsAreVerifiable()
Copyright © 2020. All rights reserved.