How it works

Everything Jitterbox does, in plain words.

Jitterbox gives you a fake version of the APIs your app calls. You decide how it answers, then make it slow, broken or silent on purpose, and see how your app copes.

  1. 01Create a fake APIEndpoints that answer like the real one, at a real web address.
  2. 02Point your app at itChange one setting in your app or your tests.
  3. 03Make it failSwitch on errors, delays and timeouts, as often as you like.
  4. 04See how it copedEvery request is logged, and your app gets a grade.
01

Create a fake API

A project is your fake API. It gets one web address, and each endpoint is one method and path on it, like POST /payments. There are five ways to add endpoints.

By handPick a method, type a path and write the reply. It answers the moment you create it.
From a templateReady-made sets for payments, users and webhooks, to get going in one click.
From an OpenAPI fileImport your spec and get an endpoint for each operation, with its example reply.
By recording the real APIConnect the real API, use your app as usual, then turn what it answered into endpoints.
With your coding agentPaste one prompt into Claude Code, Codex or Cursor. It reads your code, finds the APIs it calls and sets them up.
02

Make it answer like the real one

Each endpoint has a reply you control, and can give different answers to different requests.

Status, headers and bodyWrite the exact reply your app should get, with a JSON editor.
DelaysMake a reply take as long as the real API would.
Placeholders/payments/{id} matches any id, and the reply can echo it back with {{path.id}}. Query values, headers and body fields work too.
RulesReply differently when a header, a query value or a body field matches. Rules are checked from top to bottom.
Try it in placeSend a test request from the editor and see which rule answered.
Pause an endpointTurn one off without deleting it.
03

Not just REST

Some APIs don't speak plain JSON over REST. Jitterbox speaks their language, so your real client code works unchanged.

LLM APIsAnswers in the OpenAI (Chat Completions and Responses) and Anthropic (Messages) formats, streaming included. The official SDKs just work.
GraphQLOne endpoint, a different answer for each query or mutation.
SOAPXML replies for each operation, and proper SOAP faults when you break it.
04

Point your app at it

Swap the real API's address for your project's address, only in your tests or local setup. Nothing to install, and it works from any language.

-const API = 'https://payments.example.com/v1'+const API = 'https://your-key.jitterbox.dev'  // the rest of your code stays the same
Works from anywhereYour laptop, your test suite, your staging server or CI. It's a normal HTTPS address.
Mix fake and realRequests that no endpoint matches can go through to the real API, so you only fake what you need.
05

Make it fail on purpose

A failure scenario is a set of problems you switch on and off. Each one says what goes wrong and how often.

What can go wrong

ErrorsAny status code, like 503, or 429 with a Retry-After header.
Slow repliesA fixed or random delay, like 200–800 ms.
TimeoutsThe reply hangs, then gives up, the way an overloaded server does.
Broken bodiesInvalid JSON, a cut-off body, an empty one, or the wrong content type.
LLM troubleA slow first token, a slow stream, a stream cut halfway, a broken chunk, or tool arguments cut short.
GraphQL and SOAPGraphQL errors and SOAP faults, in the format real servers send.

How often, and where

Every time20% of requests1 in 5Fail twice, then succeed

A scenario can apply to every endpoint or only the ones you pick, and you can run several at once.

Or per request, from your tests

X-Jitterbox-FaultForces one problem on this request, whatever the scenarios say.
X-Jitterbox-SeedMakes random failures fall the same way every run, so a failing test stays failing.
X-Jitterbox-Execution-IdComes back on every reply, so a failing test can point at the exact request.
06

Watch every request

Every call to your fake API shows up live, so you can see exactly what your app sent and what it got back.

A live logMethod, path, status and time for each request, and the problem that was injected, if any.
The full storyRequest and reply headers and bodies, which rule answered, and the timings. Copy any request as cURL.
Secrets stay outAuthorization, cookie and API-key headers are hidden in the log.
07

See how your app coped

Turn on a scenario, run your app or its tests, and open Resilience. Jitterbox groups each call with its retries and checks how your app behaved. Every verdict links to the requests behind it.

  • Retries when it shouldAfter a 5xx, a 429, a timeout or a dropped stream.
  • Waits when told toRespects the server's Retry-After.
  • Backs offWaits longer between retries instead of hammering.
  • Gives up eventuallyDoesn't retry forever.
  • Doesn't retry what can't succeedStops after a 400, 404 or 422.
  • Keeps the idempotency keySo a retried payment isn't charged twice.
  • Times out instead of hangingDoesn't wait forever for a reply that won't come.
08

Automate it

Everything you can do in the dashboard, you can do from a terminal, in CI, or through a coding agent.

$ npx jitterbox run --scenario "Flaky gateway" -- npm test
# switches the scenario on, runs your tests, switches it off, grades your app
In CIA GitHub Action, or the CLI in any CI. The build fails if your app mishandles a failure, like ignoring Retry-After.
From the terminalThe jitterbox CLI does everything the dashboard does. Sign in once through your browser.
As codeDescribe endpoints and scenarios in jitterbox.yaml, check the diff, then apply it.
With coding agentsEvery command has JSON output and a guide written for agents, so Claude Code or Codex can set things up for you.

Details in the docs: CLI and coding agents and Jitterbox in CI.

09

Work as a team

Projects live in a workspace. You have a personal one, and you can create a team workspace and invite people by email.

ViewerSees endpoints, scenarios, requests and reports.
MemberAlso creates and edits endpoints and scenarios.
AdminAlso invites people, changes roles and deletes projects.
OwnerEverything, including deleting the workspace.
10

Free during the beta

Jitterbox is free while it's in beta. Each workspace gets the same allowance, shared by everyone in it.

500
requests a day
1
project
10
endpoints
2
failure scenarios
1
API key for CI
24 hours
of request history

The daily allowance resets at midnight UTC.

Try it in a minute.

No signup needed to create your first fake API.

Read the docs