Schemathesis
PaketGenerate property-based API tests from OpenAPI or GraphQL schemas
- Fiyat
- Free, open source
- Erişim
- Target API credentials if required
Hakkında
Schemathesis generates and executes API tests from OpenAPI or GraphQL schemas, checking responses and exploring edge cases. It runs as a CLI or Python library against a reachable test endpoint. Generated operations can change test data; supply required endpoint credentials.
Neler yapabilirsin
- Generate API tests from an OpenAPI schema instead of writing every case
- Find server errors and schema violations with generated edge-case inputs
- Test GraphQL endpoints and chained API workflows against a test environment
Başlarken
- Install Schemathesis or run it with uvx
- Use a test endpoint and its OpenAPI or GraphQL schema
- Limit operations and pass test credentials where needed
Örnek kod
# Restrict generated tests to GET operations on your test API
uvx schemathesis run "$TEST_OPENAPI_URL" --include-method GETAyrıntılar
- Barındırma
- Kendi bilgisayarında
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python
- MCP sunucusu
- Yok