JediMock
Dev & QA Toolkit
Interactive Preview

JediMock Test Lab

Paste a generated JediMock script into this page's DevTools console, then run fetch and XHR calls against the fake backend below. It is a quick way to preview request edits, response edits, fallback mode, and Async ID flows without touching a real API.
No backend required Works with fetch and XHR Includes hanging endpoints for fallback Includes Async ID trigger and status flow
Last probe
Ready. Click any probe to run it.
Idle

How to use it

Generate a script in the app, paste it into this page's DevTools console, then run the probes below and compare the results with what you expected.

  1. Open JediMock in another tab and generate the script you want to test.
  2. Paste that script into this page's DevTools console.
  3. Use the buttons below to hit known endpoints and inspect the results in the log and browser console.
  4. Use the slow endpoints to verify fallback behavior without needing a real network timeout.

Response probes

Use these for replace mode, merge mode, response rules, delays, and fallback.

Request probes

Use these for request or both mode. The backend echoes the parsed body so you can see exactly what was sent.

Try editing keys with spaces or dashes in the JediMock request tree, then rerun these.

Async ID probes

The trigger response contains the ID at job.ids["public-id"] so you can verify special-character path handling.

Known endpoints

GET /api/users/42 returns a normal JSON user.
POST /api/orders echoes the request body as JSON.
GET /api/slow/users/42 never resolves, which is useful for fallback mode.
POST /api/jobs/start returns { job: { ids: { "public-id": "job-123" } } }.
GET /api/jobs/job-123/status returns the live status payload.

Run log

Every button click records the request, any fake-backend behavior, and the final result body or error.