mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 10:25:17 +00:00
Merge pull request #181 from nnugumanov/patch-2
headers could be used in the middle of uri style ammo
This commit is contained in:
commit
7b8c082531
@ -118,12 +118,13 @@ Create a file with declared requests: **ammo.txt**
|
|||||||
/?drg tag1
|
/?drg tag1
|
||||||
/
|
/
|
||||||
/buy tag2
|
/buy tag2
|
||||||
|
[Cookies: test]
|
||||||
/buy/?rt=0&station_to=7&station_from=9
|
/buy/?rt=0&station_to=7&station_from=9
|
||||||
|
|
||||||
File begins with optional lines [...], that contain headers which will
|
File consist of list of URIs and headers to be added to every request defined below.
|
||||||
be added to every request. After that section there is a list of URIs.
|
Every URI must begin from a new line, with leading ``/``.
|
||||||
Every URI must begin from a new line, with leading '/'.
|
Each line that begins from ``[`` is considered as a header.
|
||||||
Each line that begins from '[' is considered a header.
|
Headers could be (re)defined in the middle of URIs, as in sample above. I.e request ``/buy/?rt=0&station_to=7&station_from=9`` will be sent with ``Cookies: test``, not ``Cookies: None``.
|
||||||
Request may be marked by tag, you can specify it with whitespace following URI.
|
Request may be marked by tag, you can specify it with whitespace following URI.
|
||||||
|
|
||||||
URI+POST-style
|
URI+POST-style
|
||||||
|
Loading…
Reference in New Issue
Block a user