Base code merged to SPIN 2.4
[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\r
12 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
13 Server: test-server/fakem\r
14 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT\r
15 Content-Type: text/html\r
16 Content-Length: 12\r
17 Connection: close\r
18 \r
19 Hello World
20 </data>
21
22 <datacheck>
23 HTTP/1.1 200 OK\r
24 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
25 Server: test-server/fakem\r
26 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT\r
27 Content-Type: text/html\r
28 Content-Length: 12\r
29 Connection: close\r
30 \r
31 HTTP/1.1 200 OK\r
32 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
33 Server: test-server/fakem\r
34 Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT\r
35 Content-Type: text/html\r
36 Content-Length: 12\r
37 Connection: close\r
38 \r
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>