mockserver_create_expectation
Create a mock HTTP expectation by defining request matching criteria and the response to return for testing APIs.
Instructions
Create a mock HTTP expectation on MockServer. Define request matching criteria and the response to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional expectation identifier | |
| times | No | How many times this expectation should be matched | |
| timeToLive | No | How long this expectation should remain active | |
| httpRequest | Yes | Request matching criteria (method, path, headers, body, etc.) | |
| httpResponse | No | Response configuration |