From 97aa7561a24497e35f4832d9d6c905d71da2cdfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Senart?= Date: Sat, 21 Sep 2013 18:46:09 +0200 Subject: [PATCH] Add -header section to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 331a1f7..bac0537 100644 --- a/README.md +++ b/README.md @@ -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