# 9.4 - Appvance Reporting

Appvance Reporting — Knowledge Base articles.

# AIQ Reporting Knowledge Base Overview

Last updated: October 16, 2026

# All the reports can be viewed by user roles?

Yes all the reports can be viewed by all the users.

There is no restrictions on viewing the reports as per the user.

Admin user can view all the executions of all the users.

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Root Cause Analysis Reports

# **Are Root Cause Analysis (RCA) reports available?**

Appvance provides basic monitoring capabilities and can integrate with Application Performance Monitoring (APM) tools such as AppDynamics, New Relic, and Dynatrace.

These integrations can provide monitoring data from approximately **30 seconds before and after a failure**, helping identify the conditions surrounding the failure.

Appvance does not automatically generate a complete Root Cause Analysis report. The monitoring data can be used by developers and support teams, together with application logs and APM data, to investigate and determine the underlying root cause.

---

**Last updated:** August 27, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Can the Script Repository and Results Database Reside in One Location?

**Can the script repository and results database reside in one location and be accessed remotely from another location, such as storing them in Indianapolis and accessing them from AWS Northern Virginia?**

Yes. The script repository and results database can be hosted remotely and accessed from another location, provided that the required network connectivity and access permissions are available.

However, for performance and load testing, **low network latency between the Controller, load generators, and results database is critical**. For this reason, we recommend hosting the Controller, load generators, and results database in the same AWS region whenever possible.

For the results database, an **AWS RDS instance** can be used to store test results.

The script repository can be hosted in a **Git or SVN repository** and can be accessed remotely by the Appvance environment.

---

**Last updated:** August 17, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Difference Between Step Times and Iteration Summary Reports

The **Step Times Report** provides timing information for the individual steps executed within a test case. It can be used to analyze how long each step takes during test execution.

The **Iteration Summary Report** provides a summary of the results for each completed iteration. It can be used to review the overall execution results and performance of each iteration.

In summary:

- **Step Times Report:** Provides timing details for individual test steps.
- **Iteration Summary Report:** Provides a summary of the results for each iteration.

---

**Last updated:** August 17, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Failure Report

The Failure Report provides information about failures that occur during test execution.

If the same error appears in two entries with different average duration values, the entries represent different levels of timing information:

- **First entry:** Shows the total duration of the complete iteration in which the failure occurred.
- **Second entry:** Shows the duration of the specific step that failed.

For example, if an iteration takes **10 seconds** to complete and the failed step takes **4 seconds**, the Failure Report may show:

<table id="bkmrk-entryaverage-duratio"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Entry

</th><th>Average Duration

</th><th>Description

</th></tr><tr><td>Iteration

</td><td>10 seconds

</td><td>Total time to execute the complete iteration

</td></tr><tr><td>Failed Step

</td><td>4 seconds

</td><td>Time taken to execute the step that failed

</td></tr></tbody></table>

Therefore, the two entries do not represent two separate failures. They provide timing information at two different levels: **the complete iteration and the specific failed step**.

---

**Last updated:** August 17, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Formulas for Total Hits

This article explains how **Total Hits, Total Throughput, Average Hits, and Average Throughput** are calculated in the **Iteration Summary** report.

These metrics provide information about the number of requests generated during a test and the amount of data transferred.

## 1. Total Hits

**Total Hits** represents the total number of requests generated during the test.

**Formula:**

```text
Total Hits = Total Requests
```

For example, if the test generates **125 requests**, the Iteration Summary report shows:

```text
Total Hits = 125
```

> **Note:** A single user action can generate multiple HTTP requests. Therefore, Total Hits does not necessarily represent the number of test steps or user actions.

---

## 2. Total Throughput

**Total Throughput** represents the total amount of data transferred by successful requests during the test.

**Formula:**

```text
Total Throughput = avgSize × success
```

Where:

- **avgSize** = Average size of the response/request data, in KB.
- **success** = Number of successful requests.

### Example

Assume the following values:

```text
Average Size = 2.17 KB
Successful Requests = 25
```

The Total Throughput is calculated as:

```text
2.17 KB × 25 = 54.25 KB
```

Therefore:

```text
Total Throughput ≈ 54.3 KB
```

The result represents the total volume of data calculated from the average size and the number of successful requests.

---

## 3. Average Hits

**Average Hits** represents the average number of requests generated per second during the test.

