latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Reporting

Get a test run summary

Retrieve detailed information about a test run and its outcome.

get/results/testRun/{test_run_id}

Path parameters

test_run_idstring required

The test run ID

Query parameters

advanced_metricsboolean

Flag for whether to include test-level advanced metrics like performance and accessibility in results

advanced_metrics_by_flowboolean

Flag for whether to include flow-level advanced metrics like performance and accessibility in results

Response

Test run summary

idstring

Test run id

test_ref_idstring

reference to this test in another system

workspace_idstring

workspace Id

started_timeinteger

Time test run was started, in epoch milliseconds

completed_timeinteger

Time test run was completed, in epoch milliseconds

journey_idstring

(deprecated, use test_id) Test id

test_idstring

Test id

test_labelsstring[]

Test labels

test_namestring

Test name

test_type'api' | 'browser' | 'performance' | 'mobile'

Type of test

execution_source'mabl_cloud' | 'external' | 'mabl_local' | 'mabl_agent'

Where the test lives

status'awaiting_precondition' | 'skipped' | 'rate_limited' | 'queued' | 'running' | 'completed' | 'failed' | 'terminating' | 'terminated'

The current status of this test run

status_causestring

Cause for setting given status, such as failure cause. Updated in pairs with Status.

outcome'passed' | 'failed' | 'stopped'
customer_log_uristring

Customer facing output log (formerly output_log_uri)

workspace_namestring

Workspace name

application_idstring

Application ID

application_namestring

Application name

environment_idstring

Environment ID

environment_namestring

Environment name

initial_urlstring

Starting URL for the test run

browserstring

Browser in which this run was executed, if any

browser_versionstring

Browser version, if any

execution_runner_type'unified' | 'legacy' | 'performance_testing' | 'unknown'

Execution runner used by this run

scenario_namestring

Scenario name associated with this run, if any

plan_idstring

Plan ID, if any

plan_labelsstring[]

Plan labels

plan_namestring

Plan name, if any

plan_run_idstring

Plan run ID, if any

test_versioninteger

Test version

branchstring

Branch the test ran against, if any

test_run_idstring

Test run ID

test_run_app_urlstring

URL for viewing the test run in the mabl app

is_ad_hoc_runboolean

True if the run is a manually-triggered ad hoc run

start_timeinteger

Time this test run started (epoch milliseconds)

end_timeinteger

Time this test run ended (epoch milliseconds)

run_timeinteger

The execution time of this test run (milliseconds)

successboolean

True if the test run completed successfully

failure_categorystring

Failure category, if any

trigger_type'manual' | 'retry' | 'schedule' | 'customer_event' | 'insight'

The type of trigger scheduling this test run

triggering_deployment_event_idstring

Deployment event ID triggering this run, if any

emulation_modestring

Desktop or mobile web emulation used by this run