Skip to content
All Skills

API Test Generator

Generates comprehensive API test suites from OpenAPI specs or endpoints. Prerequisites: curl, jq.

Testing|v1|Updated 5/19/2026
MCP get_skill({ skillId: "api-test-generator-9513e4a0" })

Use this skill with your agent

Create a free account and connect via MCP

Get Started Free
# API Test Generator

## Description
Generate comprehensive test suites for REST APIs.

## Input
- OpenAPI/Swagger spec OR list of endpoints
- Authentication method
- Target test framework (Jest, pytest, xUnit, etc.)

## Generated Tests
1. **Happy path** - Valid requests with expected responses
2. **Validation** - Invalid inputs, missing fields, wrong types
3. **Auth** - Unauthorized, forbidden, expired tokens
4. **Edge cases** - Empty arrays, null values, max lengths
5. **Error handling** - 404s, 500 simulation, timeouts

## Output
Complete test file(s) ready to run with the chosen framework.
#testing#api#automationcurljq