Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 208012

Summary: [runtime][filetransfer][test] test proxy configurations
Product: [RT] ECF Reporter: Scott Lewis <slewis>
Component: ecf.testAssignee: ecf.test-inbox <ecf.test-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal, pawel.pogorzelski1, rellermeyer
Version: 1.2.0Keywords: plan
Target Milestone: 2.0.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
filetransfer behind an http proxy, test results
none
filetransfer behind a socks proxy, test results none

Description Scott Lewis CLA 2007-10-30 10:59:20 EDT
This is a bug for filetransfer test results associated with ECF and platform proxy  and authentication testing.

Note that most of the testing will focus on two providers, org.eclipse.ecf.provider.filetransfer.httpclient, and org.eclipse.ecf.provider.filetransfer.
Comment 1 Jan S. Rellermeyer CLA 2007-10-31 05:54:08 EDT
HTTP Proxy Tests

Setup: 

(ECF Client) -> (Gateway with squid proxy) -> Internet

Configuration: 

Ran tests in the described setup and with the following additional VM arguments:

-Dhttp.proxyHost=<gateway> -Dhttp.proxyPort=3128

Comment 2 Jan S. Rellermeyer CLA 2007-10-31 05:55:07 EDT
Created attachment 81702 [details]
filetransfer behind an http proxy, test results
Comment 3 Jan S. Rellermeyer CLA 2007-10-31 05:56:26 EDT
Socks Proxy Tests

Setup: 

(ECF Client) -> (Gateway with dante socks4/5 proxy) -> Internet

Configuration: 

Ran tests in the described setup and with the following additional VM arguments:

-DsocksProxyHost=<gateway> -DsocksProxyPort=1080
Comment 4 Jan S. Rellermeyer CLA 2007-10-31 05:57:39 EDT
Created attachment 81703 [details]
filetransfer behind a socks proxy, test results
Comment 5 Scott Lewis CLA 2007-12-06 16:32:50 EST
As per bug #181544, we've now got the URLConnection-based provider (org.eclipse.ecf.provider.filetransfer) and the apache httpclient-based provider (org.eclipse.ecf.provider.filetransfer.httpclient) using the platform-provided proxy information (org.eclipse.core.net bundle in 3.3) for setting up the proxy for file transfer.

I would appreciate it if sometime in the future people could try this out as well...first to look for regression (make sure previous tests continue to work), as well as run with a workspace set with the preferences pointing to the appropriate proxy.  I don't have access to a proxy where I am now (either socks or http).

ECF will do an integration build this friday (Dec 7) and this integration build will include this new capability.  Can be used for p2 3.4M4 if desired.
Comment 6 Scott Lewis CLA 2008-05-23 16:15:33 EDT
changing target milestone
Comment 7 Scott Lewis CLA 2010-06-06 20:56:09 EDT
We've added proxy-based tests.