Add and configure virtual locations
You create virtual locations in Controller, and then include them in your scenarios or tests. You can also use predefined virtual locations.
Predefined virtual locations
NV includes a number of predefined virtual locations. Each predefined virtual location includes parameters that define a common network testing environment. You can select one of these predefined locations when you configure scenarios or tests.
Note: You cannot edit, delete, or rename a predefined location.
Virtual location name | Latency [ms] |
Packet loss [%] |
Bandwidth-in [kb/s] |
Bandwidth-out [kb/s] |
---|---|---|---|---|
2.5G Busy | 300 | 0.5 | 128 | 56 |
3G Busy | 200 | 0.5 | 384 | 128 |
3G Typical | 120 | 0 | 512 | 256 |
3G Good | 80 | 0 | 2,000 | 512 |
4G Good | 40 | 0 | 10,000 | 7,500 |
AUS to US EC (Australia to U.S. East Coast) |
120 | 0.5 | 4,000 | 2,000 |
China to US EC | 210 | 1.0 | 4,000 | 2,000 |
India to US EC | 160 | 0.5 | 5,000 | 2,000 |
London to US EC | 55 | 0 | 10,000 | 4,000 |
Satellite | 0 | 0 | 2,000 | 1,000 |
Add a virtual location
Add a new virtual location in the Virtual Location Settings dialog box.
To add a virtual location:
- In Controller, in the toolbar, click the Show Virtual Location Settings button
.
- In the dialog box, click an empty cell in the Virtual Location column.
-
Enter a name for the virtual location.
Note: Non-English characters are not supported in virtual location names. The following special characters are not supported in virtual location names or descriptions:
\ / : “ ? ‘ < > | * % ^ , ! { } ( ) ; = #
-
Click the corresponding empty cell in the Description column and enter a description.
- Click the Configure button to configure the settings of the virtual location. For details, see Configure a virtual location.
Configure a virtual location
You can configure the settings for a virtual location manually, or by importing the network profile parameters from a file. When you import parameters from a file, more network profile parameters are available than when you configure the settings manually.
Note: The NV Global Library was deprecated in an earlier version. You cannot access it or use it to configure virtual locations, even if it appears in the UI.
To configure a virtual location manually:
-
In Controller, in the toolbar, click the Show Virtual Location Settings button
.
-
Select a virtual location from the list and click the Configure button.
-
Select Custom to manually configure the settings.
If you are changing the settings for a previously configured virtual location, click Edit to edit the network profile parameters or runtime settings.
-
Define the network profile parameters. For details, see Network profile parameters.
When you have finished, click Next.
-
Define the runtime settings. For details, see Virtual location runtime settings.
When you have finished, click Next.
-
Review the summary and click OK.
To import settings from a file:
-
Prerequisite: Create a network profile file in .ntx or .ntxx format. For details, see Configure NV profiles with the Network Editor.
-
Create a new virtual location. For details, see Add a virtual location.
-
Select the new virtual location from the list and click the Configure button.
-
In the dialog box, select Import from a file.
-
Click Browse and select the relevant .ntx or .ntxx file.
-
If the file contains more than one flow for the network, select the relevant flow from the list of flows.
Network profile parameters
The following network profile parameters are available when you configure a virtual location manually.
Parameter | Details |
---|---|
Latency | The amount of time that it takes for an IP packet to travel across the network, from the client to the server, or from server to client. The valid range is 0 to 8,000 msec. |
Packet Loss | The percentage of IP packets that are sent through the network, but do not reach their destination. The valid range is 0 to 100%. |
Download Bandwidth | The maximum throughput through the network, in KBs per second, for data traveling from the server to the client. |
Upload Bandwidth | The maximum throughput through the network, in KBs per second, for data traveling from the client to the server. |
To define additional parameters for a virtual location, create an NV profile using NV Network Editor, and then import the parameters from the profile. For details, see Configure NV profiles with the Network Editor.
Virtual location runtime settings
Some runtime settings are set globally, while others are set for each individual location. For details on runtime settings set globally, see Virtual location common settings.
The following runtime settings are available for individual virtual locations.
Parameter | Details |
---|---|
Bandwidth allocation |
Define whether the specified network bandwidth is shared by all Vusers on the load generator, or is available to each individual Vuser.
Note:
|
Packet capture |
Specify whether packets are captured on the load generator. You can then use the NV Insights report to analyze the captured packets. You can enable this option only if packet capture has been enabled globally for the scenario or test. For details, see Virtual location common settings. Note: Capturing packets is relevant only when a Vuser group (that is associated with a specific virtual location) contains only a single Vuser. |
Exclude these IPs |
Specify a list of IP addresses to which network impairments are not applied when the scenario or test runs. For details and examples, see Exclude a machine from NV. IP filters can be set individually per virtual location, or globally for all virtual locations in a scenario or test. |
Virtual location common settings
You can set some runtime settings globally for all virtual locations in the scenario or test.
To define common settings for all virtual locations:
- In Controller, in the toolbar, click the Show Virtual Location Settings button
.
- In the dialog box, click the Common Settings button.
-
Define the global settings.
Setting Details Enable packet capture Turn on to capture the packets that are transferred across the network while the scenario or test runs.
You must enable packet capture in the global settings in order to enable packet capture for individual virtual locations in the scenario or test.
Note: Packet capture uses disk space on the load generator. Depending on your packet capture settings, each test can save a packet list of up to 1GB. Consider configuring the NV cleanup threshold to clean the captured packets, or do a manual cleanup as needed. For details on setting the cleanup threshold, see Customize NV settings.
Max packet list size The maximum memory space that is allocated on each load generator in the scenario or test to store captured packets. The default maximum is 300 MB per load generator.
Note: The total packet list size cannot be more than 25% of the RAM on the load generator.
For details on customizing the default maximum size, see Customize NV settings.
Recording method Define what happens when packets are captured and the maximum total packet size is reached.
- Cyclic: When the maximum total packet size is reached, the oldest packets are erased, and the newest packets continue to be recorded.
- Non-cyclic: When the maximum total packet size is reached, new packets are no longer recorded.
Exclude these IPs Enables you to specify a list of IP addresses to which network impairments are not applied when the scenario or test runs. For details and examples, see Exclude a machine from NV.
IP filters can be set individually per virtual location, or globally for all virtual locations in a scenario or test.
- Click Finish.
See also: