Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1511
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 </keywords>
6 </info>
7
8 # Server-side
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Date: Thu, 09 Nov 2010 14:49:00 GMT
13 Server: test-server/fakem
14 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
15 Content-Type: text/html
16 Content-Length: 12
17 Connection: close
18
19 Hello World
20 </data>
21
22 <datacheck>
23 HTTP/1.1 200 OK
24 Date: Thu, 09 Nov 2010 14:49:00 GMT
25 Server: test-server/fakem
26 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
27 Content-Type: text/html
28 Content-Length: 12
29 Connection: close
30
31 HTTP/1.1 200 OK
32 Date: Thu, 09 Nov 2010 14:49:00 GMT
33 Server: test-server/fakem
34 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
35 Content-Type: text/html
36 Content-Length: 12
37 Connection: close
38
39 Hello World
40 </datacheck>
41
42 </reply>
43
44 # Client-side
45 <client>
46 <server>
47 http
48 </server>
49 <features>
50 http
51 </features>
52 <tool>
53 lib1511
54 </tool>
55 <name>
56 HTTP GET time conditions in repeated requests
57 </name>
58 <command>
59 http://%HOSTIP:%HTTPPORT/1511
60 </command>
61 </client>
62
63 # Verify data after the test has been "shot"
64 # TEST_ERR_SUCCESS is errorcode 120
65 <verify>
66 <errorcode>
67 120
68 </errorcode>
69 </verify>
70 </testcase>