Hi David,

This is the header of an allTests.xml I'm using, it sets up a configurable
properties file that describes in which environment we run the test suite:
local, dev, acceptance, etc. You can see that local is kinda default and the
host property can be overruled from the command line.

        ...
        <!-- default setup -->
        <property name="host" value="local" />
        <property name="mode" value="console" />
        
        <!-- these are used by test info -->
        <property name="environment.server" value="${host}" />
        <property name="environment.mode" value="${mode}" />
        
        <property
file="../properties/environment/server/${environment.server}.properties"/>
        ...

Hope this helps, Avander.
-- 
View this message in context: 
http://www.nabble.com/environment-specific-port-number-for-webtest-tp24649917p24676804.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to