Web page diagnostics
LoadRunner Professional can collect web page diagnostics data to help you assess the performance of web pages in your script and analyze any problematic elements, like images that download slowly or broken links.
About web page diagnostics
During a scenario run, LoadRunner Professional can collect performance-related data for each monitored web page in your script. This data includes the download time and size of each page and its components.
After the scenario run, you can view the collected data in the offline Web Page Diagnostics graphs in Analysis. For details, see Web Page Diagnostics graphs.
Note: When preparing a Web HTTP/HTML Vuser script for which you want to perform web page diagnostics, it is recommended that you create an HTML-based script using the Recording tab in the recording options. For details, see the Virtual User Generator Help Center (select the relevant version).
Configure web page diagnostics
The data for the diagnostics is collected automatically. You can disable data collection, or configure the percentage of sampling data, in the Diagnostics Distribution dialog box. The settings that you configure are per scenario, so all scripts in the scenario will run under the same diagnostics configuration.
Note: The Diagnostics Distribution dialog box is disabled during scenario execution. Any changes must be made before you run the scenario.
To configure web page diagnostics:
- In Controller, select Diagnostics > Configuration to open the Diagnostics Distribution dialog box.
-
To enable the collection of data, the following settings are required:
-
The Enable the following diagnostics check box is selected.
-
A tick
is displayed to the left of Web Page Diagnostics. If a tick is not displayed, click the Enable button.
-
-
Select the percentage of Vusers in the scenario to be sampled for diagnostics, up to 10%.
For more details, see Diagnostics Distribution dialog box.
Diagnostics Distribution dialog box
The Diagnostics Distribution dialog box enables you to configure web page diagnostics settings.
To access this dialog box, in Controller, select Diagnostics > Configuration.
UI Element | Description |
---|---|
Enable the following diagnostics | Enables diagnostics data collection (enabled by default). |
For X% of all the relevant Vusers in the current scenario |
Specifies the percentage of Vusers for which you want to collect diagnostics data. This value determines how many of the transactions on the application server are reported to Controller. Reducing this percentage will reduce the overhead on the application server. The percentage can be 1–10% (integer values), and a minimum sample of 1 Vuser is used per scenario group. Example: The sample percentage for a scenario is 10%.
When the scenario is run, Vusers collecting web page diagnostic data are marked with the |
![]() |
Indicates that web page diagnostics collection is disabled. To enable, click the Enable button. |
![]() |
Indicates that web page diagnostics collection is enabled. To disable, click the Disable button. |
See also: