Setting Monitor Options - LoadRunner

Before running your scenario, LoadRunner lets you configure the settings for your online monitors. You can set the data sampling rate, error handling, debugging, and frequency settings for the online monitors. When you save a scenario, the online monitor configuration settings are saved as well.

To set monitor options:

  1. Choose Tools > Options and select the Monitors tab.

    To set monitor options

  2. Ensure that Enable Transaction Monitor is selected (default setting), and specify the frequency at which the monitor should send updates to the Controller for the Transaction, Data Point, and Web Resource graphs. To conserve resources, you can disable the Transaction monitor by clearing the Enable Transaction Monitor check box.
    Note: You cannot modify these settings during scenario execution; you must stop the scenario before disabling the monitor or changing its frequency.
  3. Enter a sampling rate
  4. Set the desired Error Handling option.
  5. To display debug messages in the Output window, select the Display debug messages check box. For the Network monitor, specify a Debug level from 1-9.
  6. Click OK to save your settings and close the Options dialog box.
    You can configure an additional monitor setting while working in Expert mode.

Understanding the Options - Monitors Tab

The Monitors Tab lets you enable the Transaction monitor, configure the behavior of the transaction data, and set the data sampling rate, error handling, debugging, and frequency settings for the online monitors.

Transaction Data: Configures the behavior of data for the Transaction, Data Point, and Web Resource online graphs.

  • Enable Transaction Monitor: Enables the online Vuser Transaction monitor to begin monitoring transactions at the start of a scenario.
  • Frequency: Select the frequency, in seconds, at which the online monitor samples the data to produce the Transaction, Data Point, and Web Resource online graphs. The default is 5 seconds. For a small scenario, it is recommended that you use a frequency of 1. For a large scenario, it is recommended that you use a frequency of 3-5. The higher the frequency, the less network traffic there will be. The data is averaged for the frequency period defined, and only one value is sent to the Controller.

Server Resource Monitors: Configures the behavior of the Server Resource monitors.

  • Data Sampling Rate: The sampling rate is the period of time (in seconds) between consecutive samples. Enter the rate at which LoadRunner samples the scenario for monitoring data. By efault, the online monitor samples the data at intervals of three seconds. If you increase the sampling rate, the data is monitored less frequently. This setting applies to all graphs. To set a sampling rate for a specific graph, see “Configuring Graph Properties”.

Note: The data sampling rate you set is applied to all server monitors that you subsequently activate. It is not applied to server monitors that have already been activated. To apply the new data sampling rate to activated server monitors, save your scenario and reopen it.
Each monitor has a different minimum sampling rate. If the default sampling rate, or the rate set in the Options Monitors tab is less than a monitor’s minimum sampling rate, the monitor will sample data at intervals of its minimum sampling rate. For example, the minimum sampling rate for the Oracle Monitor is 10 seconds. If the sampling rate in the Options Monitors tab is set at less than 10 seconds, the Oracle Monitor will continue to monitor data at 10 second intervals.

Error Handling: Controls the way in which LoadRunner issues error messages. Select one of the following options

  • Send errors to the Output window: Sends all errors to the Output window
  • Pop-up an error message box: Sends errors to a message box (default). To dismiss the message box, click OK.
    Debug: For debugging a scenario, you can set the following option:

Display debug messages: Sends debug-related messages to the output log. You can also specify a debug level from 1-9. The debug level is only relevant to the Network monitor.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

LoadRunner Topics