> ## Documentation Index
> Fetch the complete documentation index at: https://docs.retellai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run and review tests

> Run Retell AI simulation tests in batches, set runs per test case, track progress, and review pass rates, transcripts, and criteria results for each run.

Running tests starts a batch: every test case you select runs against one version of your agent, as many times as you choose, and each run is graded. Results stream into the `Simulation Runs` tab as they finish, with a pass rate for the batch and a transcript and verdict for every run.

For example, before publishing a prompt change, a team selects its 30 test cases, runs each one 3 times, and checks that the pass rate holds. Then it opens the failed runs to see which criterion failed and why.

## Run tests

**1. Choose the test cases**

On the `Test Cases` tab, click `Run` on one test case, or check several and click `Run Test`. You can also click `Run test case` from the test case form.

**2. Review the run settings**

The **Review run settings** dialog shows the agent version the tests will run against, which is the version you're viewing. Set **Runs** for each test case, from 1 to 10. Transcription test cases always run once.

**3. Check the estimated cost**

Each test case shows a **Fixed cost**, charged once per run, and a **Cost / unit**, charged for each conversation turn of a text test or each minute of an audio or transcription test. Expand a row to review its scenario and success criteria, or a transcription test's language, transcription mode, and boosted keywords.

**4. Start the batch**

Click `Run`. The page switches to `Simulation Runs`, where the batch appears at the top of the list.

![Review run settings dialog. It says the tests will run using Version 0 of the agent. The table lists three test cases with Runs, Fixed cost, and Cost / unit: a transcription test (Refill caller name and medication, 1 run, \$0.055 / min), an audio test (Reschedule from a busy street, 2 runs, \$0.178 / min), and a text test (No open slots on requested day, 3 runs, \$0.012 / turn). The audio row is expanded to show its User scenario and Success criteria, including the equation metrics.latency.p50 \< 1500, with an Edit test case link. The footer reads 3 cases · 6 total runs, next to the Run button.](https://mintcdn.com/retellai/8ZCrhFAw4xq7qprW/images/test/run-settings.png?fit=max\&auto=format\&n=8ZCrhFAw4xq7qprW\&q=85\&s=2785ad69809524ec40a9241dcf4c7bb8)

Set how many times each test case runs, and check the cost per unit before you start.

## Follow a running batch

The left side of `Simulation Runs` lists every batch with its number of test cases, the agent version, the number of runs, when it started, and its status. While a batch runs, its results update live, and the `Simulation` icon in the editor's left rail shows how far along it is. A blue dot marks results you haven't seen.

Runs start in waves, so a large batch can take a few minutes to get going. A batch shows **Processing results** after its last run finishes, while Retell totals the cost and writes the failure summary.

To stop a batch, click `Stop running` and confirm. Runs that haven't finished are cancelled, and runs that already finished keep their results. You can't undo this.

## Review a batch

Select a batch to see its results. A finished batch opens with an overview:

* **Total costs**, **Cases**, **Pass rate**, and **Run duration**.
* **Failure cases overview**, an AI summary of why runs failed, with each point tagged with the runs it covers. Click `Improve with Conductor` to have [Conductor](https://docs.retellai.com/conductor/test-and-improve.md) suggest fixes for them.

Below it, filter the runs by `All runs`, `Passed`, `Failed`, or `Error`. Each row shows the run's result and its details: the criteria reasons, the word error rate for a transcription test, or the error message.

![Simulation Runs tab with three batches listed on the left; the selected batch has 7 test cases on V0 and is Complete. The overview shows Total costs \$0.42, Cases 7, Pass rate 42.9%, and Run duration 5m 34s. The Failure cases overview lists two numbered points, Scheduling requests were not handled as requested (tagged 2 runs) and Chest pain caller was not transferred (tagged 1 run), with an Improve with Conductor button. Below, the run filter is set to Failed 4, next to a Rerun button, and the table lists four failed runs (two audio, one text, one transcription) with the reason for each, such as Word error rate: 12% for the transcription run.](https://mintcdn.com/retellai/8ZCrhFAw4xq7qprW/images/test/simulation-runs-batch.png?fit=max\&auto=format\&n=8ZCrhFAw4xq7qprW\&q=85\&s=0d17140b0e7576bacfc2915f68eab58e)

A finished batch: the overview, an AI summary of why runs failed, and the failed runs with their reasons.

## Inspect a run

Click a run to open its details:

* **Transcript**, with each tool call, tool result, and node transition. For an audio or transcription run, the recording plays above it, and clicking a line jumps the audio to it. Use `Copy transcript` to copy it.
* **Criteria results**, with each success criterion's verdict. Expand one to read the reason.
* **Metrics**, the run's [performance metrics](https://docs.retellai.com/test/text-and-audio-tests.md#measure-performance-metrics).
* For a transcription run, the **Word error rate** and **Missing words**.

From the details you can:

* Click `Rerun this test` to run the test case again.
* Click `View in Test Playground` to open the conversation in a [text test](https://docs.retellai.com/test/manual-testing.md#continue-a-real-conversation), with the run's variables and mocks, and keep chatting from any point. It isn't available for transcription runs.
* Open the test case in a new tab to edit it.
* Press ↑ and ↓ to move between runs.

![Animation of the simulation run details. On a finished batch, the failed audio run Chest pain goes to clinical staff is clicked, and its details open: the audio player, the transcript with timestamps, Failure cases, Criteria results with one Passed and one Failed criterion, and Metrics such as latency and talk ratio. Clicking the agent line at 0:23 moves the player to 0:24. Expanding the failed criterion shows its reason: the agent advised emergency services rather than transferring the caller to clinical staff. Pressing the down arrow opens the next run, No open slots on requested day.](https://mintcdn.com/retellai/8ZCrhFAw4xq7qprW/images/test/run-details.gif?s=522096db0feee8cdc50dce89d7227120)

Click a run to see its recording, transcript, and criteria. Use the arrow keys to move between runs.

## Rerun a batch

Click `Rerun` on a finished batch to run its test cases again. Check `Failed test cases only` to rerun just the ones that failed, which is a quick way to check a fix.

## Run a test from the test panel

To try one text or audio test case while you edit, use the `Simulation Test` tab of the [test panel](https://docs.retellai.com/test/manual-testing.md). Pick a test case from `Find test case` and click `Confirm`, or create one with `Create test case`. Then:

* `Run` runs it once with your current edits, without saving them.
* `Save & run` saves the test case, then runs it.

The conversation streams into the panel, and each success criterion shows **Passed** or **Failed** with its reason as soon as it's graded. These runs are billed like any other run, but they aren't saved to `Simulation Runs`.

## FAQ

> [accordion] Which agent version do my tests run against?
>
> The version you're viewing when you click Run. The run settings dialog names it before the batch starts, and each batch in the list shows its version.

> [accordion] Why is my batch taking a while to start?
>
> Runs start in waves, and each workspace can start a limited number of runs at a time, so large batches, especially audio and transcription ones, queue for a few minutes.

> [accordion] Why does a run show Error instead of Failed?
>
> The run couldn't finish, so it wasn't graded. The error message says why, such as a loop, an agent that stopped responding, or an audio call that never hung up. See [how a run is graded](https://docs.retellai.com/test/simulation-testing.md#how-a-run-is-graded).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.