1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 </keywords> 7 </info> 8 9 <reply> 10 <data nocheck="yes"> 11 HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK 12 Date: Thu, 09 Nov 2010 14:49:00 GMT 13 Server: test-server/fake 14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 15 ETag: "21025-dc7-39462498" 16 Accept-Ranges: bytes 17 Content-Length: 6 18 Connection: close 19 Content-Type: text/html 20 Funny-head: yesyes 21 22 -foo- 23 </data> 24 </reply> 25 26 # 27 # Client-side 28 <client> 29 <server> 30 http 31 </server> 32 33 <name> 34 HTTP GET with 100-digit subversion number in response 35 </name> 36 <command> 37 http://%HOSTIP:%HTTPPORT/1433 --write-out '%{response_code}' 38 </command> 39 </client> 40 41 # 42 # Verify data after the test has been "shot" 43 <verify> 44 <stdout nonewline="yes"> 45 HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK 46 Date: Thu, 09 Nov 2010 14:49:00 GMT 47 Server: test-server/fake 48 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 49 ETag: "21025-dc7-39462498" 50 Accept-Ranges: bytes 51 Content-Length: 6 52 Connection: close 53 Content-Type: text/html 54 Funny-head: yesyes 55 56 -foo- 57 200 58 </stdout> 59 <strip> 60 ^User-Agent:.* 61 </strip> 62 <protocol> 63 GET /1433 HTTP/1.1 64 Host: %HOSTIP:%HTTPPORT 65 Accept: */* 66 67 </protocol> 68 </verify> 69 </testcase> 70