micrach/tests/load.sh

6 lines
301 B
Bash
Raw Normal View History

2022-05-18 10:34:56 +03:00
echo "GET http://micrach.igonin.dev" | vegeta attack -rate 100 -duration=120s | tee results.bin | vegeta report
2022-05-18 10:23:35 +03:00
# 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]"