-
Run
sh gen-perf-test.sh
to scaffold a basic directory structure to usevegeta
cli. -
This script creates a
.perf-test
dir in the current directory -
.perf-test file structure:
|-- targets.txt
|-- payloads/
|-- run.sh -
targets.txt contain an example configuratio. See here for more info
-
run.sh is the entry point to start attacking, eg:
./run.sh performance-test 1/5s 10s 0s
will create a directory
performance-test
, send1 request every 5s
, for10s
, with a timeout set to0s
ls performance-test performance-test ├── histogram.data ├── metrics.txt ├── plot.html ├── results.bin ├── settings.txt └── targets.txt
-
see here for the types of vegeta output formats