Your API works.
Until it doesn't.

Jitterbox gives you a fake version of an API in seconds. Build your app against it, then see what happens when it gets slow, breaks or stops answering.

Try the live demo

Your app depends on APIs you don't control.
Jitterbox gives you one you do.

01Build before it's readyNo waiting on the real API.
02Test the bad daysSlow, broken or offline.
03Ship with confidenceFind problems before users do.
1.0Create

A fake API, ready in seconds.

Pick a method, type a path and press Enter. You get a real web address your app can call straight away.

A real web addressWorks over HTTPS from your laptop, your test suite or your staging server.
Any method, any pathGET, POST, PUT, PATCH and DELETE, with placeholders like /payments/{id}.
Nothing to installIf your code can call a URL, it can call Jitterbox. No SDK needed.
2.0Configure

Make it answer the way the real one does.

Choose the status code and write the reply. Add simple rules so different requests get different answers.

Reply
Status 201 Created
Header Location: /payments/pay_123
{ "id": "pay_123", "status": "success" }
Rules, checked from top to bottom
If headerX-Test-Scenarioisdeclinedreply402 Card declined
If the amount is over₹1,00,000reply422 Too large
Otherwise reply201 Created
Status, headers and bodyWrite the exact reply your app should get, with a built-in JSON editor.
Different answers for different requestsMatch on a header, a query value or a field in the request body.
Test it right thereSend a request from the editor and see which rule answered.
3.0Break

Then see what happens when it breaks.

Real APIs fail. Make yours fail on purpose, in a controlled way, so you know your app handles it. Try it below: this demo runs in your browser.

Make of requests fail with error . Add a delay of to . Give no reply at all to of requests.

WorkedWorked, but slowFailed on purposeNo replyRejected by your rule
Live
What happened to this request
Error 503, on purpose

You asked for 20% of requests to fail. This was one of them, and it was also delayed 1.6 s.

Request arrivedPOST /payments from your app0 ms
Found your endpointPOST /payments1 ms
Checked your failure settingsfail 20% · delay 0.5–3 s on failed requests · no reply 2%1 ms
Picked to failYou chose 20% · about 1 in 5 requests1 ms
Waited 1.6 s before replyingThe delay you set1.6 s
Sent back error 503Service unavailable, instead of the normal reply1.6 s
Status: 503 Service unavailableTook: 1.6 sAdded by Jitterbox: error and delay{"error": "service unavailable"}
ErrorsSend back 500, 503 or any error code for a share of requests you choose.
Slow repliesAdd delays so you can check your timeouts and loading states.
No reply at allDrop the connection, the way a flaky network or crashed server would.
4.0Use it

Change one line of code.

Point your app at Jitterbox instead of the real API while you build or test. Switch back when you ship.

-const API = 'https://payments.example.com/v1'+const API = 'https://…/p/your-key'  // the rest of your code stays the same

Break it here.
Not in production.

Your first fake API takes less than a minute.

Read the docs