Skip to content

Latest commit

 

History

History
117 lines (83 loc) · 1.69 KB

README.md

File metadata and controls

117 lines (83 loc) · 1.69 KB

CLI's for load testing

Table of Contents

wrk install

brew install wrk

wrk run

wrk -t12 -c400 -d30 --latency --timeout 2s <URL>

ab run

ab -n 400 -c 100 -s 2 -t 30 -k <URL>

siege install

brew install siege

siege run

siege -b -r 10 -c 40 <URL>

hey install

brew install hey

hey run

hey -n 400 -c 100 -t 2 <URL>

locust install

brew install locust

locust run

locust -f locust/locustfile.py --headless --users 10 --spawn-rate 1 -H <URL>

k6 install

brew install k6

k6 run

k6

Install all

brew install wrk siege hey locust k6

Run all

wrk -t12 -c400 -d30  --timeout 2s --latency <URL>
ab -n 400 -c 100 -s 2 -t 30 -k <URL>
siege -b -r 10 -c 40 <URL>
hey -n 400 -c 100 -t 2 <URL>
locust -f locust/locustfile.py --headless --users 10 --spawn-rate 1 -H <URL>