Schemathesis
Schemathesis is an open-source tool that generates and executes property-based tests for web APIs from API schemas such as OpenAPI definitions.
Secure APIs
Schemathesis is an open-source API testing tool that generates property-based tests from API schemas.
- How it is used
- Tests live API implementations against schemas through automated contract testing and fuzzing.
- How deep it goes
- Generates malformed cases and checks responses, but stops short of testing business-layer behavior.
- Examples
- Exercises course endpoints and student registration, including malformed NUL-byte input that triggers a database error.
- What you can do after
- Apply it via Schemathesis to discover API drift, malformed-input failures, schema violations, and authentication weaknesses.
Automating API Delivery
Schemathesis is an open-source tool that generates and executes property-based tests for web APIs from API schemas such as OpenAPI definitions.
- How it is used
- Generates and runs schema-conformance tests against external or public APIs from their published definitions.
- How deep it goes
- Walks through CLI execution, data generation, request recording, documented examples, and interpretation of failures and summaries.
- Examples
- Uses a Product Catalog API, an OpenAPI YAML definition, a CLI command, a cassette, and response-schema failure output.
- What you can do after
- Diagnose API schema defects and automate happy- and sad-path conformance checks with the Schemathesis CLI.
Related concepts
- OpenAPI specificationuses · The OpenAPI Specification is a standard, machine-readable format for describing HTTP APIs, including their operations, inputs, outputs, data structures, and security requirements.
- property-based testingkind of · Property-based testing is a software-testing technique that generates varied inputs and checks whether specified general properties of the software’s behavior hold across them.
- fuzzingkind of · Fuzzing is an automated testing technique that supplies varied, malformed, unexpected, or mutated inputs to software to reveal failures, vulnerabilities, or other defects.
- implementationuses · An implementation is the concrete code, mechanisms, or artifacts that realize an abstract design, specification, algorithm, interface, or required behavior.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

