[Webtest] [webtest][JIRA] Created: (WT-38) Provide support for proxy with authentication

Paul Devine (JIRA) webtest@lists.canoo.com
Thu, 14 Apr 2005 16:25:23 +0200 (CEST)


Provide support for proxy with authentication
---------------------------------------------

         Key: WT-38
         URL: http://webtest-community.canoo.com/jira/browse/WT-38
     Project: WebTest
        Type: New Feature
 Environment: Any environment where the web application being tested is accessed through a proxy server (typically a corporate firewall.)
    Reporter: Paul Devine
 Attachments: src_changes.zip

Webtest version 1.7 (R751) does not support going through an proxy (either with or without authentication.) Requesting the ability to add this capability to webtest.  The underlying htmlunit/httpclient support this feature.

The attached 2 files provide a solution:
1. `Configuration` was enhanced with proxyHost, proxyPort, proxyUser, and proxyPassword.  Now, a user may specify these attributes in the <config> element of their ant test script.
2. `Setup` was modified so that it instantiates a new htmlunit WebClient either with or without proxy support depending on the configuration.

Other info:  If you need a proxy server for testing the feature, a decent free tool is `proximotron` http://www.proxomitron.info/index.html.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira