Validation parameters
In the Virtual User Parameters box, the Validation parameters group box makes it possible to modify the operational conditions of the validation process:
- Load generator
- Cache management
- Browser profile
- Network conditions
Load Generator
By default, the localhost Load Generator is used for the Virtual User validation. It may be necessary however to use a remote Load Generator instead. For example, changing the local Local Generator for an remote one can be required to access an application stored in a secured environment.
The Load Generator drop-down list allows checking the Virtual User with one of the Load Generators available in the test scenario.
Cache management
Initializing the cache when the Virtual Users are started can be defined in three behaviors in the Handle Cache drop-down list:
- As recorded: The Virtual Users cache behavior is the same as in the scenario recording.
- New user: The Virtual Users are started with an empty cache to simulate users who have never visited the application.
- Returning user: The Virtual User cache is up to date. The application does not return any response which contains information that is already cached.
Browser profile
The Browser dialog makes it possible to define a browser profile used by the selected User Path. It may prove relevant to use a specific browser profile for a load test when the content of the server response depends on the browser used.
The Available browser profiles list makes it possible to select one of the following profiles:
- Recorded one is the default option. It is the browser used when recording the scenario. As soon as a parameter is modified, it automatically switches to Customized.
- Customized is applied when one or more specific parameters are set on a listed profile.
- a pre-configured profile carries default values according to the simulated browser. The Search field above is useful to filter the profiles list. A pre-defined profile can serve as a frame to set a Customized one.
Additional pre-configured browsers can be specified in the C:\Program Files (x86)\NeoLoad 5.5\conf\pickers\browser_profiles folder. However, it is easier to configure a Customized profile in the Browser dialog when the need is specific.
When a browser profile is selected, the Parameters group box displays its default and additional parameters:
- HTTP/2: Checking this box enables the HTTP/2 protocol on the selected browser profile.
SPDY is no longer supported and has been replaced by HTTP/2. The focus of HTTP/2 protocol is on performance; specifically, end-user perceived latency, network and server resource usage. One major goal is to allow the use of a single connection from browsers to a Web site. For more information about HTTP/2, see https://http2.github.io/.
- Handle cookies: Selecting the check box activates the ability for Virtual Users to handle cookies. Deactivating cookies helps check that the application can be used with a browser whose cookies management is deactivated, and force the server to use the URL rewriting facility to keep the session alive.
- Parallel connections: This field makes it possible to set the number of HTTP1 connections which may be opened simultaneously on the remote server by one Virtual User.
- User agent: In this field, the authenticating HTTP User Agent headers of the browser can be specified.
Network conditions
A click on the picker button of the WAN Emulation field displays the WAN Emulation dialog box.
The WAN Emulation function is useful to simulate degraded network conditions with latency periods and packet loss percentages.
WAN Emulation requires a driver or module to be installed. See Installation.
In the WAN Emulation dialog box, the Available WAN Emulation profiles list makes it possible to select one of the following profiles:
- Unlimited is the default option. It is bandwidth, latency, and packet loss free, meaning that no WAN Emulation is applied. As soon as a parameter is modified, it automatically switches to Customized.
- Customized is applied when one or more specific parameters are set on an Unlimited profile or a pre-configured one.
- a pre-configured profile carries default real-world values according to the simulated protocol. The Search field above is useful to filter the profiles list. A pre-defined profile can serve as a frame to set a Customized one.
The values for the network conditions applicable in the tests are configured in the Parameters group box.
- The Signal strength drop-down list is reserved for mobile networks. The Good selection stands for the highest real uploading and downloading values in Mbps for the selected network type. The other Average and Poor options suggest signal measures (66% and 33% respectively). Custom values can be entered in the fields beneath according to the quality of the local mobile network.
- In the Upload and Download fields, custom bandwidth values can be specified in Kbps or Mbps.
- In the Upload latency and Download latency fields, custom latency values in ms can be entered or set with the field sliders. The values specified here are additional simulated latency measures: The IT architecture may generate its own latency, according to the location of the NeoLoad Controller, the NeoLoad Load Generators, and the application itself.
- In the Upload packets dropped and Download packets dropped fields, custom packet loss percentage values can be entered or set with the field sliders.
A click on the OK button closes the WAN Emulation box.
- Warning: The WAN Emulation parameters are left aside when a connection error occurs. When a Load Generator generates NL-NETWORK-* errors, additional latency values are ignored when the connection is lost between the Load Generator and the server.
For more information about the WAN Emulation facility, see WAN emulation.
Measure network characteristics from a computer The easiest way to measure the latency and packet loss rate between a computer and a server is to use the ping command with enough requests to get a reliable number of packets lost. For example ping –n 100 www.myserver.com to send 100 packets.
When each packet has been sent, the program displays the statistics for response times (latency) and the number of packets sent, received and lost.
The latency given is a round-trip latency. It is necessary to divide the measure by two to get a sound approximation of upload and download latency.
Measure network characteristics from a mobile device A number of free mobile applications are available on mobile stores to send the same Ping commands as it can be done on computers. For example, Free Ping is one application on iOS.
These programs displays the statistics for response times (latency) and the number of packets sent, received and lost.
The latency given is a round-trip latency. It is necessary to divide the measure by two to get a sound approximation of upload and download latency.
Home