test1181 (728B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP proxy 6 </keywords> 7 </info> 8 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.1 200 OK 13 Server: Blafasel/5.0 14 Date: Sat, 16 Jan 2021 14:48:30 GMT 15 Content-Length: 12 16 17 Bla bla bla 18 </data> 19 20 </reply> 21 22 # Client-side 23 <client> 24 <server> 25 http 26 </server> 27 <features> 28 proxy 29 </features> 30 <name> 31 HTTP GET request with proxy and "Proxy-Connection: Keep-Alive" 32 </name> 33 <command> 34 --proxy http://%HOSTIP:%HTTPPORT --proxy-header "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/%TESTNUMBER 35 </command> 36 </client> 37 38 <verify> 39 <protocol> 40 GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1 41 Host: %HOSTIP:%HTTPPORT 42 User-Agent: curl/%VERSION 43 Accept: */* 44 Proxy-Connection: Keep-Alive 45 46 </protocol> 47 </verify> 48 </testcase>