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

# Testing Agents In DialNexa

> Learn how to test DialNexa agents with phone test calls, published versions, country validation, dynamic variables, and Call History review.

Testing a DialNexa agent means placing a real call or realistic test call against the configuration that will receive traffic. The Agents list test action uses the latest published version, validates the recipient number by country, and creates a call record that should be reviewed in Call History.

![DialNexa Test Call modal showing country code, recipient number, dynamic variables, and call controls.](https://mintcdn.com/dialnexa/0efoAN-6So4r-6NC/images/documentation/screenshots/agent-test-call-modal.png?fit=max\&auto=format\&n=0efoAN-6So4r-6NC\&q=85\&s=6ddb9b1c4ab9a8a2de1669634e5f8d9d)

> [!WARNING]
>
> A ringing phone only proves that routing works. Review conversation behavior and Call History evidence before publishing to live traffic.

## Choose The Version For Testing DialNexa Agents

| Test action | Version used |
| - | - |
| Agents list phone test | Latest published version. |
| Editor **Test via call** | The open version if it is published; otherwise the latest published version. An unpublished draft is not dialed. |
| Editor **Test via web** | The configuration open in the editor, including the draft when editing a draft. |

Check **Live** and **Editing** in the header before starting. Saving a draft does not change the phone-test version. If the editor detects unpublished prompt, greeting, Conversational Flow, IVR menu, model, voice, language, transcriber, speech, call-setting, or knowledge-base changes, **Test via call** can open the publishing flow first; review that action before proceeding. After publishing, confirm the live version and the resulting call record before concluding that a change fixed the behavior.

When a browser call ends on the server, the test interface closes the active call state. Check the final hang-up reason in Call History; an agent-ended web call can be recorded as `agent_disconnected`.

## What Testing DialNexa Agents Checks

The dashboard checks basic readiness before starting a call.

| Check | Behavior |
| - | - |
| Published version | Phone tests require a published version. Use a browser test to inspect an unpublished draft. |
| Country code | The modal combines selected country code with the local number. |
| Digit length | The local number must match the expected digit count for the selected country. |
| Dynamic values | Rows can supply values needed by the prompt, welcome message, voicemail, or transfer. |
| Call creation | Filled dynamic values are sent as call metadata. Blank fields are omitted so the agent defaults can apply. |

## Reuse Saved Test Call Values

After a phone test is successfully initiated, DialNexa remembers the filled dynamic-variable values for that agent and your signed-in user. The next Test Call dialog can prefill them from the Agents list, agent editor, or Phone Numbers page. These values are personal test inputs, not shared changes to the agent's defaults.

If a variable has no saved test value, the test form uses the agent version’s default. Browser tests also prefill saved values. Review every prefilled value before testing another recipient. Clear a field to omit that override and use the agent's default value. Blank values are not saved. The dialog only fills currently used variables and does not overwrite values you have already typed while saved inputs are loading. An unavailable saved-value lookup does not prevent testing; enter the needed values manually.

## Check Agent Behavior With Evaluations

Use evaluations to check how an agent answers, calls tools, or handles a simulated conversation before you place a phone test. In the agent’s **Evals** panel, choose **Read my prompt** to draft evaluations from the prompt’s goals, conversation flow, and rules. Review the suggested cases before running them. You can also save a conversation from **Chat** as an evaluation.

To write a case yourself, select **Create eval**. Use **Reply check** to judge one response, **Tool call** to check whether the agent calls the right tool with the expected inputs, **Simulation** to check an end-to-end conversation, or **Knowledge check** to test answers grounded in an attached knowledge base.

![Create eval dialog with Reply check, Tool call, Simulation, and Knowledge check options.](https://mintcdn.com/dialnexa/g-r1zyUHXpjV1ZXf/images/documentation/screenshots/agent-create-eval.png?fit=max\&auto=format\&n=g-r1zyUHXpjV1ZXf\&q=85\&s=3b6fb8416f7587169d33894508f495b6)

Use the menu beside **Run all** to choose the agent version and model for the run. Open a completed run to see its pass rate and prompt adherence. Select a failed result to review the criterion, the judge's explanation, and the relevant transcript turns. Use the transcript to decide whether to revise the agent or the evaluation criteria, then rerun the case. Keep a phone test in your release checklist to verify audio and call routing.

![Completed Evals run showing pass rate, prompt adherence, and transcript evidence for a simulation that failed to switch to Hindi.](https://mintcdn.com/dialnexa/g-r1zyUHXpjV1ZXf/images/documentation/screenshots/agent-eval-run-results.png?fit=max\&auto=format\&n=g-r1zyUHXpjV1ZXf\&q=85\&s=d9545aa314a08b0e86202da865e42432)

## Run A Useful Agent Test

**1. Publish the candidate version**

Make sure the tested version is the one intended for traffic.

**2. Use a real recipient format**

Select the country and enter digits without decorative formatting.

**3. Fill variables like production**

Use realistic names, amounts, dates, cities, and transfer destinations.

**4. Create awkward caller behavior**

Interrupt, go silent, ask a question outside scope, and correct a wrong value.

**5. Review Call History**

Read transcript, recording, summary, extracted fields, transfer data, and status.

## What To Inspect After The Test

Do not stop at the success toast.

> [card] [Transcript](https://dialnexa.com/docs/monitoring/transcripts-recordings-and-summaries.md)
>
> Did the agent hear the caller correctly?

> [card] [Recording](https://dialnexa.com/docs/monitoring/call-detail-page.md)
>
> Did the voice, pace, interruption behavior, and audio quality sound right?

> [card] [Post-call fields](https://dialnexa.com/docs/monitoring/post-call-analysis-results.md)
>
> Were the fields extracted with the right values and types?

> [card] [Routing result](https://dialnexa.com/docs/monitoring/retries-transfers-and-audio-cache.md)
>
> Did the call end, transfer, retry, or fail as expected?

## When A Test Fails

> [accordion] Publish prompt appears
>
> Publish a version before using the list-level test action.

> [accordion] Number validation fails
>
> Check selected country, country code, and digit length.

> [accordion] Call starts but no useful transcript
>
> Check audio quality, language, and transcriber.

> [accordion] Post-call fields are wrong
>
> Check each field's **Prompt** and whether the transcript contained the needed facts.

## Related Reading

> [card] [Call History](https://dialnexa.com/docs/monitoring/call-history.md)
>
> Find test call records.

> [card] [Phone Numbers](https://dialnexa.com/docs/calls/phone-numbers.md)
>
> Route live traffic.

> [card] [Troubleshooting](https://dialnexa.com/docs/reference/troubleshooting.md)
>
> Diagnose failed tests.

> [card] [Web Call Testing Video](https://dialnexa.com/docs/tutorials/platform-videos/test-with-web-calls.md)
>
> Watch how to test an agent in the browser.

> [card] [Phone Call Testing Video](https://dialnexa.com/docs/tutorials/platform-videos/test-with-phone-calls.md)
>
> Watch how to test the real phone path.


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