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