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.
- 01Create a fake APIEndpoints that answer like the real one, at a real web address.
- 02Point your app at itChange one setting in your app or your tests.
- 03Make it failSwitch on errors, delays and timeouts, as often as you like.
- 04See how it copedEvery request is logged, and your app gets a grade.
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.
Make it answer like the real one
Each endpoint has a reply you control, and can give different answers to different requests.
/payments/{id} matches any id, and the reply can echo it back with {{path.id}}. Query values, headers and body fields work too.Not just REST
Some APIs don't speak plain JSON over REST. Jitterbox speaks their language, so your real client code works unchanged.
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
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
503, or 429 with a Retry-After header.200–800 ms.How often, and where
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.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.
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.
Automate it
Everything you can do in the dashboard, you can do from a terminal, in CI, or through a coding agent.
Details in the docs: CLI and coding agents and Jitterbox in CI.
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.
Free during the beta
Jitterbox is free while it's in beta. Each workspace gets the same allowance, shared by everyone in it.
The daily allowance resets at midnight UTC.