About
On the Network Analytics tab of the test results screen, you can see the network statistics of your test steps and analyze the steps by using the built-in AI.
To collect data for Network Analytics, LoadNinja automatically selects a “sentinel virtual user” (typically, one of the first VUs created during the run) and collects statistics for that user on all the iterations.
The statistics include the time spent making requests and loading web resources, the number of bytes received, and other data. This information is represented as bar and pie charts.
To view the network statistics:
-
Click the Network Analytics tab.
-
Select the test step you want to analyze from the drop-down menu and click Analyze:
-
A bar chart representing the step run statistics will open. Click an iteration number on the timeline to see a bar chart for that iteration:
The bottom part of the editor shows information about requests sent to the server during the test step execution. The requests that failed are shown in red, successfully executed ones are in green.
To view the details of a request , hover the mouse over its chart bar. LoadNinja will show a pie chart with detailed information on the DOM load time, the time it took to connect to the server, the request and response times, the time it took to load the resource, and other info.
Chart legend
The bar and pie charts have the following legend:
Value | Description |
---|---|
Stalled |
The time the request spent waiting before it could be sent. |
DNS Time |
The time spent performing a DNS lookup, that is, obtaining the IP address of the website from a DNS server. |
Connect Time |
The time spent performing a TCP handshake, that is, establishing a connection to a web server after the DNS lookup. |
Request Time |
The time it takes to send a request to the server and to get a response from it. |
Response Time |
The total time passed from the moment when the client sent the composed request until the moment when the page’s HTML code got downloaded. |
DOM Load Time |
The total time it took to load and construct the DOM. The DOM is considered completed when the DOMContentLoaded event starts. |
The total time it took to fully load the page, as well as all the resources it referred to, to the Document Object Model (DOM). The page is considered fully loaded when the |
Filter and group results
You can filter out the displayed metrics. To do that, use the Filter by drop-down menu:
-
Navigation — show charts for the URLs that were loaded first.
-
Link — show charts for resources containing links to external files.
-
Script — show charts for resources containing scripts or references to external scripts.
-
Img — show charts for resources containing images.
-
CSS — show charts for resources that refer to style sheets.
-
Select All to view charts for all the resources of the page:
You can also view the total time spent loading the page resources and the total number of bytes received during the step run. To do this, click . In this view, you can group the metrics by:
-
Host name — group data by hosts.
-
Path — group data by page resources.
-
File type — group data by the types of downloaded files.
-
Protocol — group data by the protocols used.
-
A custom regular expression — specify the path to the resource you want to group data by:
Find possible issues
To analyze your step and find possible network issues:
-
Click Identify Anomalies next to the Filter by field:
-
Click Analyze in the subsequent window:
The built-in AI will analyze your step and provide a solution if it finds some issues. If you confirm the solution has helped resolve the issue, the AI will "remember" it and will offer the solution for similar issues in the future.
Here are examples of generated reports:
Download (export) data
To download the displayed data, click one of the following buttons:
Button | Downloaded data |
---|---|
A ZIP archive that includes –
|
|
Download Iteration CSV | A ZIP archive with metrics for the currently selected iteration. |