xref: /curl/tests/data/test2502 (revision e61c5eb4)
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/3
54</server>
55<tool>
56lib%TESTNUMBER
57</tool>
58<name>
59HTTP GET multiple over HTTP/3
60</name>
61<command>
62https://%HOSTIP:%HTTP3PORT/path/%TESTNUMBER %HOSTIP %HTTP3PORT
63</command>
64</client>
65
66# Verify data after the test has been "shot"
67<verify>
68<protocol crlf="yes">
69GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0001 HTTP/1.1
70Host: %HOSTIP:%HTTPPORT
71Accept: */*
72Via: 3 nghttpx
73
74GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0002 HTTP/1.1
75Host: %HOSTIP:%HTTPPORT
76Accept: */*
77Via: 3 nghttpx
78
79GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0003 HTTP/1.1
80Host: %HOSTIP:%HTTPPORT
81Accept: */*
82Via: 3 nghttpx
83
84GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0004 HTTP/1.1
85Host: %HOSTIP:%HTTPPORT
86Accept: */*
87Via: 3 nghttpx
88
89</protocol>
90<strip>
91^Host:.*
92</strip>
93<file name="%LOGDIR/stderr%TESTNUMBER" mode="text">
94== Info: Connection #0 to host localhost left intact
95== Info: Connection #0 to host localhost left intact
96== Info: Connection #0 to host localhost left intact
97== Info: Connection #0 to host localhost left intact
98</file>
99<stripfile>
100$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
101</stripfile>
102</verify>
103</testcase>
104