Salesforce conceptsSalesforce Certified Agentforce SpecialistTesting Center
AI-201 testing, deployment and maintenance: what to know
What AI-201 asks about testing agents: turn-level and conversation-level tests, how scorers work, and what changes when you deploy from a sandbox.
3 min read
Testing an agent can change real CRM data, so Testing Center belongs in a sandbox. And a Data Library change made in a sandbox cannot be deployed back to production.
01 What does AI-201 ask about testing, deployment and maintenance?
You know the feeling: an agent that answered well yesterday gives an odd reply after one small change. Agents are non-deterministic, so they need testing across a wide range of scenarios. The domain asks how you build tests, how scorers judge them, and what a sandbox deployment leaves behind.
The domain's three objectives, and what each one asks about
- Objective 4.1: testing an agentBuilding test suites; turn-level or conversation-level tests.
- Objective 4.2: how evaluations workWhich scorers run and what an LLM judge compares.
- Objective 4.3: sandbox to productionWhat a deployment carries and what you must recreate.
Test agents across many scenarios, because they are non-deterministic.
02 Should you test one turn or a whole conversation?
Start with the two test types. A turn-level test checks one response in isolation, for example after a prompt change. A conversation-level test checks whether the agent reaches the user's goal across a full multi-turn exchange.
Watch the exceptions. Conversation-level tests do not support draft agent versions or Agentforce Employee Agents. In beta, they allow at most 3 concurrent test suites and 20 turns per conversation.
Turn-level checks one reply; conversation-level checks the whole goal.
03 How are the results scored?
Once a test runs, scorers judge it. Default scorers always run on every test. In a response evaluation, an LLM judge compares the expected response with the agent's reply and assigns a score.
That makes your Expected Response field matter. Write the reply you expect, not instructions about it, or the scores come out inaccurate.
Put the answer you expect in Expected Response, never instructions.
04 What changes when you deploy from a sandbox?
Data 360 changes move from sandbox to production with a DevOps data kit and a change set. The deployment connection is created in the production org. A data space made in the sandbox is not created by the data kit, so create it in production first.
To check these details, MockCert's quiz questions are free with no account, and each answer is explained right away. MockCert is independent of Salesforce.
Create the data space in production before you deploy the data kit.
Summary
- Run Testing Center only in a sandbox, since tests can modify CRM data.
- Conversation-level tests do not support drafts or Employee Agents.
- Data Library changes made in a sandbox cannot be deployed back.
Sources
- Create a Test Suite | Salesforce Help (opens in a new tab)
- Default Scorers | Salesforce Help (opens in a new tab)
- Deploy Data 360 Changes Across Orgs | Salesforce Help (opens in a new tab)
- Agentforce Testing Center | Salesforce Help (opens in a new tab)
- Test Data Libraries in a Sandbox | Salesforce Help (opens in a new tab)
- Considerations for Testing Center | Salesforce Help (opens in a new tab)
- Choose Evaluations | Salesforce Help (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams