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