[Webtest] [webtest][JIRA] Closed: (WT-246) WebTest reads the proxy settings configured with setproxy but the nonproxyhosts are not considered

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Thu, 22 Feb 2007 18:09:28 +0100 (CET)


     [ http://webtest-community.canoo.com/jira/browse/WT-246?page=all ]
     
Marc Guillemot closed WT-246:
-----------------------------

    Fix Version: future versions
     Resolution: Fixed
      Assign To: Marc Guillemot

Fixed in build 1497.

> WebTest reads the proxy settings configured with setproxy but the nonproxyhosts are not considered
> --------------------------------------------------------------------------------------------------
>
>          Key: WT-246
>          URL: http://webtest-community.canoo.com/jira/browse/WT-246
>      Project: WebTest
>         Type: Bug

>     Versions: 1.6, 2.0, 2.1
>     Reporter: John Lockhart
>     Assignee: Marc Guillemot
>      Fix For: future versions

>
> When using the Ant command:
> <setproxy proxyhost="127.0.0.1" proxyport="5865" nonproxyhosts="aklia781"/> 
> in a WebTest the nonproxyhosts bit doesn't seem to work.
> Marc says "I think that you've hit a current limitation of WebTest. WebTest just reads the proxy settings configured with setproxy but doesn't rely on this mechanism. As far as I remember, the nonproxyhosts are not considered currently (perhaps htmlunit couldn't handle it at the time we've introduced this functionality in  WebTest)."
> and recommended as a workaround the groovy step:
> <groovy description="finer proxy configuration">
> step.context.webClient.addHostsToProxyBypass("aklia781")
> </groovy>
> I tried this workaround and it resolves the issue, but looks like a fix to WebTest is required.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira