1<testcase>
2#
3# Server-side
4<reply>
5<data>
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>
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<datacheck>
22HTTP/1.1 200 OK
23Date: Thu, 09 Nov 2010 14:49:00 GMT
24Content-Length: 3
25Connection: close
26
27ok
28</datacheck>
29
30</reply>
31
32#
33# Client-side
34<client>
35<server>
36http
37</server>
38 <name>
39HTTP GET --retry on 503 error with output to file
40 </name>
41 <command>
42http://%HOSTIP:%HTTPPORT/198 --retry 1000
43</command>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49<strip>
50^User-Agent:.*
51</strip>
52<protocol>
53GET /198 HTTP/1.1
54Host: %HOSTIP:%HTTPPORT
55Accept: */*
56
57GET /198 HTTP/1.1
58Host: %HOSTIP:%HTTPPORT
59Accept: */*
60
61</protocol>
62
63</verify>
64</testcase>
65