TestRail

App · 3 actions

Read TestRail projects, standalone test runs, and run result counts.

Actions

ActionWhat it does
Get runRead a test run and its result counts.
List projectsRead one page of accessible TestRail projects.
List runsRead one page of standalone test runs in a project.

Get run

Read a test run and its result counts.

Inputs

Run IDrun_idnumberRequired
Run ID from List runs.At least 1.

Outputs

dataobject
The response from TestRail.
Example output
{
  "data": {
    "failed_count": 1,
    "id": 42,
    "is_completed": false,
    "name": "Release Regression",
    "passed_count": 8,
    "project_id": 1,
    "untested_count": 2
  }
}

List projects

Read one page of accessible TestRail projects.

Inputs

Limitlimitnumber
Maximum number of records in this page.From 1 to 250.
Offsetoffsetnumber
Number of records to skip before this page.At least 0.
Is completedis_completednumber
0 for active projects; 1 for completed projects.One of: 0, 1.

Outputs

dataobject
The response from TestRail.
Example output
{
  "data": {
    "limit": 10,
    "offset": 0,
    "projects": [
      {
        "id": 1,
        "is_completed": false,
        "name": "Example Project"
      }
    ],
    "size": 1
  }
}

List runs

Read one page of standalone test runs in a project.

Inputs

Project IDproject_idnumberRequired
Project ID from List projects.At least 1.
Limitlimitnumber
Maximum number of records in this page.From 1 to 250.
Offsetoffsetnumber
Number of records to skip before this page.At least 0.
Is completedis_completednumber
0 for active runs; 1 for completed runs.One of: 0, 1.

Outputs

dataobject
The response from TestRail.
Example output
{
  "data": {
    "limit": 10,
    "offset": 0,
    "runs": [
      {
        "failed_count": 1,
        "id": 42,
        "is_completed": false,
        "name": "Release Regression",
        "passed_count": 8,
        "project_id": 1
      }
    ],
    "size": 1
  }
}

On this page