**Formula:**

```text
Average Hits = Total Hits / Test Duration in seconds
```

### Example

Assume:

```text
Total Hits = 125
Test Duration = 25 seconds
```

The Average Hits is:

```text
125 / 25 = 5 hits/s
```

Therefore:

```text
Average Hits = 5 hits/s
```

This means that the test generated an average of **5 requests per second** during the test duration.

> **Note:** Average Hits is an average value. It does not mean that exactly the same number of requests was generated every second.

---

## 4. Average Throughput

**Average Throughput** represents the average amount of data transferred per second during the test.

**Formula:**

```text
Average Throughput = Total Throughput / Test Duration in seconds
```

### Example

Assume:

```text
Total Throughput = 54.3 KB
Test Duration = 25 seconds
```

The Average Throughput is:

```text
54.3 KB / 25 seconds = 2.172 KB/s
```

Therefore:

```text
Average Throughput ≈ 2.17 KB/s
```

This means that the test transferred an average of approximately **2.17 KB of data per second**.

---

## Summary

The following table summarizes the metrics and their formulas:

<table id="bkmrk-metricdescriptionfor"><colgroup><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Metric

</th><th>Description

</th><th>Formula

</th><th>Unit

</th></tr><tr><td>**Total Hits**

</td><td>Total number of requests generated

</td><td>`<span class="editor-theme-code">Total Requests</span>`

</td><td>Hits/requests

</td></tr><tr><td>**Total Throughput**

</td><td>Total data volume calculated from successful requests

</td><td>`<span class="editor-theme-code">avgSize × success</span>`

</td><td>KB

</td></tr><tr><td>**Average Hits**

</td><td>Average number of requests generated per second

</td><td>`<span class="editor-theme-code">Total Hits / Duration</span>`

</td><td>Hits/s

</td></tr><tr><td>**Average Throughput**

</td><td>Average amount of data transferred per second

</td><td>`<span class="editor-theme-code">Total Throughput / Duration</span>`

</td><td>KB/s

</td></tr></tbody></table>

### Complete Example

For a test with the following results:

```text
Total Requests = 125
Successful Requests = 25
Average Size = 2.17 KB
Test Duration = 25 seconds
```

The metrics are calculated as follows:

```text
Total Hits
= 125 requests
```

```text
Total Throughput
= 2.17 KB × 25
= 54.3 KB
```

```text
Average Hits
= 125 / 25
= 5 hits/s
```

```text
Average Throughput
= 54.3 / 25
= 2.17 KB/s
```

Therefore, the Iteration Summary metrics would be:

```text
Total Hits           = 125
Total Throughput     = 54.3 KB
Average Hits         = 5 hits/s
Average Throughput   = 2.17 KB/s
```

---

**Last updated: September 1, 2026**

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# How does iteration summary report calculate step and testcase average duration

This article illustrates why the summary of individual steps average duration is not equal to the reported test-case average duration.

Appvance IQ takes only success transactions into account for average duration or sizes calculation.

If there is any failures that is encountered during any iteration, that will not be considered in the calculation.

Please consider below example for better understanding.

Scenario has 1 test case which has about 5 steps.

Number of Execution = 4

<div id="bkmrk-test-case-1-4-iterat"> <table> <colgroup> <col></col> <col></col> <col></col> <col></col> <col></col> <col></col> <col></col> </colgroup> <tbody> <tr> <td>Test-case 1

4 Iterations

 </td> <td>Execution 1 (in seconds)</td> <td>Execution 2 (in secods)</td> <td>Execution 3 (in seconds)</td> <td>Execution 4 (in seconds)</td> <td>   
 </td> <td>Step Average Duration - as seen in APC Reports</td> </tr> <tr> <td>STEP 1

 </td> <td>20 </td> <td>21</td> <td>Fail</td> <td>12</td> <td>   
 </td> <td>17.67</td> </tr> <tr> <td>STEP 2

 </td> <td>5</td> <td>7</td> <td>25</td> <td>13</td> <td>   
 </td> <td>12.5</td> </tr> <tr> <td>STEP 3

 </td> <td>Fail</td> <td>8</td> <td>Fail</td> <td>7</td> <td>   
 </td> <td>7.5</td> </tr> <tr> <td>STEP 4

 </td> <td>Fail</td> <td>12</td> <td>11</td> <td>6</td> <td>   
 </td> <td>9.67</td> </tr> <tr> <td>STEP 5

 </td> <td>20</td> <td>23</td> <td>21</td> <td>4</td> <td>   
 </td> <td>17</td> </tr> <tr> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> </tr> <tr> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> </tr> <tr> <td>Transaction Duration</td> <td>FAIL</td> <td>71</td> <td>FAIL</td> <td>42</td> <td>   
 </td> <td>Total from above = 64.34</td> </tr> <tr> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> <td>   
 </td> </tr> </tbody> </table>

 </div>From the above table, with the average duration that is displayed for all the steps, the total step average duration comes up to 64.34 which is what the user is expected to see.

