mock_route
Intercept and mock network requests matching a specified URL pattern to control responses during testing.
Instructions
Mock network requests matching url_pattern
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url_pattern | Yes | ||
| status | No | ||
| body | No | {} | |
| content_type | No | application/json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |