14 messages in com.canoo.lists.webtestRE: [Webtest] <setProxy..> versus <co...| From | Sent On | Attachments |
|---|---|---|
| Marc Guillemot | 21 Oct 2005 04:02 | |
| Marc Guillemot | 24 Oct 2005 05:05 | |
| Dierk Koenig | 24 Oct 2005 05:21 | |
| paul...@visi.com | 24 Oct 2005 07:46 | |
| Marc Guillemot | 25 Oct 2005 00:30 | |
| Dierk Koenig | 25 Oct 2005 01:42 | |
| Dierk Koenig | 25 Oct 2005 01:47 | |
| Marc Guillemot | 25 Oct 2005 02:06 | |
| Paul Devine | 25 Oct 2005 05:41 | |
| Richard HALLIER | 25 Oct 2005 06:06 | |
| Dierk Koenig | 25 Oct 2005 06:28 | |
| Paul King | 25 Oct 2005 17:20 | |
| Steve Nahm | 26 Oct 2005 09:35 | |
| Marc Guillemot | 27 Oct 2005 03:06 |
| Subject: | RE: [Webtest] <setProxy..> versus <config...><proxy../></config>![]() |
|---|---|
| From: | paul...@visi.com (paul...@visi.com) |
| Date: | 10/24/2005 07:46:48 AM |
| List: | com.canoo.lists.webtest |
Me too. It should make more sense to an ant user new to Webtest. You'll deprecate the <proxy> then, right?
- Paul
Quoting Dierk Koenig <dier...@canoo.com>:
I fully agree. Mittie
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com]On Behalf Of Marc Guillemot Sent: Montag, 24. Oktober 2005 14:06 To: webt...@lists.canoo.com Subject: Re: [Webtest] <setProxy..> versus <config...><proxy../></config>
No comments?
Waiting for some answers, I've added support for setproxy (available in build >= 1017) without deprecating config/proxy.
Marc.
Marc Guillemot wrote:
Hi,
since integration of Paul Devine's patch, webtest can be configured to use a proxy:
<config ....> <proxy host="..." port="..." [user="..." [password="..."]]/> </config>
Ant has already a task to set proxy configuration: <setProxy .../> (http://ant.apache.org/manual/OptionalTasks/setproxy.html) This task sets some system properties that are currently absolutely not considered by webtest+htmlunit+commons-httpclient.
I think that we should try to "use" this standard <setProxy/> rather than reinventing the wheel. It would make webtest more natural to use for experimented ant users.
In this case this would mean to deprecate the nested <proxy> task and that webtest should read the http.proxy* system properties that may have been set by the standard <setProxy../> task to properly configure the webclient before starting a webtest.
As we want to allow in the future any kind of ant tasks to be nested between webtest steps, we will have to take care to possible changes to proxy settings. I think that ant's API allows to track such events using BuildListener and that it therefore shouldn't be a motivation not to use <setProxy>.
Any comments?
Marc.
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




