tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.5k stars 1.36k forks source link

error: flag provided but not defined: -header #257

Closed rahulx411 closed 6 years ago

rahulx411 commented 7 years ago

./vegeta -header=Content-Type:application/json attack -targets=target.txt -body=body.json -rate=100 -duration=10s | ./vegeta report |more flag provided but not defined: -header

Would really appreciate any advice..

./vegeta -version
v6.3.0
ghost commented 7 years ago

That flag needs to come after the command name.

rahulx411 commented 7 years ago

had overlooked that ..works fine Thanks! 👍