Description
Schemathesis is a testing tool that catches API bugs before your users do. It tests OpenAPI and GraphQL APIs by generating inputs from your schema, adapting to server responses, and chaining operations into realistic workflows. The problems it looks for include 500 errors on edge-case inputs, responses that do not match the documented schema, validation bypasses that accept invalid data, integration failures where responses do not match what clients expect, stateful bugs that only appear across several operations, and broken object-level authorization where one user can read another user's objects. It is configured with a schemathesis.toml file for authentication, phases and per-operation overrides, with no Python code needed. Authentication can use static headers, Basic auth, per-security-scheme credentials or custom refresh logic. Reports are offline HTML pages that list every failure with its curl command, and JUnit and VCR output are also available. Schemathesis sends real requests that create, change and delete data, so the project advises pointing it at a dev or staging environment, not production.…
Highlights
- Generates API tests from OpenAPI and GraphQL schemas
- Finds 500 errors, schema violations and broken authorization
- Stateful workflows linked from the schema
- Offline HTML reports with curl commands
Ratings & Reviews
No ratings yet
Be the first to rate Schemathesis.
People also visit
Schemathesis FAQ
What does Schemathesis test?
OpenAPI and GraphQL APIs, by generating inputs from the schema and chaining operations into workflows.
Should I run it against production?
No. It sends real requests that create, change and delete data, so the project recommends a dev or staging environment.
How do I configure it?
With a schemathesis.toml file for authentication, phases and per-operation overrides, without writing Python.
Does it produce reports?
Yes. An offline HTML page lists every failure with its curl command, and JUnit and VCR output are also available.
What are the best Schemathesis alternatives?
Popular alternatives to Schemathesis include Apimesh, Wiretap and Just API. See all Schemathesis alternatives




.png?auto=compress&fit=max&w=128)


