You can run several
locations on the same computer by configuring multiple host names
for a location. This configuration affects all tests running at that
location; all tests will run with the configured port.
About this task
To configure multiple host names for a location:
Procedure
- Open the hosts file,
which maps IP addresses to hosts, with an ASCII editor. On
Windows, the hosts file is in C:\\Windows\system32\drivers\etc\hosts.
On Linux, the hosts file is in \etc\hosts
- At the end of the hosts
file, add your IP mappings. Use one IP address, but map it to two
(or more) logical host names. For example, you could
add map the IP address 123.4.5.6. to two logical hosts, as show in
the bottom two lines:
- Create
two deployment locations that have names identical to the names you
added in the hosts file:
- Open the schedule that contains the user group that
you want to run on multiple hosts.
- Open the user group, and click the Location tab.
- Click , and enter the location data. Make sure
the locations have different directories (in this example, they are
tempa and tempb).
- Click .