Closed kurnifamili closed 4 years ago
That's so strange. I must have messed up the last release. I'll update the assets of that release.
Actually, scrap that. I just downloaded the latest v12.7.0
release (https://github.com/tsenart/vegeta/releases/download/v12.7.0/vegeta-12.7.0-linux-amd64.tar.gz), and I can run that command without any issue.
Are you sure you unpacked the right tarball? It also happened to me that I unpacked an old vegeta tarball I had in my dowloads directory, hence the previous message :)
I have never downloaded/installed a different version before as I just started using this library.
But anyway, I just tried downloaded the tar and tried again and it's working now. Not sure what happened before. Sorry for the false alarm.
Question
Hi guys, from the commits I see that are included in v12.7.0, there should be a capability to specify
-rate=0
and-max-workers
flag. However, when I run the following commandecho "GET http://localhost:8080/test" | vegeta attack -rate=0 -max-workers=10
It returns an error saying
flag provided but not defined: -max-workers
andrate frequency and time unit must be bigger than zero
. The command help message also does not include usage ofmax-workers
flag. I have checked and I am definitely using v12.7.0 of vegeta. Any ideas what might be the cause?