Continuous use of Insights will also enable the performance trending functionality to keep track of how the performance of your system changes over time. This is good for spotting performance regressions before they become a larger problems, ensuring you are within SLAs for requests and more, depending on your use case/need.
The Insights page is divided into these 5 sections:
- Performance overview
- Test breakdown structure
- URL table
The top of the page provides a breadcrumb menu and a quick test overview.
The breadcrumb menu allows to quickly navigate between the latest runs of the test, the test page or all the tests in the current project.
The test overview shows the test length, number of maximum VUs, and the status of the test. If the test is running; live metrics such as the current number of active VUs and time will be displayed. When the test is done, the status will be updated based on the results of your thresholds.
Performance overview panel contains:
- a chart with VU ramping, response time and requests/second metrics
- the number of failed thresholds
- the number of failed checks
- the number of failed requests
Note: Checks are different than thresholds and will not mark your test as failed; see how to setup thresholds to determine the test outcome.
The filter section will help you to:
- Filter results by user tags and system tags.
- Change data aggregation that is used in test breakdown structure and analysis panels
Test breakdown structure
The breakdown tree section contains your test script in a visual way; most of the components (thresholds, groups, requests...) that you've added in your script will be represented in the same order in the breakdown structure. This section will help you to:
- Find failing errors: checks, thresholds and requests.
- Find the slowest/fastest groups and requests.
- Visualize custom metrics.
- Drilling down check, custom and request metrics.
The analysis section is where you analyze selected metrics. The section will help you to:
- Get a quick overview of some metrics: VUs, response time and check failure aggregation.
- Visualise custom metrics.
- Compare and analyze metrics from the breakdown section.
The URL-table section is where you can get a raw overview of the URLs in your test. It will help you to:
- Get an overview of all the URLs tested in your k6 test.
- Identify which URLs are returning good and/or bad status codes.
- Sort the URLs by different column values.
- Filter the URLs by k6 tags.