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.
- If you have not created a deployment location:
- Open the schedule containing the user group that to run at that location.
- Click the Location tab.
- Click Add, and enter the location data.
- If you have created a deployment location, open the location in the Test Navigator. Deployment locations are represented by the
icon.
- Under Property Groups, click the General Properties link, and then click Add.
- In the New Property window:
- In the Property Name field, type RPT_VMARGS.
- In the Operator field, confirm that the operator is =.
- 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.
![]()
- 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.
- To set the user groups to run at that location, open the schedule, and for each user group in the schedule:
- Select the user group.
- In the Locations tab, click Run this group on the following locations.
- 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