@salesforce/agents
    Preparing search index...

    A service for testing agents using AiTestingDefinition metadata (Agentforce Studio). Start asynchronous test runs, get or poll for test status, and get detailed test results.

    Examples

    Create an instance of the service:

    const agentTester = new AgentforceStudioTester(connection);

    Start a test run:

    const startResponse = await agentTester.start(aiTestSuiteDefName);

    Get the status for a test run:

    const status = await agentTester.status(startResponse.runId);

    Get detailed results for a test run:

    const results = await agentTester.results(startResponse.runId);

    Index

    Constructors

    Methods

    Constructors

    Methods