Runtime Graphs Overview

The Runtime monitor provides information about the status of the Vusers participating in the scenario, and the number and types of errors that the Vusers generate. In addition, the Runtime monitor provides the User-Defined Data Points graph, which displays the real time values for user-defined points in a Vuser script.

The Runtime monitor is enabled by default—it automatically begins monitoring Vusers at the start of a scenario.

You can view the following Runtime monitor graphs during a scenario run.

Running Vusers Graph

The monitor's Running Vusers graph provides information about the status of the Vusers running in the current scenario on all load generator machines. The graph shows the number of running Vusers, while the information in the legend indicates the number of Vusers in each state.

The Status field of each Vuser displays the current status of the Vuser. The following table describes each Vuser status.

Status Description
Running
The total number of Vusers currently running on all load generators.
Ready
The number of Vusers that completed the initialization section of the script and are ready to run.
Finished
The number of Vusers that have finished running. This includes both Vusers that passed and failed.
Error
The number of Vusers whose execution generated an error. Check the Status field in the Vuser view or the Output window for a complete explanation of the error.

Back to top

User-Defined Data Points Graph

The User-Defined Data Points graph displays the real-time values of user-defined data points. You define a data point in your Vuser script by inserting an lr_user_data_point function at the appropriate place (user_data_point for GUI Vusers and lr.user_data_point for Java Vusers).

Action1()
{
    lr_think_time(1);
    lr_user_data_point ("data_point_1",1);
    lr_user_data_point ("data_point_2",2);
    return 0;
}

For Vuser protocols that support the graphical script representations such as Web, you insert a data point as a user-defined step. Data point information is gathered each time the script executes the function or step. For more information about data points, see the Function Reference.

By default, LoadRunner displays all of the data points in a single graph. The legend provides information about each data point. If desired, you can hide specific data points using the legend below the graphs.

You can also view data points offline, after the completion of the scenario. For more information, see the HP LoadRunner Analysis User Guide.

Back to top

Error Statistics Graph

The monitor's Error Statistics graph provides details about the number of errors that accrue during each second of the scenario run. The errors are grouped by error source—for example, the location in the script or the load generator name.

Back to top

Vusers with Errors Graph

The Vusers with Errors graph provides details about the number of Vusers that generate errors during scenario execution. The errors are grouped by error source.

Back to top