Why do AI agents need batch testing?
Because agents are non-deterministic: the same question can produce different paths. Salesforce says testing across a wide range of scenarios is essential for consistent, accurate performance.
What does Testing Center measure?
Response accuracy, subagent and action validation, and quality metrics.
A Salesforce release note adds detailed scores from 0 to 5 for response accuracy and quality.
| Evaluation | What it tells you |
|---|---|
| Response accuracy | Whether the answer was right |
| Subagent recognition | Whether the agent picked the right job for the request |
| Action execution | Whether it ran the right action |
| Knowledge retrieval | Whether it found the right content |
| Completeness, coherence, conciseness | Whether the answer is usable |
| Latency | How long the agent took |
| Instruction adherence | Whether it followed your instructions |
How do you set up tests?
Generate tests automatically from subagents and actions, build Q&A tests from knowledge, or upload your own scenarios. Salesforce offers Testing Center in Agentforce Studio (beta) and in Setup (legacy).
- Copy the agent into a sandbox; tests can change CRM data.
- Generate scenarios for each subagent, then add real customer questions you have collected.
- Run the batch and review low scores by subagent and action.
- Refine instructions and actions, then re-run until results are stable.
Which Salesforce editions include Testing Center?
Salesforce lists Enterprise, Performance, Unlimited and Developer Editions, in Lightning Experience. Required add-on licenses vary by agent type.
Does testing cost anything?
Salesforce notes that running tests consumes requests and credits, so include testing in your usage estimate. See the pricing guide.
Frequently asked questions
Can Testing Center change our live data?
Salesforce warns that testing agents can modify CRM data and recommends using Testing Center only in a sandbox.
Can it test prompt templates too?
Yes. Testing Center in Agentforce Studio (beta) can run batch evaluations of prompt templates across many inputs.
Where can our admin learn it?
Salesforce has Trailhead modules on Agentforce Testing Center and on testing tools and strategies.
Need help with Agentforce?
We help small and mid-size businesses choose a first Agentforce use case, prepare their Salesforce data, build and test the agent and train the team. See our Salesforce Agentforce consulting page, or our Salesforce guides and FAQs.
