Hi Michael,

why don't you use the 'nonproxyhosts' attribute:

http://ant.apache.org/manual/OptionalTasks/setproxy.html



Cheers,
Thomas


-----Original Message-----
From: Michael Habbert [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 23. März 2007 15:47
To: [EMAIL PROTECTED]
Subject: [Webtest] proxy definition

Hi Webtester,

I do have a special task - extending the usual needs.
I our project we do - beside webtests - a lot of other stuff ;-)
So we do call a grinder-task for load testing each night 
(http://grinder.sourceforge.net/). usually 
after some changes in the webtest we do have a failure caused by the grinder, 
so we thought about 
using our webtest to record the grinder-run each night.

To record the grinder-script I have to use a proxy. So I will run the tests 
once a night with the 
proxy and the rest of the day without. I do know the config-option:

<setproxy proxyhost="firewall" proxyport="81"/>

but I do not want to extend each of our test.

Is there a reason webtest only considers System.properties?

com.canoo.webtest.engine.Configuration.java
-------------
         String proxyHost = System.getProperty("http.proxyHost");
         if (proxyHost != null && proxyHost.length() > 0) {
------------

I would suggest do expand the Configuration to take care for 
ant-proxy-properties, so I'm able to 
define a proxy in the upper build.xml (once) and hand it over to the single 
webtest-file. Which is 
btw. the default for calling:

                <ant antfile="description.xml"/>

InheritAll is true as default.

thanks,

Michael

-- 
Mit freundlichen Grüßen
------------------------------------------------------------------------
Michael Habbert
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to