test1528 (954B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 HTTP CONNECT 7 HTTP proxy 8 proxytunnel 9 </keywords> 10 </info> 11 12 # Server-side 13 <reply> 14 <connect> 15 HTTP/1.1 200 OK 16 We-are: good 17 18 </connect> 19 <data> 20 HTTP/1.1 200 OK swsclose 21 Date: Tue, 09 Nov 2010 14:49:00 GMT 22 Server: test-server/fake 23 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 24 ETag: "21025-dc7-39462498" 25 Content-Length: 5 26 27 stop 28 </data> 29 30 </reply> 31 # Client-side 32 <client> 33 <server> 34 http 35 http-proxy 36 </server> 37 <tool> 38 lib%TESTNUMBER 39 </tool> 40 <name> 41 Separately specified proxy/server headers sent in a proxy GET 42 </name> 43 <command> 44 http://the.old.moo:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT 45 </command> 46 <features> 47 proxy 48 </features> 49 </client> 50 51 # Verify data after the test has been "shot" 52 <verify> 53 <proxy> 54 GET http://the.old.moo:%HTTPPORT/%TESTNUMBER HTTP/1.1 55 Host: the.old.moo:%HTTPPORT 56 Accept: */* 57 Proxy-Connection: Keep-Alive 58 User-Agent: Http Agent 59 Proxy-User-Agent: Http Agent2 60 61 </proxy> 62 </verify> 63 </testcase>