Hi Marc,
actually we do have a lot of theses:
<!--
==========================================================================================
-->
<!-- == LAUNCH CREATECONTRACTOR
-->
<!--
==========================================================================================
-->
<import file="imports/createContractor.xml" />
<target name="launchCreatecontractor">
<ant antfile="${webtest.launch.xml}">
<property file="properties/createcontractor.properties" />
</ant>
</target>
and a main target in the same build-file:
<target name="usecases1" description="run usecase-tests part 1 - first do the main
creation.">
<antcall target="launchCreatecontractor" />
[...]
</target>
So if I define a proxy in this build.xml inside the imported xml-files with the single
target-definitions there isn't any knowledge of the proxy any more ;-/
System.property is gone! (with or without a new jvm ;-)
So forget about the starting jvm ;-). In fact: I was not able to configure the proxy in the main
build.xml file to convince the webtest to take the configured proxy.
Michael
Marc Guillemot wrote:
You didn't tell that you start a new JVM. Why do you do that? Can't you
pass the proxy properties there?
Marc.
Michael Habbert wrote:
Hi Marc,
yes, I traced the problem down last week and the only explanation was:
If I set the proxy by ant-task: <setproxy> in the upper build.xml, they
are not available in the lower build.xml and therefore the webtests are
not aware of the proxy.
As far as I know the ant-task(proxy) adds the property to the
system.properties useable for this jvm. A newly started jvm starts with
the clean collection of system.properties, nothing about the proxy.
Michael
[...]
--
Mit freundlichen Grüßen
------------------------------------------------------------------------
Michael Habbert
Senior Developer
Netpioneer GmbH, Beiertheimer Allee 18, D-76137 Karlsruhe
Geschäftsführer: Axel Jahn
HRB: 107521 Handelsregister Mannheim
Tel: 0721 / 920 60 21
Fax: 0721 / 920 60 30
E-Mail: [EMAIL PROTECTED]
www: http://www.netpioneer.de
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest