+

Search Tips   |   Advanced Search


SIP - Running tests on computers with multiple network addresses

If computer uses multiple network addresses, tell the SIP test which one to use.

For example, a computer might use both Internet Protocol versions (IPv4 and IPv6), or might use one version with multiple addresses assigned to it. The SIP test listens to this address when you start the test run, and it adds the address, as needed, to headers that it sends. You bind the SIP test to a single IP address by setting the properties of a deployment location, and then setting the user groups in a schedule to run at that location.

  1. If you have not created a deployment location:

    1. Open the schedule containing the user group that to run at that location.

    2. Click the Location tab.

    3. Click Add, and enter the location data.

  2. If you have created a deployment location, open the location in the Test Navigator. Deployment locations are represented by the

    icon.

  3. Under Property Groups, click the General Properties link, and then click Add.

  4. In the New Property window:

    1. In the Property Name field, type RPT_VMARGS.

    2. In the Operator field, confirm that the operator is =.

    3. In the Property Value field, type -DSIPBindToNetworkIP=ip_address. The property value is case-sensitive, and ip_address is the address to which the SIP test will bind. If you are using Internet Protocol version 6, enclose the IP address in brackets. The following New Property window binds the SIP test to an IPv6 address, which is in brackets.

    4. Click OK.

    To set multiple RPT_VMARGS values for a location, place them in the same property entry and separate them with a space. Do not use multiple property entries to set multiple RPT_VMARGS values for a location.

  5. To set the user groups to run at that location, open the schedule, and for each user group in the schedule:

    1. Select the user group.

    2. In the Locations tab, click Run this group on the following locations.

    3. Select the location that you bound to the IP address in the previous steps.


Results

During a schedule run, one SIP implementation is assigned per location (per JVM). Therefore, after you bind the location to a specific IP address, all tests that run from that location must conform to that address. A schedule cannot run a test at that location that is bound to a different IP address.

To enable several agents to run on the same computer, set RPT_VMARGS to bind to a network port. For more information, see Configure different ports for a SIP location.


Related

  • SIP test editor overview
  • Add SIP contexts
  • About SIP headers
  • Add sequence patterns to SIP tests


    Related tasks

  • Configure background registration
  • Configure a test to use the TLS transport
  • Create a SIP counterpart test
  • Configure different ports for a SIP location
  • Verify expected behavior