micrach/tests/load.sh

6 lines
302 B
Bash
Raw Normal View History

2022-05-18 10:23:35 +03:00
echo "GET https://micrach.igonin.dev" | vegeta attack -rate 100 -duration=120s | tee results.bin | vegeta report
# vegeta report -type=json results.bin > metrics.json
cat results.bin | vegeta plot > plot.html
open plot.html
# cat results.bin | vegeta report -type="hist[0,100ms,200ms,300ms]"