Share this page

# Trigger a suite run (technical preview)

You can use the REST API to trigger a suite run.

In this topic:

## POST: Trigger a suite run

The API will run all automated tests under the specified suite run. If you provide specific test_run_ids, it will run only the specified runs.

POST .../shared_spaces/<shared_space_id/workspaces/<workspace_id>/suite_runs/<suiteRunId>/run_auto

Specific test_run ids may also be passed as URL parameters:

POST .../shared_spaces/<shared_space_id/workspaces/<workspace_id>/suite_runs/<suiteRunId>/run_auto? query="(test_run_ids IN '<test_run_id1>’,’<test_run_id2>’)"

The expected response status is 201.

## Query conditions

A query condition can be used according to the following:

- In the case of more than one test_run_id, use the IN condition:

  `query="(runs_in_suite IN 'test_run_id1’,’test_run_id2’)"`

- In the case of one specific test_run_id, use EQ or “=” conditions:

  query="(runs_in_suite EQ 'test_run_id1’)" OR

  `query="(runs_in_suite = 'test_run_id1’)"`

## See also

- Create a Gherkin test
- Create a basic test suite
- Create a manual test run
- Create a test suite with manual and Gherkin tests

https://admhelp.microfocus.com Software Delivery Management 8942
Tips to improve your search results... OpenText™ Software Delivery Management Help Center OpenText™ Software Delivery Management Help 26.3 All View Local Help Center View Online Help Center Version: