• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP/2
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>
50h2c
51SSL
52</features>
53<server>
54http
55http/2
56</server>
57<tool>
58lib%TESTNUMBER
59</tool>
60 <name>
61HTTP GET multiple over HTTP/2
62 </name>
63 <command>
64https://%HOSTIP:%HTTP2TLSPORT/path/%TESTNUMBER %HOSTIP %HTTP2TLSPORT
65</command>
66</client>
67
68# Verify data after the test has been "shot"
69<verify>
70<protocol crlf="yes">
71GET /path/%TESTNUMBER0001 HTTP/1.1
72Host: %HOSTIP:%HTTPPORT
73Accept: */*
74X-Forwarded-Proto: https
75Via: 2 nghttpx
76
77GET /path/%TESTNUMBER0002 HTTP/1.1
78Host: %HOSTIP:%HTTPPORT
79Accept: */*
80X-Forwarded-Proto: https
81Via: 2 nghttpx
82
83GET /path/%TESTNUMBER0003 HTTP/1.1
84Host: %HOSTIP:%HTTPPORT
85Accept: */*
86X-Forwarded-Proto: https
87Via: 2 nghttpx
88
89GET /path/%TESTNUMBER0004 HTTP/1.1
90Host: %HOSTIP:%HTTPPORT
91Accept: */*
92X-Forwarded-Proto: https
93Via: 2 nghttpx
94
95</protocol>
96<strip>
97^Host:.*
98</strip>
99<file name="log/stderr%TESTNUMBER" mode="text">
100* Connection #0 to host localhost left intact
101* Connection #0 to host localhost left intact
102* Connection #0 to host localhost left intact
103* Connection #0 to host localhost left intact
104</file>
105<stripfile>
106$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
107</stripfile>
108</verify>
109</testcase>
110