About the Graphs
The SLA graphs show the number of violations that occur when the page load time, time to first byte (for HTTP requests) and duration (for WebSocket messages) values exceed the threshold values:
-
The Page SLA Violations graph shows the number of times a page was downloaded longer than the specified Max Page Load Time value.
-
The Request SLA Violations graph shows the number of times LoadComplete was waiting for a server response, was simulating a WebSocket client message, or was receiving a WebSocket server message longer than the specified SLA criterion value.
Requirements
To view the graphs in the test log, specify the needed threshold values before running a test or verifying a scenario.
You can specify threshold values for the entire load test or for individual pages, requests, and WebSocket messages in scenarios your load test simulates. The threshold values you specify for individual pages, requests, and messages will also affect scenario verification. See below.
Setting Thresholds for Individual Pages, Requests, and WebSocket Messages
These thresholds are active during scenario verification and during the test run. To view the graphs, specify an SLA value for the needed Page, Request, WebSocket Client Message, and WebSocket Server Message operations in your scenarios.
-
Open the needed scenario in the Scenario editor.
-
Locate the Page, Request, WebSocket Client Message or WebSocket Server Message operation for which you want to set an SLA criterion.
-
Enter the needed value in the SLA edit box on the operation toolbar.
For Page operations, the SLA value sets the maximum acceptable page load time.
For Request operations, the SLA value sets the maximum acceptable time to first byte.
For Web Socket operations, the SLA value sets the maximum acceptable duration, that is, the time it takes LoadComplete to send or receive a message respectively.
-
Save the changes.
-
Re-run your test or re-verify your scenario.
Note: You can also set the SLA criterion for other operations. It will correspond to the maximum acceptable operation duration. However, this value will not affect the graphs.
Setting Thresholds for a Load Test
LoadComplete will use these thresholds for all pages, requests and WebSocket messages in all the scenarios your load test simulates (provided, the SLA criteria for these pages, requests and messages are not specified in the scenario).
-
Open your test for editing.
-
Switch to the SLA page of the test.
-
Specify the Max Page Load Time or the Max Time to First Byte value (or both).
Note: The Max Time to First Byte value will be applied to HTTP requests and WebSocket messages in your tests.
-
Save the changes.
-
Re-run your test.
See Also
Page SLA Violations Graph
Request SLA Violations Graph
Pass / Fail Page of the Report Panel
About Test Results
Resolving Errors and Warnings
Test Result Panels