Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test198
bloba413fb969fda994b8a693d019b8a78703cc93a2d
1 <testcase>
3 # Server-side
4 <reply>
5 <data>
6 HTTP/1.1 503 OK swsbounce
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Content-Length: 21
10 server not available
11 </data>
12 <data1>
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Content-Length: 3
16 Connection: close
19 </data1>
21 <datacheck>
22 HTTP/1.1 200 OK
23 Date: Thu, 09 Nov 2010 14:49:00 GMT
24 Content-Length: 3
25 Connection: close
28 </datacheck>
30 </reply>
33 # Client-side
34 <client>
35 <server>
36 http
37 </server>
38  <name>
39 HTTP GET --retry on 503 error with output to file
40  </name>
41  <command>
42 http://%HOSTIP:%HTTPPORT/198 --retry 1000
43 </command>
44 </client>
47 # Verify data after the test has been "shot"
48 <verify>
49 <strip>
50 ^User-Agent:.*
51 </strip>
52 <protocol>
53 GET /198 HTTP/1.1
54 Host: %HOSTIP:%HTTPPORT
55 Accept: */*
57 GET /198 HTTP/1.1
58 Host: %HOSTIP:%HTTPPORT
59 Accept: */*
61 </protocol>
63 </verify>
64 </testcase>