> ## 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.

<img src="https://mintcdn.com/dialnexa/O6bVvssz6DpTKOa0/images/documentation/screenshots/test-call-panel.jpg?fit=max&auto=format&n=O6bVvssz6DpTKOa0&q=85&s=08b1eb9884bf0d6ff71e9385c15f58a0" alt="DialNexa agent builder Test menu showing options to test via call or test via web." style={{ width: '100%', maxWidth: '1100px', margin: '8px 0 24px', border: '1px solid #e5e7eb', borderRadius: '6px' }} width="1710" height="985" data-path="images/documentation/screenshots/test-call-panel.jpg" />

<img src="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" alt="DialNexa Test Call modal showing country code, recipient number, dynamic variables, and call controls." style={{ width: '100%', maxWidth: '1100px', margin: '8px 0 24px', border: '1px solid #e5e7eb', borderRadius: '6px' }} width="2160" height="1492" data-path="images/documentation/screenshots/agent-test-call-modal.png" />

<Warning>
  A test call that only proves the phone rang is a very polite false sense of security.
</Warning>

## What The Test Call Checks

The dashboard checks basic readiness before starting a call.

| Check             | Behavior                                                                               |
| ----------------- | -------------------------------------------------------------------------------------- |
| Published version | If no version is published, the dashboard asks you to publish before testing.          |
| 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     | The test creates a single outbound call with empty metadata unless supplied elsewhere. |

## Run A Useful Agent Test

<Steps>
  <Step title="Publish the candidate version">
    Make sure the tested version is the one intended for traffic.
  </Step>

  <Step title="Use a real recipient format">
    Select the country and enter digits without decorative formatting.
  </Step>

  <Step title="Fill variables like production">
    Use realistic names, amounts, dates, cities, and transfer destinations.
  </Step>

  <Step title="Create awkward caller behavior">
    Interrupt, go silent, ask a question outside scope, and correct a wrong value.
  </Step>

  <Step title="Review Call History">
    Read transcript, recording, summary, extracted fields, transfer data, and status.
  </Step>
</Steps>

## What To Inspect After The Test

Do not stop at the success toast.

<CardGroup cols={2}>
  <Card title="Transcript" icon="file-text" href="/monitoring/transcripts-recordings-and-summaries">
    Did the agent hear the caller correctly?
  </Card>

  <Card title="Recording" icon="headphones" href="/monitoring/call-detail-page">
    Did the voice, pace, interruption behavior, and audio quality sound right?
  </Card>

  <Card title="Post-call fields" icon="list-checks" href="/monitoring/post-call-analysis-results">
    Were the fields extracted with the right values and types?
  </Card>

  <Card title="Routing result" icon="route" href="/monitoring/retries-transfers-and-audio-cache">
    Did the call end, transfer, retry, or fail as expected?
  </Card>
</CardGroup>

## When A Test Fails

<AccordionGroup>
  <Accordion title="Publish prompt appears">
    Publish a version before using the list-level test action.
  </Accordion>

  <Accordion title="Number validation fails">
    Check selected country, country code, and digit length.
  </Accordion>

  <Accordion title="Call starts but no useful transcript">
    Check audio quality, language, and transcriber.
  </Accordion>

  <Accordion title="Post-call fields are wrong">
    Check field descriptions and whether the transcript contained the needed facts.
  </Accordion>
</AccordionGroup>

## Related Reading

<CardGroup cols={2}>
  <Card title="Call History" icon="activity" href="/monitoring/call-history">
    Find test call records.
  </Card>

  <Card title="Phone Numbers" icon="phone" href="/calls/phone-numbers">
    Route live traffic.
  </Card>

  <Card title="Troubleshooting" icon="life-buoy" href="/reference/troubleshooting">
    Diagnose failed tests.
  </Card>
</CardGroup>
