API Failure Scenarios
From an OpenAPI spec or one request, build failure scenarios for your tests — HTTP errors (with documented error bodies), timeouts and network failures, malformed and schema-violating responses — exported as Playwright route mocks or JSON.
About this tool
Start from an OpenAPI 3 spec or from one method and URL to get failure cases for your tests: HTTP errors with the bodies your spec documents, timeouts and dropped connections, and malformed or wrongly shaped responses. Copy them as Playwright route mocks or as JSON.
Nothing is sent to the API. The spec is read in a background worker on this page, up to 2 MB and 50 operations.