View and customize online monitor graphs

This topic describes how to open monitor graphs in the Online Dashboard, and customize their display.

Before you begin, the relevant monitoring environments must be configured. For details, see Configure monitors.

For details on the available graphs, see Monitor and graph types.

Adding monitor graphs to the display

By default, LoadRunner Professional displays the following graphs in the graph display area of the Run tab:

  • Runtime Graphs > Running Vusers

  • Transaction Graphs > Transaction Response Time

  • Web Resource Graphs > Throughput

  • Web Resource Graphs > Hits per Second

To add additional graphs, expand the category nodes in the Graphs tree on the left of the Run tab. Select a graph's checkbox to add it to the graph display area on the right.

The graph display area can contain up to 9 graphs at the same time.

Tip: If the Graphs tree is not displayed, click the Expand arrow (>) on the left side of the graph display area. To hide the graph tree, click the Collapse arrow (<) on the right side of the graph tree.

Back to top

Managing the Graphs tree (left pane)

Tip: Graph names that are displayed in purple contain data. To only see the graphs that contain measurements, switch the filter at the top of the tree from All to With Data. You can also search for a specific graph.

Right-click a checked graph in the Graphs tree, and select one of the following menu commands:

Settings

Configure what a graph displays. For details, see Configuring graphs.

Duplicate

Make a copy of a graph.

Delete

After duplicating a graph, click to delete the copy.

You cannot delete an original, out-of-the-box graph.

Details

Show the selected graph in full-screen mode. Click the — in the top right of the pane to return to the multi-graph view.

Rename

Rename a graph.

Back to top

Managing the graph display area (right pane) 

In the graph display area, click the Configuration button. The graph menu can include the following menu commands:

Settings

Configure the graph settings. For details, see Configuring graphs.

Duplicate

Make a copy of a graph.

To rename a duplicated graph, click the duplicated graph's title and type the new name.

Delete

Enabled only for duplicated graphs. After duplicating a graph, click to delete the copy.

You cannot delete an original, out-of-the-box graph.

Pause / Continue

Select Pause to pause a graph during a scenario run. To resume, select Continue.

When resumed, the graph displays the data for the paused period as well.

Merge Graphs

Combine the results of two graphs from the same scenario into a single graph. The merging enables you to compare several different measurements at once.

Select Merge Graphs, and then drag the current graph on top of another graph. A new graph is created, containing the measurements of both graphs.

Export to HTML

Create an HTML version of the selected graph for offline viewing at a later stage.

Note that LoadRunner Professional generates a snapshot image of the selected graph. For optimal results, enlarge or maximize a graph, and then export it to HTML.

To export all the graphs in the display area, click the Export Graphs to HTML button in the upper right corner. (This is enabled when you are showing multiple graphs, and not one graph expanded.)

Add Measurements

When there are measurements available to add to a graph, this enables you to select measurements to display.

Note that you can also click on the Add Measurements button inside the graph itself.

Tip: To reorganize the graph display area, drag and drop graphs to the required location.

Back to top

Configuring graphs

You can customize the type of graph display, and what to display on the x-axis and y-axis.

  • To configure a selected graph, click Settings in the graph's menu.

  • To rename a graph, click on its title.

  • To configure all graphs, click the Graphs Settings button in the upper right corner of the graph display area.

In the right pane of the graph display area, define the following:

Description
Displays the graph's default description.
Graph Time
Indicates the scale for a graph's x-axis when it is time-based. A graph can show 60 to 3600 seconds of activity. To see the graph in greater detail, decrease the graph time. To view the performance over a longer period of time, increase the graph time. The available graph times are Whole Load Test, Last 60 seconds, Last 180 Seconds, Last 600 Seconds, and Last 3600 seconds.
Time
Specifies how the graph displays the time (in seconds) on the x-axis:
  • Don't Show. Instructs LoadRunner Professional not to display values for the x-axis.

  • Clock Time. Displays the absolute time, based on the system clock.

  • Relative to Scenario Start. Displays the time relative to the beginning of the scenario.

    Note:
  • If no step is running, the clock time is displayed.
  • The time display can be set only for all graphs globally, not per individual graph.

Click Save to apply your changes.

Back to top

Viewing graph measurements

To expand a graph and show its measurements, do one of the following:

  • Right-click a graph in the Graphs tree, and click Details.

  • From the graph display area, double-click a graph, or select a graph and click the Maximize graph button. To restore the previous view, double-click the maximized graph or click the Minimize graph button.

Note: The graphs display information only once the scenario starts running. No data is received or recorded when the scenario is not running.

You can zoom in on a graph, which changes the scale of the graph's axes to show the measurements in greater detail. You can also select a specific area of a graph to zoom in on.

  • To zoom in on a graph, hold the Shift key and click the graph.
  • To zoom out, hold the Alt key and click the graph.
  • To zoom in on a specific area of a graph, hold the Shift key, and click and drag the mouse to select the relevant area of the graph.

To show, highlight, or hide a measurement in a graph, select the checkbox to the left of the measurement in the graph legend. All measurements are shown by default.

Back to top

Configuring measurement settings

You can customize the appearance and scale of measurements in a graph.

To customize appearance and scale:

  1. Expand the graph to display the legend containing the measurements.

  2. Select one or more of the measurements in the legend.

  3. Right-click and select an option from the menu.

    The following menu options are available:

    Settings

    You can modify the following:

    • Color. Click the dropdown to select a color to assign to the selected measurement. (This option is not available when more than one measurement is selected.)
    • Automatic. Select the Automatic checkbox to enable Controller to scale the selected measurements automatically. Controller calculates the best ratio for displaying them in the graph.

      (This option is not available for some graphs.)

    • Scale. Manually define the relationship between the y-axis and the actual value of the selected measurements. For example, a scale of 1 indicates that the measurement's value is the value of the y-axis. If you select a scale of 10, you must multiply the y-axis value by 10 to obtain the true value of the measurement.

    Click Save to apply your changes.

    Show Only Selected The graph displays only the currently selected measurements.
    Show/Hide Show or hide the selected measurements.
    Keep the Legend Sorted

    If you select this option, the order of measurements changes in real time based on the selected column. For example, if you click the Max column to sort by the maximum value, the measurements are always listed from the highest to the lowest, based on their Max column value.

Back to top

See also: