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