Schemathesis

An open-source property-based testing tool that generates API tests from OpenAPI and GraphQL schemas.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

About Schemathesis

Schemathesis reads an OpenAPI or GraphQL schema and generates many varied requests from its types and constraints. It probes boundary values, type mismatches and constraint violations, then checks each response against the documented schema to find where the implementation and the specification disagree.

Stateful testing chains operations into multi-step sequences. It runs from the command line with uvx or Docker, and there is a GitHub Action and a GitLab CI image for running it in a pipeline. It suits API developers who want broad automated coverage beyond hand-written test cases.

Strengths

  • Generates edge-case requests automatically from an existing schema
  • Validates responses against the OpenAPI specification
  • Stateful tests chain several operations together
  • Ready-made GitHub Action, Docker image and GitLab CI setup

Limitations

  • Needs an OpenAPI or GraphQL schema to work from
  • Command-line only, with no graphical client for manual requests

Details

Pricing
FreeThe command-line tool is free and open source.
License
Open source, license not stated
Developer
The Schemathesis contributors
Platforms
Command line
How it runs
Downloadable app
Account
Not required
Best suited for
API teams adding schema-driven fuzz testing to CI
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to Schemathesis

Compare all

Software that can replace Schemathesis for an important use case, and what changes if you switch.

  • Step CI

    An open-source API test automation framework that runs multi-step workflows written in YAML, JSON or JavaScript.

    Step CI automates API tests in CI with imports from OpenAPI, but runs declarative multi-step workflows you write rather than generating edge-case requests from a schema.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing