schemathesis

API testing tool that generates tests from OpenAPI/Swagger specs.

brewmacoslinux
Try with needOr install directly
Source

About

Testing tool for web applications with specs

Commands

schemathesis

Examples

run api tests against a live server$ schemathesis run https://api.example.com/openapi.json --base-url https://api.example.com
test api with local openapi specification file$ schemathesis run ./openapi.yaml --base-url http://localhost:8000
find api bugs with property-based testing$ schemathesis run https://api.example.com/v1/openapi.json --hypothesis-max-examples=1000
test api endpoints and save detailed report$ schemathesis run https://api.example.com/spec.json --base-url https://api.example.com --junit-xml=report.xml
validate openapi specification file for errors$ schemathesis validate ./openapi.json