wrk
HTTP benchmarking tool. More information: https://github.com/wg/wrk.
- Run a benchmark for
30seconds, using12threads, and keeping400HTTP connections open:
wrk -t12 -c400 -d30s "http://127.0.0.1:8080/index.html"
- Run a benchmark with a custom header:
wrk -t2 -c5 -d5s -H "Host: example.com" "http://example.com/index.html"
- Run a benchmark with a request timeout of
2seconds:
wrk -t2 -c5 -d5s --timeout 2s "http://example.com/index.html"