api.live / API load testing
API load testing without writing a script
Most load testing tools ask you to write a script first. api.live load tests the request you already have: the one you just sent and debugged.
Free. No account. macOS app, plus a CLI for macOS, Linux and Windows.
How it works
- Open a saved request, a folder of requests, or a whole end-to-end test.
- Set the number of users and the shape: ramp, spike, soak or step.
- Run it. Throughput, errors and latency (p50, p95, p99) update live.
From the command line it is one flag on a request you already have:
api run orders/create.yaml --load
api load checkout-spike # a saved load test
What you get
- A fast engine. Written in Rust. It reaches 90,000+ requests per second from an M1 laptop against a local target, and the reported counts are tested against a server that counts what it really received.
- Pass or fail thresholds. Set limits such as
p99 < 200msorerrors < 1%. The run exits with code 1 when one fails, so it works as a CI gate. - Whole user journeys. Load test a multi-step test, where each virtual user logs in and keeps its own token.
- Reports. HTML and JUnit output for CI.
- A safety cap. Public hosts are limited to 2,000 requests per second by default, so you don't hammer someone else's service by accident.
Already use k6?
api.live can export a test as a k6 script, so you can design and debug the test here and run it wherever your k6 setup lives.
Limits
Load runs from one machine. There is no distributed or cloud load generation. For most APIs a laptop is enough to find the first bottleneck; for very large tests you will want a distributed tool.
Try it
brew install --cask apilivehq/tap/api-live # Mac app
npm i -g @apilivehq/cli # CLI: macOS, Linux, Windows
Or download it from GitHub Releases. Found a bug? Open an issue.