How Appvance IQ works is it considers only the successful iteration, what AIQ will report is 71 + 42 / 2 = 56.5 seconds as the average step duration (as mentioned **AIQ considers only the successful transactions**)

<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# How 90th Percentile Is Calculated in Reports

## Recommended guidance

The 90th percentile is the value below which 90% of measured samples fall. In AIQ reporting, use it to understand typical high-end response time without letting a few extreme outliers dominate the interpretation.

## How to interpret it

- If the 90th percentile response time is 2 seconds, 90% of samples completed in 2 seconds or less.
- The remaining 10% were slower than that value.
- Percentiles should be reviewed with average, median, error rate, throughput, and sample count.
- Small sample sizes can make percentile values unstable.

## Reporting checklist

1. Confirm the metric and transaction represented by the percentile.
2. Check whether failed or timed-out samples are included or excluded.
3. Compare percentile values only between runs with similar data, load, and environment.
4. Use percentiles with charts and logs to identify sustained slowness versus isolated spikes.

*Last updated: October 6, 2026*

# How is step times calculated for test designer scripts?

When users run a Designer script, reports get generated which have two important columns:

Step Times and Request name

These times are ALL generated through the browser you have chosen, and NOT at the API level and APC will start moving on to the next step as soon as it is ready to be used and those reporting times will be reported.

Now here is how we start and stop the clock on both of these:

STEP TIME:

For the step time, the clock starts as soon as we hit a transaction (like a submit button) until the full page has come in and the DOM has settled.

This includes the submit request placed at the UX in the browser, and then all elements coming back, and then all of them being processed by the browser and displayed and then the page is complete. Just as what a user sees.

REQUESTS:

Now at a lower level are the requests. These are requests made in the browser and through the client side code, then to the server, and then a response coming back. We start the timer at the request time and then stop it as soon as the final bit for that element comes INTO the browser. The reason is that many of the elements (like JS elements) will never be “displayed” so this timing includes sending through client side code but stops when the final bit is delivered TO the client side code.

So the transaction times include all browser code in both directions. Including displaying all elements. Page complete. That is the end to end response time including rendering, latency and everything a user experiences.

The "Request name" times (one level down from step/transaction times) include browser code outgoing and then till the last bit arrives to fulfill that element. Whether or not it is displayed as most elements (especially code segments) do not display. That is the only way to make this timing make sense and all be the same basis.

So an API level test should generally appear faster than a UX level test, all else being the same.

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Share AIQ Result Files for Team Review

Use this article when AIQ result files need to be shared with another team for investigation, approval, or customer review.

## Validation workflow

1. Identify the execution/result file and why the receiving team needs it.
2. Review the file for sensitive data, tokens, internal URLs, or customer-only information.
3. Share through the approved channel and include execution context, scenario name, and date.

---

Last updated: September 28, 2026

# Understand TPS in AIQ Scalability Reports

How TPS values are calculated in Appvance IQ scalability report?  
Assuming that reader of this article has fair knowledge in creating the scenarios and viewing the reports. This document is intended to explain how the TPS and Linear TPS values are calculated in scalability report. Below is the scalability report for the TPS calculation.

The formula for calculation is TPS = Test Cases Passed / (duration in seconds).  
From iteration summary report, we will get test cases passed and duration in seconds

  
![VxVlpEdo7GTuCW6Z-86e3c973af3d.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VxVlpEdo7GTuCW6Z-86e3c973af3d.png)

  
Using the above iteration report 7.29 TPS is calculated.  
For 502 (i.e for total users) iteration:  
7.29 TPS = 13259/ (30\*60 + 18) s  
Take the iteration summary \_801 and calculate 10.12 TPS.  
Iteration summary:

