oha
An HTTP load generator that sends load to a web application and shows a realtime terminal UI, inspired by rakyll/hey.
Tested on Linux
Use it
Linux x86_64
You need first
- Runtimes:
stable Rust (for cargo install) - System packages:
make,cmake
Download pre-built oha-linux-amd64 release binary into ~/.local/bin and chmod +x
mkdir -p ~/.local/bin && curl -fsSL -o ~/.local/bin/oha https://github.com/hatoo/oha/releases/latest/download/oha-linux-amd64 && chmod +x ~/.local/bin/oha
Check that it works
oha --versionThe output should contain “oha 1.17.0”.
First thing to try
python3 -m http.server 8000 --bind 127.0.0.1oha -n 20 -q 10 --no-tui http://127.0.0.1:8000/Run oha <url> against your server to start a load test with the live terminal view.
What it does
- Limit requests to a set number per secondTested
How to use it
- Run
oha -n <count> -q <queries per second> --no-tui <url>to send a fixed number of requests at that rate. - Check the status code summary, such as
[200] <count> responses.
- Run
- Generate random URLs from a regexTested
How to use it
- Write the URL with a regex in the path, such as
<url>/[a-z][a-z][0-9]. - Run
oha -n <count> --no-tui --rand-regex-url --dump-urls <number> '<url pattern>'to send requests and print sample generated URLs.
- Write the URL with a regex in the path, such as
- Output results as JSON or CSVTested
How to use it
- Run
oha -n <count> --no-tui --output-format json <url>to get the results as JSON. - Read fields such as
statusCodeDistributionin the output.
- Run
- Watch a live terminal view of the load testNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 3 of 4 features work
- Works offline
Windows and macOS: the project says it runs there; pickfit hasn’t tried it.
Good for
- stress test a web server with concurrent HTTP requests
- replay URLs from an access log as load
An alternative to hey.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 15 Nov 2026
- Version oha 1.17.0
Differences the test machine hit
- README: cargo install oha (stable Rust, make, cmake)
In the test: Used the README's pre-built binary from the Release page (releases/latest/download/oha-linux-amd64) since no Rust toolchain may be installed - README: pacman -S oha / apt install oha (Azlux repo with sudo)
In the test: Require root; not usable without sudo