1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 cookies 7 </keywords> 8 </info> 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.1 200 OK 13 Server: Microsoft-IIS/4.0 14 Date: Tue, 25 Sep 2001 19:37:44 GMT 15 Content-Type: text/html 16 Connection: close 17 Content-Length: 21 18 19 This server says moo 20 </data> 21 </reply> 22 23 # Client-side 24 <client> 25 <server> 26 http 27 </server> 28 <name> 29 HTTP, junk session cookies 30 </name> 31 <command> 32 %HOSTIP:%HTTPPORT/want/53 -b log/injar53 -j 33 </command> 34 <file name="log/injar53"> 35 %HOSTIP FALSE / FALSE 2139150993 mooo indeed 36 %HOSTIP FALSE / FALSE 0 moo1 indeed 37 %HOSTIP FALSE / FALSE 1 moo2 indeed 38 </file> 39 </client> 40 41 # Verify data after the test has been "shot" 42 <verify> 43 <strip> 44 ^User-Agent:.* 45 </strip> 46 <protocol> 47 GET /want/53 HTTP/1.1 48 Host: %HOSTIP:%HTTPPORT 49 Accept: */* 50 Cookie: mooo=indeed 51 52 </protocol> 53 </verify> 54 </testcase> 55