![SIdKME5gXiKrEHBW-5a6873c7a89c.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/SIdKME5gXiKrEHBW-5a6873c7a89c.png)

For 802(i.e for total users) iteration:  
18463/ (30\*60 + 24) s=10.12 TPS.

To calculate the Linear TPS:

![I8OCDPzrxxcJxuoD-a55c457e6e52.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/I8OCDPzrxxcJxuoD-a55c457e6e52.png)

  
Linear TPS: 11.65 TPS = 802 \* ( 7.29 / 502)  
Linear TPS= (total users in iteration summary which has linear scalability) \* (TPS of preceding iteration summary/total user in preceding iteration summary).

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 16, 2026

# Download Iteration Summary Reports with AIQ APIs

<span style="color:rgb(85,85,85);">How can we use our API to download iteration reports as CSV based on specific executions?</span>

<span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);">You can use our AppvanceRestClient.jar to get the iteration summary report downloaded to a directory of your choosing. For that, create a Java project adding the following dependencies:</span>  
<span style="color:rgb(85,85,85);">1. AppvanceRestClient.jar</span>  
[https://s3-us-west-2.amazonaws.com/appvance-rest-client/AppvanceRestClient.jar](https://s3-us-west-2.amazonaws.com/appvance-rest-client/AppvanceRestClient.jar)  
<span style="color:rgb(85,85,85);">2. Download this file and extract it. Add all .jars in this zip to your project library:</span>  
[https://s3-us-west-2.amazonaws.com/appvance-rest-client/lib.zip](https://s3-us-west-2.amazonaws.com/appvance-rest-client/lib.zip)  
  
<span style="color:rgb(85,85,85);">Also here is a sample main method which downloads a csv iteration summary report</span></span>

<div id="bkmrk-package-appvancerest" style="border-width:1px;"><div>```
package appvancerestclientdemo;
import com.appvance.enterprise.rest.client.AppvanceRestClient;
import org.json.JSONArray;
public class AppvanceRestClientDemo {
/*
* this will save an iteration summary report in the directory specified. Can be windows or windows path. * look in line for comments on necessary arguments.
*
    public static void main(String[] args) throws Exception {
        AppvanceRestClient arc = new AppvanceRestClient("http://localhost:8080");  // provide your Appvance IQ server dns or ip
        arc.logIn("appvance", "appvance");
        String executionId = "1520546604589"; // get this id when you run your scenario in the output section, like "Execution ID = 1520548008690"        String config = "default"; // this config refers to the database configuration used when running scenario, normally use "default"        JSONArray iterationInfo = arc.getIterations(config, executionId);
        String iterId = iterationInfo.getJSONObject(0).getInt("id")+"";  // gets the id of the fist iteration of your execution
        boolean status = arc.downloadSummaryReport("/Users/oscar/Documents/", config, executionId, iterId); // downloads the CSV or return false 
System.out.println("File download: "+status);
    }
}
```

 </div> </div><span style="color:rgb(85,85,85);">  
Note: <span style="color:rgb(85,85,85);">Not all reports are accessible right now on this AppvaceRestClient. </span></span>

<u><span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);">REST API to get report data:</span></span></u>

<span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);">Following is the way using just the rest calls.</span>  
<span style="color:rgb(85,85,85);">There has been added some concepts like summaryId, report template and offset that were not when the documentation was compiled. Following would be the list of calls necessary to get a CSV summary report.</span>  
<span style="color:rgb(85,85,85);">Provided you are logged in and have the execution Id, following would be the list of calls necessary to get a CSV summary report.</span>  
  
<span style="color:rgb(85,85,85);">1. GET SCENARIO ITERATIONS (from this response need the summaryId and the iterId as in attached image)</span>  
http://localhost:8080/AppvanceServer/rest/reports/getIterations?config=default&amp;exeId=1520986267004  
  
<span style="color:rgb(85,85,85);">2. GET TICKS (take the bigger number, this are offset in secs where you can pull report, like a snapshot in time)</span>  
http://localhost:8080/AppvanceServer/rest/reports/getTicks?config=default&amp;exeId=1520986267004&amp;iterId=-1386405882  
  
<span style="color:rgb(85,85,85);">3. GET TEMPLATE NAME (normally can use default one "All Reports")</span>  
http://localhost:8080/AppvanceServer/rest/reports/getTemplateNames  
  
