Package | Description |
---|---|
org.mockserver.client |
Modifier and Type | Method and Description |
---|---|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest)
Specify an unlimited expectation that will respond regardless of the number of matching http
for example:
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest,
Times times)
Specify a limited expectation that will respond a specified number of times when the http is matched
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest,
Times times,
TimeToLive timeToLive)
Specify a limited expectation that will respond a specified number of times when the http is matched
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest,
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:
|
Copyright © 2020. All rights reserved.