Package | Description |
---|---|
org.mockserver.client |
Modifier and Type | Method and Description |
---|---|
ForwardChainExpectation |
MockServerClient.when(RequestDefinition requestDefinition)
Specify an unlimited expectation that will respond regardless of the number of matching http
for example:
|
ForwardChainExpectation |
MockServerClient.when(RequestDefinition requestDefinition,
Times times)
Specify a limited expectation that will respond a specified number of times when the http is matched
|
ForwardChainExpectation |
MockServerClient.when(RequestDefinition requestDefinition,
Times times,
TimeToLive timeToLive)
Specify a limited expectation that will respond a specified number of times when the http is matched
|
ForwardChainExpectation |
MockServerClient.when(RequestDefinition requestDefinition,
Times times,
TimeToLive timeToLive,
Integer priority)
Specify a limited expectation that will respond a specified number of times when the http is matched and will be matched according to priority as follows:
|
ForwardChainExpectation |
ForwardChainExpectation.withId(String id)
Set id of this expectation which can be used to update this expectation
later or for clearing or verifying by expectation id.
|
ForwardChainExpectation |
ForwardChainExpectation.withPriority(int priority)
Set priority of this expectation which is used to determin the matching
order of expectations when a request is received.
|
Copyright © 2022. All rights reserved.