public abstract class AbstractExtendedMockingIntegrationTest extends AbstractBasicMockingIntegrationTest
headersToIgnore, mockServerClient, servletContext
Constructor and Description |
---|
AbstractExtendedMockingIntegrationTest() |
shouldAllowSimultaneousForwardAndResponseExpectations, shouldCallbackForForwardToSpecifiedClassWithPrecannedResponse, shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse, shouldClearExpectationsAndLogs, shouldForwardOverriddenRequest, shouldForwardRequestInHTTP, shouldForwardRequestInHTTPS, shouldForwardTemplateInVelocity, shouldNotReturnResponseForNonMatchingBody, shouldNotReturnResponseForNonMatchingPath, shouldReset, shouldRetrieveActiveExpectations, shouldRetrieveRecordedExpectations, shouldRetrieveRecordedLogMessages, shouldRetrieveRecordedRequests, shouldReturnErrorForInvalidExpectation, shouldReturnErrorForInvalidRequest, shouldReturnResponseByMatchingPathAndMethod, shouldReturnResponseByMatchingStringBody, shouldReturnResponseForExpectationWithDelay, shouldReturnResponseFromVelocityTemplate, shouldReturnResponseWithOnlyBody, shouldReturnResponseWithOnlyStatusCode, shouldSupportBatchedExpectations, shouldVerifyNoRequestsReceived, shouldVerifyNotEnoughRequestsReceived, shouldVerifyReceivedRequests, shouldVerifySequenceOfRequestsReceived
calculatePath, getEchoServerPort, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, verifyRequestsMatches
public AbstractExtendedMockingIntegrationTest()
public void shouldReturnResponseForRequestInSsl()
public void shouldReturnResponseForRequestNotInSsl()
public void shouldReturnResponseByMatchingPath()
public void shouldReturnResponseByMatchingPathExactTimes()
public void shouldReturnResponseWhenTimeToLiveHasNotExpired()
public void shouldReturnMatchRequestWithBodyInUTF16()
public void shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader()
public void shouldReturnResponseWithBodyInUTF16()
public void shouldReturnResponseWithBodyInUTF8WithContentTypeHeader()
public void shouldReturnResponseByMatchingSubStringBody()
public void shouldReturnResponseByMatchingBodyWithXPath()
public void shouldReturnResponseByMatchingBodyWithXml()
public void shouldReturnResponseByMatchingBodyWithJson()
public void shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF8()
public void shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeader()
public void shouldReturnResponseByMatchingBodyWithJsonWithMatchType()
public void shouldReturnResponseByMatchingBodyWithJsonSchema()
public void shouldReturnResponseByMatchingBodyWithXmlSchema()
public void shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath()
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 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 shouldVerifyTooManyRequestsReceived()
public void shouldVerifyNoMatchingRequestsReceived()
public void shouldNotVerifyNoRequestsReceived()
public void shouldVerifyNoMatchingRequestsReceivedInSsl()
public void shouldVerifySequenceOfRequestsReceivedIncludingThoseNotMatchingAnException()
public void shouldVerifySequenceOfRequestsNotReceived()
public void shouldRetrieveRecordedRequestsAsJson()
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() throws Exception
Exception
Copyright © 2018. All rights reserved.