schemathesis-fuzzinglisted
Install: claude install-skill testland/qa
# schemathesis-fuzzing
## Overview
Schemathesis is a property-based API testing tool that "automatically
generates property-based tests from your OpenAPI or GraphQL schema
and exercises the edge cases that break your API"
([schemathesis-readme][readme]). The schema is the **single source of
truth** - every endpoint, parameter, and response shape becomes a
generator that produces hundreds of targeted variations per run.
[readme]: https://github.com/schemathesis/schemathesis
This is **complementary** to example-based API testing
(`postman-collections`,
`tavern-testing`,
`restassured-testing`,
`karate-testing`) - example-based tests
verify happy paths; Schemathesis attacks the boundaries the team
forgot.
## When to use
- The repo has an OpenAPI 2.0 / 3.0 / 3.1 / 3.2 spec or a GraphQL
schema (June 2018+).
- The team wants automatic test coverage of new endpoints without
authoring per-endpoint tests.
- Negative-scenario coverage ("what happens with a malformed
request?") is missing or thin.
- A CI gate on **5xx responses** (any unexpected server error) is
desired.
If the API has no schema, Schemathesis cannot help - generate a
schema first (FastAPI, Flask-Smorest, NestJS Swagger, dropwizard, or
hand-author a spec), then return.
## How to use
1. Confirm the API ships an OpenAPI 2/3.x or GraphQL schema (see When to use).
2. Install the CLI (`pip install schemathesis`, or `uvx` for a one-off run).
3. Run `schemathesis run <schema>` against **staging** with the defaul