Agentforce Testing Center

Build confidence in your AI agents and deliver seamless, effective interactions with thorough testing. Easily generate custom test scenarios and leverage our expert evaluation tools to assess response accuracy, conversation quality, subagent recognition, action execution, and knowledge retrieval. Identify issues early and fine-tune your agent’s behavior with precision.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.
Important
Important
  • Running tests consumes requests and credits. See Considerations for Testing Center.
  • Testing agents can modify CRM data. To avoid issues, be sure to use Testing Center only in your sandbox environment.

With Testing Center, you can quickly generate test cases from your agent’s core subagents and actions, create Q&A style tests from your knowledge content, or upload custom scenarios tailored to your specific needs. Because AI agents are non-deterministic, it's essential to test them across a wide range of scenarios to ensure consistent and accurate performance.

Testing Center supports large-scale batch testing through a range of evaluations. These include response accuracy, subagent and action validation, and key quality metrics such as completeness, coherence, conciseness, latency, and instruction adherence. By surfacing patterns and edge cases often missed in smaller-scale testing, you’ll get a fuller picture of your agent’s performance. With these insights, you can close performance gaps, refine subagent instructions, and continuously improve your AI agent’s responses.

  • Set Up and Run Tests in Agentforce Studio (Beta)
    Use Testing Center in Agentforce Studio (Beta) to test AI agents or prompt templates at scale. Test agents by simulating conversations across many scenarios at once. Or, test prompt templates by running batch evaluations across many inputs. Apply scorers to quickly evaluate responses and identify quality issues.
  • Set Up and Run Tests in Setup (Legacy)
    Efficiently validate your agent’s performance at scale, whether you want to fast-track testing with AI-generated scenarios or manually craft and upload your own. You can generate realistic test cases for specific subagents and actions, or data linked through the Agentforce Data Library.
  • Use Test Results
    After a test run completes, review evaluation scores to identify where your agent or prompt template is falling short. Understand what each scorer measures, how scores are calculated, and what to do when results are low .
  • Considerations for Testing Center
    To use Testing Center, consider supported functionality, usage, limitations and allowances, limits, and other issues.