Request history and replay for your mock API
Every call to your mock server can be recorded, with the body your app actually sent. Record a response once and it comes back identical on every run after that.
- Method, path, status, timing
- Record once, replay forever
- Export and import
- On every plan
What do request history and replay give you?
Request history is the log: every request your mock API answered, newest first, with the method, the full path, the status, how long it took, and whether the mock or your real backend replied.
A replay is a recorded response. The first matching call stores whatever the mock server answered, generated or fetched from your real API, and every matching call after that gets the stored one back, marked X-Mockzilla-Source: replay.
Nobody agrees on what was actually sent
The frontend says it sent the right body. The backend says it did not. Neither side kept the request.
The log settles it. And once the response that triggers the bug is recorded, it comes back the same on every run until the bug is gone.
Request history
Open a row for the whole exchange: request headers and body on top, response headers and body below. The same answers come back on the wire as X-Mockzilla-Source and X-Mockzilla-Duration.
Replay
Record a response once and it is served back for every matching request. Matching is on the method, the path, and the request fields you pick.
Export and import
Move a captured set to another mock server, or check it into the repository next to the test that needs it.
Questions
- Is history on by default?
- No. History and replay are enabled per endpoint, so you record the routes you are working on rather than everything your app touches.
- How long are requests kept?
- That depends on the plan. Retention, search and export differ between them, and the pricing page lists what each one includes.
- Can I move a captured set between mock servers?
- Yes. Export the set from one and import it into the other, or commit it alongside the test that needs it.
Bring a spec. Get a mock server.
It costs nothing to start. Dedicated infrastructure when you need it.