test1092 (802B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 HTTP 6 HTTP GET 7 HTTP proxy 8 type= 9 </keywords> 10 </info> 11 # 12 # Server-side 13 <reply> 14 <data> 15 HTTP/1.0 200 OK 16 Date: Tue, 09 Nov 2010 14:49:00 GMT 17 Server: test-server/fake swsclose 18 Content-Type: text/html 19 Funny-head: yesyes 20 21 contents 22 </data> 23 </reply> 24 25 # 26 # Client-side 27 <client> 28 <server> 29 http 30 </server> 31 <features> 32 ftp 33 proxy 34 </features> 35 <name> 36 FTP with type=i over HTTP proxy 37 </name> 38 <command> 39 "ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i" --use-ascii -x %HOSTIP:%HTTPPORT 40 </command> 41 </client> 42 43 # 44 # Verify data after the test has been "shot" 45 <verify> 46 <protocol> 47 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i HTTP/1.1 48 Host: %HOSTIP:%HTTPPORT 49 User-Agent: curl/%VERSION 50 Accept: */* 51 Proxy-Connection: Keep-Alive 52 53 </protocol> 54 </verify> 55 </testcase>