tizen 2.3.1 release
[external/curl.git] / tests / data / test530
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 pipelining
6 multi
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 <data1>
13 HTTP/1.1 200 OK\r
14 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
15 Server: test-server/fake\r
16 Content-Length: 47\r
17 \r
18 file contents should appear once for each file
19 </data1>
20 <data2>
21 HTTP/1.1 200 OK\r
22 </data2>
23 <data3>
24 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
25 </data3>
26 <data4>
27 Server: test-server/fake\r
28 Content-Length: 47\r
29 \r
30 file contents should appear once for each file
31 HTTP/1.1 200 OK\r
32 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
33 Server: test-server/fake\r
34 Content-Length: 47\r
35 \r
36 file contents should appear once for each file
37 HTTP/1.1 200 OK\r
38 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
39 Server: test-server/fake\r
40 Content-Length: 47\r
41 \r
42 file contents should appear once for each file
43 </data4>
44 </reply>
45
46 # Client-side
47 <client>
48 <server>
49 http
50 </server>
51 <tool>
52 lib530
53 </tool>
54  <name>
55 HTTP GET using pipelining
56  </name>
57  <command>
58 http://%HOSTIP:%HTTPPORT/path/530
59 </command>
60 </client>
61
62 # Verify data after the test has been "shot"
63 <verify>
64 <protocol>
65 GET /path/5300001 HTTP/1.1\r
66 Host: %HOSTIP:%HTTPPORT\r
67 Accept: */*\r
68 \r
69 GET /path/5300002 HTTP/1.1\r
70 Host: %HOSTIP:%HTTPPORT\r
71 Accept: */*\r
72 \r
73 GET /path/5300003 HTTP/1.1\r
74 Host: %HOSTIP:%HTTPPORT\r
75 Accept: */*\r
76 \r
77 GET /path/5300004 HTTP/1.1\r
78 Host: %HOSTIP:%HTTPPORT\r
79 Accept: */*\r
80 \r
81 </protocol>
82 </verify>
83 </testcase>