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