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://<jitterbox-host>/p/<projectKey>

Anyone with that URL can call your mocks, so treat the project key like a password.

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://<jitterbox-host>/p/<projectKey>/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.
  • Each project accepts 20 requests per second (bursts of 50) and 10,000 requests a day.
  • Request history keeps the latest 1,000 requests per project, for up to 7 days.
  • Delays and timeouts are capped at 30 seconds.