mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
6 lines
297 B
Bash
Executable File
6 lines
297 B
Bash
Executable File
echo "GET http://localhost:3000" | 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]"
|