1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8# 9# Server-side 10<reply> 11<data> 12HTTP/1.1 200 OK 13Date: Thu, 09 Nov 2010 14:49:00 GMT 14Server: test-server/fake 15Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16ETag: "21025-dc7-39462498" 17Accept-Ranges: bytes 18Content-Length: 6 19Connection: close 20Content-Type: text/html 21Funny-head: yesyes 22 23-foo- 24</data> 25</reply> 26 27# Client-side 28<client> 29<server> 30http 31</server> 32# tool is what to use instead of 'curl' 33<tool> 34lib500 35</tool> 36 37 <name> 38simple libcurl HTTP GET tool 39 </name> 40 <command> 41http://%HOSTIP:%HTTPPORT/500 log/ip500 42</command> 43</client> 44 45# 46# Verify data after the test has been "shot" 47<verify> 48<file name="log/ip500"> 49IP: %HOSTIP 50</file> 51<protocol> 52GET /500 HTTP/1.1 53Host: %HOSTIP:%HTTPPORT 54Accept: */* 55 56</protocol> 57</verify> 58</testcase> 59