It removes the need to build or run a real backend while developing or testing a frontend, and it provides controllable failure and latency scenarios plus live request visibility for debugging integration issues.
MockBase is a hosted service that creates HTTP endpoints which return user‑defined responses. A user creates a mock by clicking a button, receives a unique HTTPS URL and configures routes through a web UI or by uploading an OpenAPI spec. Each route can match on query parameters, headers, JSON dot‑paths, GraphQL operation names or SOAP envelope elements; the matching operators are evaluated in priority order. Responses are rendered with a sandboxed Jinja2 template, allowing insertion of request data, UUIDs or timestamps. Optional stateful CRUD stores data in a Redis‑backed store so POSTed objects can be retrieved later. Chaos injection lets the user define weighted failure scenarios such as timeouts, truncated bodies, empty responses or connection resets, and deterministic rate‑limit simulation returns 429 after a configurable count. Every request is streamed over a WebSocket inspector showing method, path, status, headers, bodies and latency, with the last 500 entries retained for seven days. The service also supports importing/exporting OpenAPI definitions, versioned snapshots (30 per mock), and a CLI driven by personal API keys for CI or AI agents.
Have feedback for the maker?
Sign in to leave a review, report a bug, or suggest a feature.
Xerat