Add -header section to README

This commit is contained in:
Tomás Senart
2013-09-21 18:46:09 +02:00
parent 576afe9b93
commit 97aa7561a2

View File

@@ -51,6 +51,7 @@ It defaults to the amount of CPUs available in the system.
$ vegeta attack -h
Usage of attack:
-duration=10s: Duration of the test
-header=: Targets request header
-ordering="random": Attack ordering [sequential, random]
-output="stdout": Output file
-rate=50: Requests per second
@@ -63,6 +64,10 @@ The internal concurrency structure's setup has this value as a variable.
The actual run time of the test can be longer than specified due to the
responses delay.
#### -header
Specifies a request header to be used in all targets defined.
You can specify as many as needed by repeating the flag.
#### -ordering
Specifies the ordering of target attack. The default is `random` and
it will randomly pick one of the targets per request without ever choosing