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: Thu, 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/192 -w "%{num_connects}\n" 33</command> 34</client> 35 36# 37# Verify data after the test has been "shot" 38<verify> 39<strip> 40^User-Agent:.* 41</strip> 42<protocol> 43GET /192 HTTP/1.1 44Host: %HOSTIP:%HTTPPORT 45Accept: */* 46 47</protocol> 48 49<stdout> 50HTTP/1.1 200 OK 51Date: Thu, 09 Nov 2010 14:49:00 GMT 52Content-Length: 8 53Connection: close 54 55monster 561 57</stdout> 58</verify> 59</testcase> 60