Imported Upstream version 7.59.0
[platform/upstream/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
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake
16 Content-Length: 47
17
18 file contents should appear once for each file
19 </data1>
20 <data2>
21 HTTP/1.1 200 OK
22 </data2>
23 <data3>
24 Date: Thu, 09 Nov 2010 14:49:00 GMT
25 </data3>
26 <data4>
27 Server: test-server/fake
28 Content-Length: 47
29
30 file contents should appear once for each file
31 HTTP/1.1 200 OK
32 Date: Thu, 09 Nov 2010 14:49:00 GMT
33 Server: test-server/fake
34 Content-Length: 47
35
36 file contents should appear once for each file
37 HTTP/1.1 200 OK
38 Date: Thu, 09 Nov 2010 14:49:00 GMT
39 Server: test-server/fake
40 Content-Length: 47
41
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
66 Host: %HOSTIP:%HTTPPORT
67 Accept: */*
68
69 GET /path/5300002 HTTP/1.1
70 Host: %HOSTIP:%HTTPPORT
71 Accept: */*
72
73 GET /path/5300003 HTTP/1.1
74 Host: %HOSTIP:%HTTPPORT
75 Accept: */*
76
77 GET /path/5300004 HTTP/1.1
78 Host: %HOSTIP:%HTTPPORT
79 Accept: */*
80
81 </protocol>
82 </verify>
83 </testcase>