<span style="color:rgb(85,85,85);">4. GET SUMMARY REPORT</span>  
http://localhost:8080/AppvanceServer/rest/reports/getSummary?config=default&amp;iterId=-1341233&amp;summaryId<span style="color:rgb(85,85,85);">=2171777&amp;offset=180&amp;template=All%20Reports</span></span></span>

<span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);"><span style="color:rgb(85,85,85);">![?name=Screen+Shot+2018-03-13+at+7.02.00+PM.png](https://appvance.zendesk.com/attachments/token/kM88LM7ZUo5H0jp4fAiEA7nzm/?name=Screen+Shot+2018-03-13+at+7.02.00+PM.png)</span></span></span>

<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Fewer Requests Reported for a URL

When reviewing the **Step Times Report** generated from a Designer script, you may notice that the number of requests reported for a URL is lower than the number of requests shown in browser developer tools such as Firebug.

For example, when accessing `<span class="editor-theme-code">www.appvance.com</span>`, Firebug may show **84 requests**, while the Appvance IQ report may show only **11 requests**.

This difference is expected and is caused by how Appvance IQ determines when a step has completed.

## Why does this happen?

Appvance IQ does **not wait for every page resource to finish loading** before completing a step.

When a step starts, Appvance IQ looks for the element required by that step. As soon as the element becomes available, Appvance IQ performs the requested action and proceeds to the next step.

At the same time, the browser may still be loading additional resources in the background, such as:

- CSS files
- JavaScript files
- Images
- AJAX requests
- Other page resources

Because these background requests may continue after Appvance IQ has already completed the step, they may not be associated with that step in the **Step Times Report**.

## Why can the request count change between executions?

The requests associated with a step can also vary from one execution to another.

For example, during one execution, a step may take long enough for several background requests to occur while the step is active. Those requests may therefore appear in the report.

During another execution, the required element may become available faster. The step completes before those background requests occur, so fewer requests are associated with the step.

Therefore, the number of requests reported for a step should **not be interpreted as the total number of network requests generated by the page**.

This behavior can also affect metrics that depend on the request count or total request size, such as throughput calculations.

## Protocol-based technologies

This behavior is specific to how browser-based steps are measured. Protocol-based technologies that use a **HAR (HTTP Archive)** capture network activity at the HTTP level and therefore provide a different view of the requests generated during the transaction.

---

**Last updated:** August 17, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Pull Report Details by Execution ID

Use this article when a team needs to retrieve report details for a specific AIQ execution ID.

## Validation workflow

1. Locate the exact execution ID from AIQ results or reporting.
2. Run the approved query or API call using an account with reporting access.
3. Compare returned report metadata with the AIQ UI before sharing or storing it.

---

Last updated: September 28, 2026

# Real Time Reports in Appvance IQ

Real Time Analysis with Appvance IQ.

Below are the list of real time reports in IQ.

Live Reports: (Sampling Rate - Reports takes about 10 seconds)

- Active Users
- Total test case execution.
- Hit Count
- Test case average duration.
- Scalability Report.
- Average Duration.
- Total Successes.
- Total Failures.
- Hits/Second.
- Resource Usage (APC 2.1)
- CPU
- Memory
- Net
- Thread Count
- Heap Usage
- Garbage Collector
- User-time percentage.
 
Step Times/Iteration Summary Report (Sampling Rate - Saving summary to database is 1 minute)

- Total Throughput
- Average Hits
- Average Throughput/s
- Test-cases passed
- Test-cases failed
- Step passed
- Step failed
- User Percentage
- Step name
- Request name
- Duration detail
- Response Code
- Success Count
- Failure Count
- Total Step
- Total Request
- Average Duration
- Standard Deviation Duration
- Minimum Duration
- Duration 85 Percentile
- Duration 90 Percentile
- Duration 95 Percentile
- Maximum Duration
- Average Size
- Standard Deviation Size
- Minimum Size
- Size 85 Percentile
- Size 85 Percentile
- Size 85 Percentile
- Maximum Size
 
<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Resource Usage Graph Metric Definitions

The **Resource Usage** graph provides information about the system resources consumed during test execution. These metrics help identify potential resource constraints and correlate resource usage with test performance.

The metrics are divided into two categories:

- **JVM Metrics** — Metrics related to the Java Virtual Machine (JVM) running the Appvance process.
- **OS Metrics** — Metrics reported by the operating system for the machine where the test is running.

