> For the complete documentation index, see [llms.txt](https://docs.perfagents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perfagents.com/user-guide/load-test-orchestration/trend-analysis-and-baseline.md). Agents can also search and read this documentation through its [MCP server](https://docs.perfagents.com/~gitbook/mcp).

# Trend Analysis and Baseline

{% hint style="info" %}
The Trend Analysis section becomes available when a load test has at least two completed executions. <br>

The following conditions apply:&#x20;

* Minimum Completed Runs: A load test must have at least two completed executions to access Trend Analysis.
* Aborted Executions: Aborted test executions are not considered for Trend Analysis.&#x20;
* Failed Executions: Failed test executions are not considered for Trend Analysis.&#x20;
* Baseline Requirement: Configuring a baseline is not mandatory to access Trend Analysis. Users can view historical performance charts and the comparison table if the load test has at least two completed executions.
  {% endhint %}

The Trend Analysis section allows users to compare performance across multiple load test executions, helping identify performance improvements, regressions, and variations between test runs.

It provides a consolidated view of historical test execution metrics through visual charts and a detailed comparison table. Users can establish a completed test run as a baseline and use it as a reference point to evaluate subsequent executions.

### Navigation to Trend Analysis&#x20;

Users can access the Trend Analysis section through multiple locations in the application:

* **Load Test View:** Users can navigate to Trend Analysis from the selected load test when the minimum completed execution requirement is satisfied.
* **Results Dashboard:** While viewing the results of an individual test execution, users can navigate to the Trend Analysis page to compare the execution with other completed runs of the same load test.

### Baseline Configuration

The Baseline Configuration section allows users to select a completed test execution as a reference point for future performance comparisons.\
\
Users can set or unset a baseline through multiple locations:

* **Load Test Extended View:** Users can access the baseline setting and unsetting options from the extended view that appears when selecting a particular load test.
* **Results Dashboard:** Users can also set or unset the baseline directly from the Results Dashboard of an individual test execution.
* **Trend Analysis Section:** Users can also set or unset a baseline run directly from the Trend Analysis section.

Once a baseline is configured, users can use that execution as a reference point to compare subsequent test runs and identify changes in performance.

### Test Run Information

At the top of the section, users can view the basic information associated with the selected load test.

The following details are displayed:

* Test Name: Displays the name of the load test being analyzed.
* Description: Displays the description provided for the load test.
* Tags: Displays the tags associated with the load test, if configured.
* Last Executed: Displays when the load test was last executed.

This information helps users identify the load test whose historical execution performance is being analyzed.

### Baseline Performance Metrics

When a baseline is set, the section displays the aggregate performance metrics of the baseline run. These values serve as the benchmark for comparing other test executions.

<table><thead><tr><th width="214.6900634765625">Metric</th><th width="507.5">Description</th></tr></thead><tbody><tr><td>Average Response Time</td><td>The average time taken by the application to process requests during the baseline run.</td></tr><tr><td>Peak VUs </td><td>The maximum number of virtual users reached during the baseline run.</td></tr><tr><td>Throughput</td><td>The number of requests processed per second during the baseline run.</td></tr><tr><td>Error Rate</td><td>The percentage of requests that resulted in errors during the baseline run.</td></tr><tr><td>Success Rate</td><td>The percentage of requests that were processed successfully during the baseline run.</td></tr></tbody></table>

### Performance Trend Evaluation

Users can analyze historical data using two primary interactive formats:

* **Performance Trend Charts :** A visual breakdown of key performance indicators over time.
* **Trend Analysis Tables:** A structured, granular data view comparing individual metric values across runs.

To isolate performance bottlenecks and accurately measure optimizations, the dashboard provides a customizable filtering and comparison capabilities:

* **Overall / API & Transaction Filtering:** Users can evaluate overall aggregate performance across an entire test suite or drill down into the behavioral trends of specific APIs, individual transactions, or endpoint routes.
* **Run-Level Comparative Analysis:** Flexible filtering allows users to isolate and directly compare specific test execution runs.

### Performance Trend Charts

The Performance Trend Charts section provides a visual comparison of key performance metrics across multiple test executions.

Each chart represents a specific performance metric, allowing users to identify trends and variations between different runs.

The following charts are available:

* **Virtual Users:** Displays the number of virtual users associated with each test execution, helping users compare the load applied across different runs.
* **Response Time:** Displays the response time recorded during each execution, allowing users to identify improvements or degradation in application response time.
* **Throughput (TPS):** Displays the number of transactions processed per second, helping users understand how the application's request-processing capacity changes across executions.
* **Error Rate (%):** Displays the percentage of failed requests during each test execution, allowing users to identify variations in application reliability.
* **Number of Requests:** Displays the total number of requests processed during each execution.
* **Failed Requests:** Displays the total number of requests that failed during each test execution.

Users can analyze these charts to understand how application performance changes across test runs and identify potential performance degradation.

### Trend Analysis Table

The Trend Analysis Table provides a detailed, tabular comparison of performance metrics across individual test executions.

It allows users to examine the actual metric values recorded during each run, making it easier to identify differences between executions.

The table includes the following information:

* **Test Run:** Displays the name or identifier of the individual test execution.
* **VUs:** Displays the number of virtual users configured or used during the execution.
* **Requests:** Displays the total number of requests processed.
* **Failed:** Displays the total number of failed requests.
* **Error %:** Displays the percentage of requests that resulted in errors.
* **Avg RT:** Displays the average response time in milliseconds.
* **Min:** Displays the minimum response time recorded.
* **Max:** Displays the maximum response time recorded.
* **P90 RT**: Displays the 90th percentile response time, indicating the response time within which 90% of requests were completed.
* **Throughput:** Displays the number of requests processed per second.
* **Actions:** Provides the option to view the detailed results of an individual test execution.

\
This table provides a structured view of historical performance data, allowing users to compare individual executions and investigate performance variations.
