1INCLUDE path/to/your/include/file 2 3SET YOUR_HOST=your.host 4SET YOUR_PORT=8080 5 6# runs exactly one time 7CLIENT 8 9 _REQ $YOUR_HOST SSL:$YOUR_PORT 10 __GET /your/path/to/your/resource?your=params HTTP/1.1 11 __Host: $YOUR_HOST 12 __User-Agent: mozilla 13 __ 14 _EXPECT . "Regex of what you expect within headers or body" 15 _EXPECT . "Another regex of what you expect also within headers or body" 16 _MATCH headers "YourCookie=(.*)" YOUR_COOKIE_VAL 17 _WAIT 18 19 _REQ $YOUR_HOST SSL2:$YOUR_PORT 20 __GET /your/path/to/your/resource?your=params HTTP/1.1 21 __Host: www.your.name 22 __User-Agent: mozilla 23 __Cookie: YourCookie=$YOUR_COOKIE_VAL 24 __ 25 _WAIT 26 27 _REQ $YOUR_HOST TLS1:$YOUR_PORT 28 __GET /your/path/to/your/resource?your=params HTTP/1.1 29 __Host: www.your.name 30 __User-Agent: mozilla 31 __Cookie: YourCookie=$YOUR_COOKIE_VAL 32 __ 33 _WAIT 34 35END 36 37