aicoolies logo
Schemathesis logo
Schemathesis logo

Schemathesis

Property-based API fuzz testing from OpenAPI and GraphQL schemas

open sourceupdated Aug 16, 2026

Schemathesis automatically generates test cases from OpenAPI and GraphQL schemas to find crashes, validation errors, and specification violations in APIs. It uses property-based testing and fuzzing techniques to explore edge cases that manual test writing misses. CLI tool and Python library with CI/CD integration. 3.4K+ GitHub stars with support for authentication, custom checks, stateful testing, JUnit XML, and Allure reports.

Read our Schemathesis review

A detailed review by the aicoolies team — click to read

Schemathesis automates API testing by generating schema-aware inputs directly from OpenAPI or GraphQL schema definitions. Rather than manually writing test cases for each endpoint, developers point Schemathesis at their API specification and it systematically generates requests that probe edge cases, boundary conditions, malformed inputs, and unexpected parameter combinations. The property-based testing approach discovers issues that predefined test suites consistently miss because humans cannot anticipate every possible input combination.

The fuzzing engine goes beyond random input generation by understanding API schema constraints and generating inputs that are valid enough to pass initial parsing but unexpected enough to expose implementation bugs. It tests required versus optional parameters, minimum and maximum value boundaries, enum value handling, nested object structures, and content type negotiation. Stateful testing sequences multiple API calls to explore workflows like create-then-update-then-delete that have dependencies between operations.

Schemathesis provides both a CLI tool for quick testing and a Python library for integration into existing test suites. CI/CD integration runs API fuzz testing on every pull request, catching regressions before they reach production. Each discovered issue includes the exact request that triggered it, making reproduction straightforward. Custom checks allow teams to verify business-specific invariants beyond schema compliance, and authentication support handles OAuth, API keys, and custom auth schemes for testing protected endpoints.

Pricing

Free open-source CLI; SaaS platform available

Platforms

Python, CLI, any OS, CI/CD integration

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

MCPJam logo

MCPJam Inspector

Test and debug MCP servers before they ship

Open-source platform for inspecting, debugging and regression-testing MCP servers, MCP Apps and ChatGPT apps, with OAuth and protocol conformance for local and CI workflows.

freemiumOpen SourceTelemetry
MCP for Unity logo

MCP for Unity

Open-source MCP bridge between AI assistants and the Unity Editor

MCP for Unity is CoplayDev’s MIT-licensed bridge between MCP-compatible AI assistants and the Unity Editor. It exposes tools for assets, scenes, GameObjects, scripts, tests, profiling, and build-oriented workflows. The community project supports Unity 2021.3 LTS through 6.x and is explicitly not affiliated with Unity Technologies.

Open Source
XcodeBuildMCP logo

XcodeBuildMCP

Sentry-maintained MCP server and CLI for Xcode builds, simulators, and tests

XcodeBuildMCP is a Sentry-maintained, MIT-licensed MCP server and CLI for agent-assisted iOS and macOS development. It lets MCP-compatible coding agents run Xcode build and test workflows, manage simulators, inspect failures, and work through Homebrew, npm, or on-demand client configuration, with documented Sentry telemetry controls for teams that need an opt-out.

Open SourceTelemetry
iFixAi logo

iFixAi

Open-source diagnostic for AI operational misalignment

iFixAi is an Apache-2.0 diagnostic tool for scoring AI agents and models against operational-misalignment risks such as hallucination, manipulation, sabotage, sandbagging, and oversight evasion.

Open Source
Inspect AI parent UK AISI mark

Inspect AI

UK AI Security Institute framework for LLM safety evaluations

Inspect AI is an MIT-licensed framework from the UK AI Security Institute for running large language model evaluations, including tool use, multi-turn dialogue, model-graded scoring, and reusable evaluation tasks.

Open Source
Safari MCP Server parent Safari mark

Safari MCP Server

Apple's Safari-native MCP server for web debugging agents

Safari MCP Server is Apple's safaridriver-based MCP server in Safari Technology Preview, giving compatible coding agents local access to Safari page content, console logs, network requests, screenshots, JavaScript evaluation, interactions, viewport controls, and accessibility/performance checks.

freeTelemetry

Used in Stacks

FAQ

What is Schemathesis?

Schemathesis automatically generates test cases from OpenAPI and GraphQL schemas to find crashes, validation errors, and specification violations in APIs. It uses property-based testing and fuzzing techniques to explore edge cases that manual test writing misses. CLI tool and Python library with CI/CD integration. 3.4K+ GitHub stars with support for authentication, custom checks, stateful testing, JUnit XML, and Allure reports.

Is Schemathesis free?

Yes — Schemathesis is open source and free to use. Free open-source CLI; SaaS platform available

Is Schemathesis open source?

Yes — Schemathesis is open source.

What are the best Schemathesis alternatives?

The top editor-verified Schemathesis alternatives are qodo-cover, FuzzyAI.

How does Schemathesis score in our review?

Our hands-on review scores Schemathesis 85/100 overall, based on speed, privacy, and developer-experience testing.