## JVM Metrics

### 1. Heap Usage

**Heap Usage** shows the amount of Java heap memory currently being used by the JVM.

The Java heap is a runtime memory area used by the JVM to store objects and arrays created during application execution. For example, test execution may create objects to process requests, responses, variables, and other runtime data.

Appvance initializes the JVM heap with a default maximum heap size of **1500 MB**, according to the configuration documented for this version.

Heap usage can increase as the test creates more objects. The JVM's Garbage Collector can subsequently reclaim memory occupied by objects that are no longer being used.

For example:

```text
Heap Usage

400 MB  →  700 MB  →  1100 MB  →  Garbage Collection  →  600 MB
```

An increase in heap usage does not necessarily indicate a problem. When analyzing this metric, look at its behavior over time.

If heap usage continuously increases and approaches the maximum heap size without being reclaimed, this may indicate memory pressure and should be investigated.

> **Note:** The default heap size can vary depending on the Appvance version and configuration. Verify the JVM configuration for the specific environment being tested rather than assuming that 1500 MB applies to every installation.

### 2. Garbage Collector

The **Garbage Collector (GC)** is a JVM process responsible for identifying and reclaiming memory occupied by objects that are no longer required.

The Resource Usage graph reports the CPU usage associated with the Garbage Collector.

For example:

```text
Application creates objects
        ↓
Heap usage increases
        ↓
Garbage Collector runs
        ↓
Unused objects are reclaimed
        ↓
Available heap memory increases
```

Higher Garbage Collector CPU usage can occur when the JVM needs to perform garbage collection more frequently or for longer periods.

A sustained increase in Garbage Collector activity, particularly when accompanied by increasing heap usage, high CPU usage, or increasing response times, may indicate memory pressure.

### 3. Thread Count

**Thread Count** shows the current number of active threads in the JVM.

A thread is an execution unit within a process. The JVM can use multiple threads to perform work concurrently.

Thread count can increase as the amount of concurrent work increases. However, a continuously increasing or unusually high thread count may require investigation, especially when CPU or memory usage is also high.

For example:

```text
Thread Count

100  →  200  →  400  →  800
```

Thread count should be evaluated together with the workload and other resource metrics. A high thread count alone does not necessarily indicate a problem.

## OS Metrics

### 1. CPU Usage

**CPU Usage** shows CPU utilization as reported by the operating system.

CPU usage indicates how much processing capacity is being consumed by the system during test execution.

For example:

```text
CPU Usage

30%  →  50%  →  75%  →  95%
```

Sustained high CPU utilization can indicate that the machine is approaching its processing capacity.

If CPU usage remains close to maximum while response times increase or throughput stops increasing, CPU may be a resource bottleneck.

### 2. MEM

**MEM** shows the percentage of system memory being used relative to the total memory available, as reported by the operating system.

This metric represents system-level memory usage and should not be confused with **Heap Usage**.

For example, a machine with 16 GB of RAM using approximately 8 GB would report approximately 50% memory utilization.

The distinction is important:

```text
Heap Usage
    ↓
Memory used by the JVM heap

MEM
    ↓
System-level memory usage reported by the OS
```

System memory usage can include memory used by the JVM, other processes, the operating system, and other memory consumers.

Sustained high memory utilization may indicate memory pressure and should be investigated together with Heap Usage and Garbage Collector activity.

### 3. NET

**NET** shows network traffic as reported by the operating system.

Network traffic represents data being transferred by the machine during test execution.

For example, test activity can generate network traffic when:

- Requests are sent to the application.
- Responses are received from the application.
- Large files or responses are transferred.
- Multiple virtual users generate concurrent network activity.

An increase in network traffic is not necessarily a problem. The metric should be evaluated against the expected workload and the available network capacity.

Sustained high network utilization combined with increasing response times or reduced throughput may indicate a potential network bottleneck.

## Interpreting Resource Usage Metrics

Resource Usage metrics should be analyzed together rather than individually.

For example:

```text
CPU ↑
Heap ↑
Garbage Collector ↑
Response Time ↑
```

This combination may indicate that the JVM and system are experiencing increased resource pressure.

Another example:

```text
CPU ≈ 100%
Heap stable
MEM normal
NET normal
Response Time ↑
```

In this case, CPU saturation may be a potential bottleneck.

