Configuring multiple host names for a location

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.

Procedure

To configure multiple host names for a location:

  1. 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
  2. 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:

    hosts file with two remote locations
  3. Create two deployment locations that have names identical to the names you added in the hosts file:
    1. Open the schedule that contains the user group that you want to run on multiple hosts.
    2. Open the user group, and click the Location tab.
    3. Click Add > Add New, and enter the location data. Make sure the locations have different directories (in this example, they are tempa and tempb).

      Location tab for a user group.
    4. Click Finish.