Class RequestPropertiesMatcherExamples
java.lang.Object
org.mockserver.examples.mockserver.RequestPropertiesMatcherExamples
- Author:
- jamesdbloom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
RequestPropertiesMatcherExamples
public RequestPropertiesMatcherExamples()
-
-
Method Details
-
matchRequestByPath
public void matchRequestByPath() -
matchRequestByPathExactlyTwice
public void matchRequestByPathExactlyTwice() -
matchRequestByPathExactlyOnceInTheNext60Seconds
public void matchRequestByPathExactlyOnceInTheNext60Seconds() -
matchRequestByRegexPath
public void matchRequestByRegexPath() -
matchRequestByNotMatchingPath
public void matchRequestByNotMatchingPath() -
matchRequestByMethodRegex
public void matchRequestByMethodRegex() -
matchRequestByNotMatchingMethod
public void matchRequestByNotMatchingMethod() -
matchRequestByPathAndPathParametersAndQueryParametersName
public void matchRequestByPathAndPathParametersAndQueryParametersName() -
matchRequestByPathParameterRegexValue
public void matchRequestByPathParameterRegexValue() -
matchRequestByPathParameterJsonSchemaValue
public void matchRequestByPathParameterJsonSchemaValue() -
matchRequestByQueryParameterRegexName
public void matchRequestByQueryParameterRegexName() -
matchRequestByQueryParameterRegexValue
public void matchRequestByQueryParameterRegexValue() -
matchRequestByOptionalQueryParameterRegexValue
public void matchRequestByOptionalQueryParameterRegexValue() -
matchRequestByQueryParameterJsonSchemaValue
public void matchRequestByQueryParameterJsonSchemaValue() -
matchRequestByQueryParameterSubSet
public void matchRequestByQueryParameterSubSet() -
matchRequestByQueryParameterKeyMatching
public void matchRequestByQueryParameterKeyMatching() -
matchRequestByHeaders
public void matchRequestByHeaders() -
matchRequestByHeaderNameRegex
public void matchRequestByHeaderNameRegex() -
matchRequestByHeaderRegexNameAndValue
public void matchRequestByHeaderRegexNameAndValue() -
matchRequestByHeaderJsonSchemaValue
public void matchRequestByHeaderJsonSchemaValue() -
matchRequestByEitherOrOptionalHeader
public void matchRequestByEitherOrOptionalHeader() -
matchRequestByHeaderKeyMatching
public void matchRequestByHeaderKeyMatching() -
matchRequestByNotMatchingHeaderValue
public void matchRequestByNotMatchingHeaderValue() -
matchRequestByNotMatchingHeaders
public void matchRequestByNotMatchingHeaders() -
matchRequestByCookiesAndQueryParameters
public void matchRequestByCookiesAndQueryParameters() -
matchRequestByCookiesAndQueryParameterJsonSchemaValues
public void matchRequestByCookiesAndQueryParameterJsonSchemaValues() -
matchRequestByOptionalCookiesAndQueryParameterJsonSchemaValues
public void matchRequestByOptionalCookiesAndQueryParameterJsonSchemaValues() -
matchRequestBySubStringBody
public void matchRequestBySubStringBody() -
matchRequestByRegexBody
public void matchRequestByRegexBody() -
matchRequestByBodyInUTF16
public void matchRequestByBodyInUTF16() -
matchRequestByBodyWithFormSubmission
public void matchRequestByBodyWithFormSubmission() -
matchRequestByBodyWithXPath
public void matchRequestByBodyWithXPath() -
matchRequestByNotMatchingBodyWithXPath
public void matchRequestByNotMatchingBodyWithXPath() -
matchRequestByBodyWithXml
public void matchRequestByBodyWithXml() -
matchRequestByBodyWithXmlWithPlaceholders
public void matchRequestByBodyWithXmlWithPlaceholders() -
matchRequestByBodyWithXmlSchema
public void matchRequestByBodyWithXmlSchema() -
matchRequestByBodyWithXmlSchemaByClasspath
public void matchRequestByBodyWithXmlSchemaByClasspath() -
matchRequestByBodyWithJsonExactly
public void matchRequestByBodyWithJsonExactly() -
matchRequestByBodyWithJsonIgnoringExtraFields
public void matchRequestByBodyWithJsonIgnoringExtraFields() -
matchRequestByBodyWithJsonWithPlaceholders
public void matchRequestByBodyWithJsonWithPlaceholders() -
matchRequestByBodyWithJsonSchema
public void matchRequestByBodyWithJsonSchema() -
matchRequestByBodyWithJsonPath
public void matchRequestByBodyWithJsonPath() -
matchRequestByBodyWithBinaryBody
- Throws:
IOException
-
updateExpectationById
public void updateExpectationById()
-