Similarly:

```text
Heap ↑
Garbage Collector ↑
MEM ↑
Response Time ↑
```

may indicate increasing memory pressure.

The Resource Usage graph is therefore most useful when its metrics are correlated with other test results, such as:

- Response time
- Throughput
- Error rate
- Virtual user load
- Request volume

### Summary

<table id="bkmrk-categorymetricdescri"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Category

</th><th>Metric

</th><th>Description

</th></tr><tr><td>JVM

</td><td>**Heap Usage**

</td><td>Amount of Java heap memory currently being used

</td></tr><tr><td>JVM

</td><td>**Garbage Collector**

</td><td>CPU usage associated with JVM garbage collection

</td></tr><tr><td>JVM

</td><td>**Thread Count**

</td><td>Current number of active JVM threads

</td></tr><tr><td>OS

</td><td>**CPU Usage**

</td><td>CPU utilization reported by the operating system

</td></tr><tr><td>OS

</td><td>**MEM**

</td><td>Percentage of system memory being used

</td></tr><tr><td>OS

</td><td>**NET**

</td><td>Network traffic reported by the operating system

</td></tr></tbody></table>

When investigating performance issues, use these metrics to determine whether the test environment may be approaching a **CPU, memory, JVM, thread, or network resource limit**.

---

**Last updated: August 28, 2026**

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Sampling Rate in Appvance IQ.

What is sampling rate during Appvance IQ executions. Like, real time graphs and values getting refreshed at what interval?

Real-time reports takes about 10 seconds.  
Saving summary to the database is each minute.

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Standard Deviation

How to calculate standard Deviation duration, minimum and maximum duration, Duration 85/90/95 Percentile, Standard deviation size, Minimum and Maximum size, size 85 /90/95 percentile in the iteration summary report?

All the above mentioned calculation’s in the iteration summary are done at back-end i.e. it is all based on algorithms which calculates the values for each of it and no Mathematical calculation to be done in the front end to obtain the results in the iteration summary report.

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# To get the time duration of a particular step using JavaScript

Javascript to find the time duration of a particular step:

var $startTime = new Date().getTime(); ---- Before the step starts  
\--- Actual Steps  
var $endTime = new Date().getTime(); ---- After the step  
var $diff = $startTime - $endTime — Log the difference  
\_log("" + $diff); — Display it

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Legacy Tool.jar APCStepListener Reference

## Tool.jar working with API to create steps and summary steps.

