test53 (890B)
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/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -j 33 </command> 34 <file name="%LOGDIR/injar%TESTNUMBER"> 35 %HOSTIP FALSE / FALSE 22139150993 mooo indeed 36 %HOSTIP FALSE / FALSE 0 moo1 indeed 37 %HOSTIP FALSE / FALSE 1 moo2 indeed 38 </file> 39 <features> 40 cookies 41 </features> 42 </client> 43 44 # Verify data after the test has been "shot" 45 <verify> 46 <protocol> 47 GET /want/%TESTNUMBER HTTP/1.1 48 Host: %HOSTIP:%HTTPPORT 49 User-Agent: curl/%VERSION 50 Accept: */* 51 Cookie: mooo=indeed 52 53 </protocol> 54 </verify> 55 </testcase>