[Webtest] [webtest][JIRA] Created: (WT-246) WebTest reads the proxy settings
configured with setproxy but the nonproxyhosts are not considered
John Lockhart (JIRA)
John Lockhart (JIRA)" <noreply@canoo.com
Mon, 27 Nov 2006 09:35:41 +0100 (CET)
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: 2.0, 1.6
Reporter: John Lockhart
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