Appvance has four different types of elements in its reports: steps, summary steps, request and details. Steps contain the actual results got from the testing engine (like 1.1.1 and 1.1.2 in below image). Summary steps are containers used to organize steps (like 1, 1.1 and 1.2 in below image). Requests (when present) will be shown as children of steps (like [https://www.appvance.com](https://www.appvance.com) in image). And lastly details will be child of details like the 200 response codes seen in below image.  
  
![nZqzp9HaDohVT40F-94e04290c815.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/nZqzp9HaDohVT40F-94e04290c815.png)

Appvance **tool.jar** provides an easy way to create steps and summary steps. From a test in Java, TestNG, JMeter, or other java based engines, you can use methods available within the **tool.jar** to create steps and summary steps that will show in Appvance reports.  
The **com.appvance.enterprise.tool.APCStepListener** class contains 5 methods to work with steps and summary steps.

## Step Methods

### addStep

public static RuntimeStepInformation **addStep**(String stepName, long duration)  
addStep will add a new step, it requires the duration in milliseconds. Request can be added immediately after the step has been added.

### addFailingStep

public static void **addFailingStep**(String stepName, String theFailure, int duration)  
addFailingStep will add a new failing step, it requires the duration in milliseconds and the failure reason. Request can be added immediately after the failing step has been added. A failing step does not mean is summary will fail or the test case will fail.

### startStep

public static void **startStep**(String stepName).  
startStep will start a new step. I will end until a new step is started or the scripts finished. The duration will be automatically calculated by Appvance.

### endStep

public static void **endStep**()  
endStep method ends a step. It is not required, as starting or adding any type of step will end the previous step automatically.

### endFailingStep

public static void **endFailingStep**(String failure))  
endFailingStep will end the current step but marking it as a failure. It requires the duration and the failure reason. A failing step does not mean its summary will fail or the test case will fail.

## Summary Step Methods

When working with SummarySteps, 3 methods are available

### startSummaryStep

public static void **startSummaryStep**(String stepName)  
startSummaryStep will start a new summary step. For every startSummaryStep called, an endSummaryStep msut be called also.

### endSummaryStep

public static void **endSummaryStep**()  
endSummaryStep will end a summary step. Different from endStep this method is always required to end a step, as summary steps can have children. Before calling endSummaryStep(), a startSummaryStep needs to be called.

### endFailingSummaryStep

public static void **endFailingSummaryStep**(String failure)  
endFailingSummaryStep ends a summary step and marks it as a failure. A summary step does not mean the whole test case is going to fail. Before calling endFailingSummaryStep (), a startSummaryStep needs to be called.

## Failure handling in test cases and steps

Adding a failing step or summary does not mean the whole test case is going to fail. There are some cases when failing a step is expected but the whole test case is expected to succeed. The way to fail a test case is by throwing an exception.

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 16, 2026

# What is Average Size in Iteration/Step times report?

Average size is the size of the object, html page, js page, image etc.

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# When there is blank row in the csv sheet, will it pick the blank row?

Will a blank row in a CSV file be picked up during execution?

Yes. **Blank rows in a CSV file are treated as entries and are picked up during iteration execution.**

If a CSV file contains a blank row, Appvance IQ will include that row as an iteration. Any corresponding fields with blank values will be processed as empty values.

For example, if the CSV contains:

```text
username,password
user1,password1
,
user3,password3
```

The blank row will still be processed as an iteration.

If blank rows are not intended to be used during execution, remove them from the CSV file before running the test.

---

**Last updated:** August 28, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Performance Report Optimization

If you have a situation where you are having trouble downloading the execution summary file for a large number of users because of the amount of data. A example of this situation is where you can download the data for 200 users, but you have problems downloading the data for 500 or 1000 users.

Here are some guidelines for suppressing some of the data by replacing dynamic values with regular expressions.

For more information on handling dynamic requests with regular expressions see [Best practices to improve AIQ performance.](https://docs.appvance.net/Content/AIQ/Installation/Best_practices_to_improve_AIQ_performance.htm)

## Report Optimization

The following optimization will greatly reduce the tear down duration of the scenario and also improve the time required to download the iteration summary report because it will reduce the number of rows.

1. In the **Reporting** section on the **Options** tab of the Scenario Editor, there is an option called “Add Dynamic Parameter” that you can use to replace dynamic values using regular expressions.  
    ![JX6zJi90UaEsuZ2t-1ae8fe21d1b1.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JX6zJi90UaEsuZ2t-1ae8fe21d1b1.png)  
    For example:  
    ```
    db=[\w\-\!]+ policyId=[0-9]+ _windowId%3DW[0-9]+ customerId=[0-9]+ customerNumber=[\w]+ ln=org[\w\.]+ _=[0-9]+
    ```
2. Open the IDE, and in the script(s) locate the steps listed below and and add a description to those steps. The descriptions that you add will be listed in the iteration summary report instead of the current step name. Until you add the description the report is listing some dynamic values which results in the steps being listed multiple times.  
    Generally you should not see duplicate step numbers in the iteration summary report.  
    ```
    1.13) SetValue(textbox('{'locators':['crmForm:generalInfo_firstName'],'DS3_Any':true}'),Jackbdamn) 1.43) Log([Jackaslnj Jillilkti, , New Person, New Corporation] // this comes after a step which name 1.42) Store(getSelectTexts(select('policyDataGatherForm:sedit_PreconfigInsured_partySelection'))) 1.44) SetSelected(select('policyDataGatherForm:sedit_PreconfigInsured_partySelection'),Jackavzpc Jillzrvwg) 1.48) Log([Jackaslnj Jillilkti, , Create New Driver]) 1.49) SetSelected(select('policyDataGatherForm:sedit_PreconfigAutoDriver_partySelection'),Jackaslnj Jillilkti)
    ```

---

## When to use this guidance

Use these optimizations when an execution summary is too large to download reliably. Reduce report payload size only for values that are known to be dynamic, so the data needed for analysis remains available.

## Validation after optimization

1. Apply the documented regular-expression substitutions only to dynamic values.
2. Run a representative scenario and compare the optimized summary with an unoptimized sample.
3. Confirm that the required request, timing, and error information remains available before relying on the report.

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>