Modern HTTP benchmarking tool
wrk2 is a constant throughput, correct latency recording variant of wrk.
It is a modern HTTP benchmarking tool capable of generating significant load
when run on a single multi-core CPU.
Usage:
$ wrk2 -R10 -c1 -t1 -d10 https://api.example.com
The command above runs a 10 RPS workload for 10 seconds and prints a short report.
Using your custom script to load APIs:
$ wrk2 -R100 -c1 -t1 -d60 -s my_script.lua --latency https://api.example.com
The command above runs 100 RPS workload with custom logic described in my_script.lua for 60 seconds and prints a detailed latency report.
More docs are in https://github.com/alex-ramanau/wrk2