Map a domain name to an ip address, bypassing the normal DNS lookup for the specified name.
This is an advanced feature which is useful in a web farm enviroment, where a given domain name could by served to a set of servers. By specifying which ip address the domain name maps to, its often possible to specify which server will service the requests. This requires knowing details of the web farm, and on how load balancing or fallover is implemented.
(this will work where each server has a specific ip for http requests, which is reachable from your network; if you have problems, try to verify this by specifying the http headers, using a tool such as wfetch or even telnet)
This feature is also useful for testing on a laptop, when on the move. A similar effect for laptops can be acheived in a less convenient way by modifying your hosts file
<steps> <suite name="setOfTests"> ... a set of tests ... </suite > <domain name="xmltestsuite.sourgeforge.net" value="10.0.0.1"/> <run suite="setOfTests" /> <domain name="xmltestsuite.sourgeforge.net" value="10.0.0.2"/> <run suite="setOfTests" /> <domain name="xmltestsuite.sourgeforge.net" value="10.0.0.2"/> <run suite="setOfTests" /> </steps>
EMPTY
Attribute Value(s) Default Value name The domain name, e.g. xmltestsuite.sourceforge.net
CDATA#REQUIRED query An sql database query; the first column of the first row will be used
CDATA#IMPLIED stepid CDATA #IMPLIED value The ip to which the variable should be set. Variable expansion is performed, but there is no arithmetic evaluation
CDATA#IMPLIED
Empty
steps -- This element contains all the test steps.
suite -- Define a set of steps which can be "called" from a run element.
with -- Group together a set of steps that use the same page definition.
Top Elements || All Elements || Tree