API response

Record IDs, timestamps and HTTP statuses for testing how clients handle responses.

Generator settings

Generate data to see results here.

Build mock API responses for client tests

Generate record IDs, HTTP status values, messages and timestamps, then export JSON for a frontend fixture or mock server. The generated rows are payloads. Configure the actual HTTP status separately in your mock server when the client branches on it.

Example

Test a successful response first, then set the mock server status to 404 and 500 in separate fixtures. Check what the client displays in each case and whether a retry sends only the intended request. Use a fixed seed to keep sample payloads stable.

Field