---
schema_version: "1"
id: 4a24b6f9dc6fc2a55b3ca36aef6f1728b397aebb10924849fa579e850e3b0ed2
title: Agent Testing Strategy
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_test_strategy.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_test_strategy.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bc609fb85683a3d60fb755a6de651096e41f4dc6603fa375ad252b0592168d68
description: Define what your agent is built to achieve, map the observability tools that measure it, and build the plan that connects your KPIs to testing and monitoring before your agent goes live.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Agent Testing Strategy

Define what your agent is built to achieve, map the observability tools that measure it, and build the plan that connects your KPIs to testing and monitoring before your agent goes live.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></td></tr></tbody></table>

Effective testing starts before you run a single test. Most measurement plans fail in one of two ways:

- Success is stated so abstractly that nothing can be instrumented.
- People measure what is easy to measure and quietly redefine success as that.

Agentforce surfaces a wide range of signals and metrics across several tools. Without a plan that connects them to the outcomes your organization tracks, it’s easy to measure the wrong things, draw the wrong conclusions, and optimize in the wrong direction. These topics prepare you for the test phase of the Agent Development Lifecycle so that your testing is grounded in clear goals, not guesswork.

- **[Define Agent Success](https://help.salesforce.com/s/articleView?id=ai.agentforce_define_agent_success.htm&release=264.0.0&type=5)**  
    Agentforce surfaces a lot of data. Without a clear sense of what your agent is supposed to accomplish, that data creates noise instead of direction. Defining success before you start measuring is how you know which signals matter, which ones to ignore, and when your agent is actually improving.
- **[Understand Agentforce Observability KPIs and Tools](https://help.salesforce.com/s/articleView?id=ai.agentforce_understand_observability_kpis_and_tools.htm&release=264.0.0&type=5)**  
    Observability isn't a single tool. It's a layered toolchain that includes infrastructure that captures agent activity, development tools to test your agent pre-deployment, and monitoring tools that surface trends and session-level details after deployment.
- **[Build an Agent Testing and Observability Plan](https://help.salesforce.com/s/articleView?id=ai.agent_test_prep.htm&release=264.0.0&type=5)**  
    A test plan and a monitoring plan turn your definition of agent success into something measurable. The test plan helps identify regressions before they reach production and shows that the agent is ready for deployment. The monitoring plan helps you recognize and address areas for improvement after go-live.

#### See Also

- [_Trailhead_: Agentforce Testing Tools and Strategies](https://trailhead.salesforce.com/en/content/learn/modules/agentforce-testing-tools-and-strategies)