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