run_resiliency_test
Run resiliency tests against an API using its OpenAPI spec to validate handling of contract-invalid requests via boundary condition testing.
Instructions
Run Specmatic resiliency tests with boundary condition testing against an API using OpenAPI specification. This enables SPECMATIC_GENERATIVE_TESTS to test how the API handles contract-invalid requests
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"openApiSpec": "<openApiSpec>",
"apiBaseUrl": "<apiBaseUrl>"
},
"name": "run_resiliency_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openApiSpec | Yes | The OpenAPI specification content (YAML or JSON) | |
| apiBaseUrl | Yes | The base URL of the API to test against | |
| specFormat | No | Format of the OpenAPI spec | yaml |