Getting started

Jitterbox gives you a fake version of an API that you control. Build against it, then make it slow, flaky or broken on purpose and see what your code does.

1. Create a project

Open Projects and create one. You don't need an account: you get a guest project straight away.

  • Guest projects serve traffic for 30 days.
  • Their data is deleted after 7 days without activity.
  • Create an account at any time, with Google, GitHub or an email and password. Your projects move over with you.

Each project has a mock base URL, shown at the top of the project:

https://<projectKey>.jitterbox.dev

Anyone with that URL can call your mocks, so treat the project key like a password. (Projects made before November 2026 use the longer https://api.jitterbox.dev/p/<projectKey> form; both keep working.)

2. Add endpoints

An endpoint is a method plus a path, like GET /orders/{id}, and the reply it sends: status, headers and body. Three ways to add them:

  • By hand: press + in the Endpoints list.
  • From an OpenAPI spec: import a spec and get one endpoint per operation. See OpenAPI import.
  • From real traffic: forward to the real API, record what it answers, and turn that into mocks. See Record and replay.
  • As an LLM provider: answer like OpenAI or Anthropic. See LLM failure testing.

An endpoint can send different replies for different requests. See Conditional responses.

3. Call it

Point your app at the mock base URL instead of the real API:

curl https://<projectKey>.jitterbox.dev/orders/42

Every request shows up in Requests, live, with what was sent, what came back, and why.

4. Break it

A scenario is a set of failure rules: errors for a share of requests, added latency, timeouts, dropped connections, rate limits, or broken LLM streams. Switch a scenario on, run your app, and watch what it does.

5. Grade your client

Resilience looks at how your client behaved while things were failing. Did it retry, back off, respect Retry-After, and keep its idempotency key? See Resilience report. To fail a build on a bad grade, see Jitterbox in CI.

Limits

  • Request bodies above 1 MB are rejected; up to 64 KB of each body is stored for the inspector.
  • Jitterbox is in beta and free to use, with these limits for every workspace (they may change): 500 mock requests a day (resets at midnight UTC), 10 requests per second per project, 1 project, 10 endpoints and 2 failure scenarios per project, 1 CI token, and 24 hours of request history.
  • Each workspace has its own allowance; a team's is shared by everyone in it. You can own one team workspace besides your personal one (joining other people's teams doesn't count).
  • Past the daily allowance, mocks answer 429 with a message saying so, and a Retry-After header.
  • Request history keeps at most the latest 1,000 requests per project.
  • Delays and timeouts are capped at 30 seconds.