generate_test_cases
Generate comprehensive API test cases from OpenAPI specs, covering positive, negative, boundary, auth, security, idempotency, pagination, and business logic scenarios for specific endpoints.
Instructions
Generate QA test cases for a specific API endpoint. Produces positive, negative, boundary, auth, security, idempotency, pagination, and business logic test cases based on the OpenAPI spec.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Swagger/OpenAPI spec source: URL (https://...) or local file path (/path/to/spec.json, ./spec.yaml) | |
| path | Yes | Endpoint path, e.g. /api/orders | |
| method | Yes | HTTP method | |
| auth_header | No | Authorization header value, e.g. "Bearer eyJ..." or "Basic dXNlcjpwYXNz" | |
| headers | No | Additional HTTP headers as key-value pairs, e.g. {"X-API-Key": "abc123"} | |
| config | No | Generation configuration options |