test2502 (2014B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP/3 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/3 51 </features> 52 <server> 53 http/3 54 </server> 55 <tool> 56 lib%TESTNUMBER 57 </tool> 58 <name> 59 HTTP GET multiple over HTTP/3 60 </name> 61 <command> 62 https://%HOSTIP:%HTTP3PORT/path/%TESTNUMBER %HOSTIP %HTTP3PORT %CERTDIR/certs/test-ca.cacert 63 </command> 64 </client> 65 66 # Verify data after the test has been "shot" 67 <verify> 68 <protocol crlf="yes"> 69 GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0001 HTTP/1.1 70 Host: %HOSTIP:%HTTPPORT 71 Accept: */* 72 Via: 3 nghttpx 73 74 GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0002 HTTP/1.1 75 Host: %HOSTIP:%HTTPPORT 76 Accept: */* 77 Via: 3 nghttpx 78 79 GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0003 HTTP/1.1 80 Host: %HOSTIP:%HTTPPORT 81 Accept: */* 82 Via: 3 nghttpx 83 84 GET https://localhost:%HTTP3PORT/path/%TESTNUMBER0004 HTTP/1.1 85 Host: %HOSTIP:%HTTPPORT 86 Accept: */* 87 Via: 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>