oha

HTTP load generator with TUI animations and real-time statistics

brewmacoslinux
Try with needOr install directly
Source

About

HTTP load generator, inspired by rakyll/hey with tui animation

Commands

oha

Examples

Basic load test with 100 requests and 10 concurrent workers$ oha -n 100 -c 10 http://example.com
Load test with custom duration of 30 seconds$ oha -z 30s http://example.com
Load test with POST request and JSON body$ oha -n 50 -c 5 -m POST -H 'Content-Type: application/json' -d '{"key":"value"}' http://example.com/api