1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.1 200 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Content-Length: 8 16Connection: close 17 18monster 19</data> 20</reply> 21 22# 23# Client-side 24<client> 25<server> 26http 27</server> 28<name> 29HTTP GET -w num_connects with one simple connect 30</name> 31<command> 32http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n" 33</command> 34</client> 35 36# 37# Verify data after the test has been "shot" 38<verify> 39<protocol> 40GET /%TESTNUMBER HTTP/1.1 41Host: %HOSTIP:%HTTPPORT 42User-Agent: curl/%VERSION 43Accept: */* 44 45</protocol> 46 47<stdout> 48HTTP/1.1 200 OK 49Date: Tue, 09 Nov 2010 14:49:00 GMT 50Content-Length: 8 51Connection: close 52 53monster 541 55</stdout> 56</verify> 57</testcase> 58