route
Stub or block HTTP requests matching a URL pattern to control responses during testing. Requests are recorded as actions, not replay steps, until unrouted.
Instructions
Stub or block requests matching a URL pattern (testing). The stub persists until unroute; the call is recorded as an action, never part of a replay path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| abort | No | ||
| status | No | ||
| pattern | Yes | ||
| content_type | No | application/json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |