1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 HTTP/1.0 7 </keywords> 8 </info> 9 # 10 # Server-side 11 <reply> 12 <data> 13 HTTP/1.0 200 OK swsclose 14 Date: Thu, 09 Nov 2010 14:49:00 GMT 15 Server: test-server/fake 16 17 -foo- within foo -!foo- 18 </data> 19 </reply> 20 21 # 22 # Client-side 23 <client> 24 <server> 25 http 26 </server> 27 <name> 28 simple HTTP 1.0 GET 29 </name> 30 <command> 31 http://%HOSTIP:%HTTPPORT/47 -0 32 </command> 33 </client> 34 35 # 36 # Verify data after the test has been "shot" 37 <verify> 38 <strip> 39 ^User-Agent:.* 40 </strip> 41 <protocol> 42 GET /47 HTTP/1.0 43 Host: %HOSTIP:%HTTPPORT 44 Accept: */* 45 46 </protocol> 47 </verify> 48 49 </testcase> 50