Documentation

Looking for something in particular?

Automation V3: Using Standardized Test Agent APIs

Overview

Provar introduces enhanced Agentforce API Testing  by significantly expanding automation coverage for conversational and agent-driven workflows.

With this enhancement, all Test Agent APIs are now fully standardized and part of the core Provar product. You can configure and execute these APIs directly within your test automation environment, without any manual setup, additional configuration, or temporary workarounds.

This update delivers standardized API behavior, ensuring more reliable interactions with Agent responses, improved usability, and smoother integration using REST Connection. As a result, teams can build extensible, stable, and more intuitive automation for Agentforce-based processes.

Benefits

  • Test Agent APIs – All existing Test Agent APIs are fully standardized and included in the default Provar package. No additional configuration or custom setup is required.
  • Improved Usability and Stability – Improved user experience across Agent-based testing workflows:
    • Agent List Handling – The Agent List is no longer stored as a response; API workflows now manage agent data consistently and transparently.
    • End Session API Behaviour –The End Session API has been stabilised to ensure predictable and consistent termination of active Agent sessions.
  • Additional Parameters and Type Options -The APIs now support extended parameters and additional Type options exposed by Agent responses. This enables more robust and flexible assertion and validation workflows.
  • Enhanced Connection Support – Integration has been updated to support REST Connection

Using Test Agent APIs

  • Create a new REST webservice AgentConnection. For more information on how to create a REST web service AgentConnection in Provar, see REST Web service Connection
Fig: Snapshot of REST web service AgentConnection.
  • Open your test case and in the Test Palette navigate to the Provar AI section.
  • From the Provar AI section, you make use of the following Test Agent APIs:
    • Agent Session Service 
    • Agent Conversation Service
Fig: Snapshot of Test Agent APIs in Test Palette  
  • Initiate a session with an Agent Session Service API.
Fig: Snapshot of Agent Session Service. 
  • In the General Parameters section:
    • Agent Connection Name Enter a name for your AgentConnection.
    • Agent ID – Select the Agent ID for the Agent for which you want to initiate the session.

Note: If the drop-down doesn’t have a value then Switch to Expression Editor and pass the AgentID.

  • In the Agent Conversation Service API, enter the user message.
Fig: Snapshot of Agent Conversation Service. 
  • Execute the test and review the enhanced response formats in the output.
Fig: Snapshot of successful agent conversation.
  • You can select the End Session checkbox to terminate the session.

Feedback

Was this article helpful for you?
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top