How to run TestSets Through Orchestrator API

Hi Everyone,

I have a question that can we run a testset from Orchestrator API if yes then can you please send me the endpoint URL

Thanks and regards

1 Like

Hi

This is the url for running test set

Try opening your orchestrator with swagger and u can try your api calls there before doing in UiPath studio

The Orchestrator API Swagger definition can be accessed as follows, depending on your deployment type:

  • on-premise - append /swagger/index.html to your on-premises Orchestrator URL. For example, https://myOrchestrator.com/swagger/index.html.
  • Automation Cloud - append the organization and tenant name, as well as orchestrator_/swagger/index.html to the cloud base URL. For example, https://cloud.uipath.com/{organization_name}/{tenant_name}/orchestrator_/swagger/index.html.

Find your {organization_name} and {tenant_name} in the API Access page of your Automation Cloud account.

  • Automation Suite - append the organization and tenant name, as well as orchestrator_/swagger/index.html to your Automation Suite base URL, following the syntax: https://AutomationSuiteURL/{organization_name}/{tenant_name}/orchestrator_/swagger/index.html. For example, to access the Swagger for an Automation Suite deployment of Orchestrator, a possible link could be https://myasuite.westeurope.cloudapp.azure.com/docs/DefaultTenant/orchestrator_/swagger/index.html.

Refer this doc for more info on swagger

https://docs.uipath.com/orchestrator/standalone/2022.10/api-guide/api-references#

Hope this helps

Cheers @Vineet_Joshi

Hope it’s clarified @Vineet_Joshi

Thanks @Palaniyappan bro

1 Like

Just one question here what is the ke here?

Couldn’t get ur query
@Vineet_Joshi

Hi @Palaniyappan

I have this query that what will come here in Key :- “/odata/TestSetExecution({Key})”

Thanks and regards
vineet Joshi

The key in the UiPath API call for test set execution /odata/TestSetExecutions({key}) is the ID of the test set execution.
To get the ID of the test set execution using the UiPath Orchestrator API, you can use the following request:

GET /api/test-set-executions HTTP/1.1 Authorization: Bearer <bearer_token

Hope this clarifies
@Vineet_Joshi

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.