---
schema_version: "1"
id: 53d87ab80d892b4ab767ea3fa9cc48417b0a34377d45f748584c4a5ab79e31b6
title: Add Test Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_testing_center_add_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_add_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 06ea88386f9e9b29c43cabef135157fb2139554e54d50fe995999f59d1b67907
description: "Add test cases to evaluate your agent’s performance by either generating them with AI or uploading your own scenarios. AI-generated test cases offer two data options: generating based on subagents and actions, or generating from knowledge available to the agent via the Agentforce Data Library."
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Add Test Data

Add test cases to evaluate your agent’s performance by either generating them with AI or uploading your own scenarios. AI-generated test cases offer two data options: generating based on subagents and actions, or generating from knowledge available to the agent via the Agentforce Data Library.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;"><a name="agent_testing_center_add_data__image_ewv_dvs_c3c"><!-- --></a>
            <div><img id="agent_testing_center_add_data__image_ewv_dvs_c3c" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/resources/images/checkmark.png" alt="green checkmark"></div>
            <p style="margin-bottom:0;"><strong>This article applies to:</strong></p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Legacy Agentforce Testing Center in Setup</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;"><a name="agent_testing_center_add_data__image_qxv_cvs_c3c"><!-- --></a>
            <div><img id="agent_testing_center_add_data__image_qxv_cvs_c3c" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/resources/images/crossmark.png" alt="red crossmark"></div>
            <p style="margin-bottom:0;"><strong>This article doesn’t apply to:</strong></p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">New Testing Center in Agentforce Studio (Beta)</td>

        </tr>
      </tbody>
    </table>

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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d207293e119">User Permissions
            Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d207293e119 ">To create tests in the Testing Center:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d207293e119 ">Manage AI Agents AND <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;type=5&amp;language=en_US" target="_blank">the required permissions for your agent
              type</a></td>

        </tr>
      </tbody>
    </table>

Use the subagents and actions method when you want to test how well your agent handles specific intents or workflows, especially after updates or before launch. This approach helps confirm the agent triggers the correct behaviors based on user utterances. Alternatively, choose the knowledge-based method to validate your agent’s ability to provide accurate, content-driven responses using connected knowledge sources like articles or PDFs. For full control, you can also upload a CSV file with your own test scenarios which is ideal for custom testing needs or validating specific business logic. Each approach allows you to simulate real-world interactions and identify improvement areas before deploying your agent.

- **[Generate Tests from Subagents and Actions](https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_topics_actions.htm&release=264.0.0&type=5)**  
    Evaluate how well your agent handles key subagents and actions before launch. Generate relevant, test-ready utterances using your subagent and action metadata as well as information from connected data libraries. Simply choose the subagents you want to test, define the test focus with a brief description, and let the system generate up to 100 test cases.
- **[Generate Tests from Knowledge Sources](https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_knowledge_sources.htm&release=264.0.0&type=5)**  
    When your agent is connected to an Agentforce Data Library, you can generate test scenarios directly from the content linked to that library including articles and knowledge fields or uploaded files. Testing center generates up to 100 question-and-answer style test cases based on the knowledge content available to the agent.
- **[Upload Test Cases](https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_upload.htm&release=264.0.0&type=5)**  
    To use your own scenarios, upload your CSV file.