TestRail
App · 3 actions
Read TestRail projects, standalone test runs, and run result counts.
Actions
| Action | What it does |
|---|---|
| Get run | Read a test run and its result counts. |
| List projects | Read one page of accessible TestRail projects. |
| List runs | Read one page of standalone test runs in a project. |
Get run
Read a test run and its result counts.
Inputs
- Run ID
run_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
- Limit
limitnumber - Maximum number of records in this page.From 1 to 250.
- Offset
offsetnumber - Number of records to skip before this page.At least 0.
- Is completed
is_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 ID
project_idnumberRequired - Project ID from List projects.At least 1.
- Limit
limitnumber - Maximum number of records in this page.From 1 to 250.
- Offset
offsetnumber - Number of records to skip before this page.At least 0.
- Is completed
is_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
}
}