1<testcase> 2# 3# Server-side 4<reply> 5<data nocheck="yes"> 6HTTP/1.1 503 OK swsbounce 7Date: Thu, 09 Nov 2010 14:49:00 GMT 8Content-Length: 21 9 10server not available 11</data> 12<data1 nocheck="yes"> 13HTTP/1.1 200 OK 14Date: Thu, 09 Nov 2010 14:49:00 GMT 15Content-Length: 3 16Connection: close 17 18ok 19</data1> 20 21</reply> 22 23# 24# Client-side 25<client> 26<server> 27http 28</server> 29 <name> 30HTTP GET --retry on 503 error with output to stdout 31 </name> 32 <command> 33http://%HOSTIP:%HTTPPORT/197 --retry 1000 34</command> 35</client> 36 37# 38# Verify data after the test has been "shot" 39<verify> 40<strip> 41^User-Agent:.* 42</strip> 43<protocol> 44GET /197 HTTP/1.1 45Host: %HOSTIP:%HTTPPORT 46Accept: */* 47 48GET /197 HTTP/1.1 49Host: %HOSTIP:%HTTPPORT 50Accept: */* 51 52</protocol> 53 54<stdout> 55HTTP/1.1 503 OK swsbounce 56Date: Thu, 09 Nov 2010 14:49:00 GMT 57Content-Length: 21 58 59server not available 60HTTP/1.1 200 OK 61Date: Thu, 09 Nov 2010 14:49:00 GMT 62Content-Length: 3 63Connection: close 64 65ok 66</stdout> 67 68</verify> 69</testcase> 70