xref: /curl/tests/data/test2502 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP/3
6multi
7verbose logs
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data1 crlf="yes">
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: server.example.com
17Content-Length: 47
18
19file contents should appear once for each file
20</data1>
21<data2>
22HTTP/1.1 200 OK
23Date: Tue, 09 Nov 2010 14:49:00 GMT
24Server: server.example.com
25Content-Length: 47
26
27file contents should appear once for each file
28</data2>
29<data3>
30HTTP/1.1 200 OK
31Date: Tue, 09 Nov 2010 14:49:00 GMT
32Server: server.example.com
33Content-Length: 47
34
35file contents should appear once for each file
36</data3>
37<data4>
38HTTP/1.1 200 OK
39Date: Tue, 09 Nov 2010 14:49:00 GMT
40Server: server.example.com
41Content-Length: 47
42
43file contents should appear once for each file
44</data4>
45</reply>
46
47# Client-side
48<client>
49<features>
50http/3
51</features>
52<server>
53http
54http/3
55</server>
56<tool>
57lib%TESTNUMBER
58</tool>
59<name>
60HTTP GET multiple over HTTP/3
61</name>
62<command>
63https://%HOSTIP:%HTTP3PORT/path/%TESTNUMBER %HOSTIP %HTTP3PORT
64</command>
65</client>
66
67# Verify data after the test has been "shot"
68<verify>
69<protocol crlf="yes">
70GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0001 HTTP/1.1
71Host: %HOSTIP:%HTTPPORT
72Accept: */*
73Via: 3 nghttpx
74
75GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0002 HTTP/1.1
76Host: %HOSTIP:%HTTPPORT
77Accept: */*
78Via: 3 nghttpx
79
80GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0003 HTTP/1.1
81Host: %HOSTIP:%HTTPPORT
82Accept: */*
83Via: 3 nghttpx
84
85GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0004 HTTP/1.1
86Host: %HOSTIP:%HTTPPORT
87Accept: */*
88Via: 3 nghttpx
89
90</protocol>
91<strip>
92^Host:.*
93</strip>
94<file name="%LOGDIR/stderr%TESTNUMBER" mode="text">
95* Connection #0 to host localhost left intact
96* Connection #0 to host localhost left intact
97* Connection #0 to host localhost left intact
98* Connection #0 to host localhost left intact
99</file>
100<stripfile>
101$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
102</stripfile>
103</verify>
104</testcase>
105