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> 50http/2 51SSL 52</features> 53<server> 54http/2 55</server> 56<tool> 57lib%TESTNUMBER 58</tool> 59<name> 60HTTP GET multiple files over HTTP/2 using HTTPS 61</name> 62<command> 63https://%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"> 70GET /path/%TESTNUMBER0001 HTTP/1.1 71Host: %HOSTIP:%HTTPPORT 72Accept: */* 73X-Forwarded-Proto: https 74Via: 2 nghttpx 75 76GET /path/%TESTNUMBER0002 HTTP/1.1 77Host: %HOSTIP:%HTTPPORT 78Accept: */* 79X-Forwarded-Proto: https 80Via: 2 nghttpx 81 82GET /path/%TESTNUMBER0003 HTTP/1.1 83Host: %HOSTIP:%HTTPPORT 84Accept: */* 85X-Forwarded-Proto: https 86Via: 2 nghttpx 87 88GET /path/%TESTNUMBER0004 HTTP/1.1 89Host: %HOSTIP:%HTTPPORT 90Accept: */* 91X-Forwarded-Proto: https 92Via: 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> 109