Results
Last updated
Was this helpful?
Last updated
Was this helpful?
The results
namespace provides API methods to retrieve test results for a run. This page covers the following API methods:
/runs/{run_id}/results
Returns all test results for a run.
This method uses pagination so you might need to request additional pages to retrieve all results.
200
400
401
403
422
(details)
run_id
id
required
ID of the run.
page
integer
Number of page to return (default: first page)
per_page
integer
Maximum number of results to return (supported: 15
, 25
, 50
, 100
; default: 100
)
sort
string
Sort field for the list of results (supported: run_results:created_at
; default: run_results:created_at
)
order
string
Sort order (ascending or descending) (supported: asc
, desc
; default: desc
)
created_after
string
Limit result set to results created after (in ISO8601 format and UTC time zone).
created_before
string
Limit result set to results created before (in ISO8601 format and UTC time zone).
created_by
integer
Comma-separated list of users to filter by.
assignee_id
integer
Comma-separated list of assignees to filter by. Use assignee_id=0
for unassigned test case results.
status_id
integer
Comma-separated list of statuses to filter by. The system supports up to 25 total statuses. Use the ID keys & name values as defined in your instance, typically: 1 for Untested, 2 for Passed, 3 for Failed, 4 for Retest, 5 for Blocked, 6 for Skipped. Unless modified by your administrator, custom statuses will have IDs 7-25.
get_latest_result
boolean
Indicates whether to fetch only the latest result (true, 1) or all results (false, 0).
expands
string
Comma-separated list of expands to filter by.