vegeta
vegeta copied to clipboard
vegeta unable to write to files with -output
Version and Runtime
benwis@profiler:~/vegeta/scripts/load-ramping$ vegeta --version
Version: v12.11.1
Commit: 6fbe391628eeeae1adf39522a55078797e6e7f2e
Runtime: go1.20.8 linux/amd64
Date: 2023-10-02T09:05:05Z+0000
Expected Behaviour
I expected it to successfully write the results to a file
Actual Behaviour
It failed to write files using the -output flag with 'permission denied'
vegeta attack -duration 5s -rate 1000/1000s -output results_1000.bin
2024/03/23 00:32:28 error opening results_1000.bin: open results_1000.bin: permission denied
vegeta attack -duration 5s -rate 1258/1000s -output results_1258.bin
2024/03/23 00:32:34 error opening results_1258.bin: open results_1258.bin: permission denied
Steps to Reproduce
- Create an Ubuntu VM on DigitalOcean, latest LTS version
- Install python3 and gnuplot. Download load-ramp example
- Run it