latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

TestRun

(Experimental labs feature, subject to change) Creates a test run for a test executed outside mabl. This endpoint will not cause a test to be executed

Records a Test Run

post/testRun/external

Request body

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)

parent_executionstring

The id of the parent plan run

attempt_countinteger

the number of times this test run was scheduled

browserstring

Browser type that was used during this test run

browser_versionstring

Specific version of the browser that was used during this test run

environment_idstring

the environment_id of the external test if the plan run is not passed

application_idstring

the environment_id of the external test if the plan run is not passed

Response

Recorded Test Run

idstring

Object id. Set by system.

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)

attempt_countinteger

the number of times this test run was scheduled

cloud_safe_idstring

Cloud safe ID representation (e.g. GCP/email/Kubernetes safe)

debugboolean

If true will capture additional debugging information during execution

execution_cluster_ipv4string

Execution cluster v4 IP address used for runtime type 'container'

execution_vm_instance_namestring

unique instance name, if runtime type 'virtual_machine'

execution_vm_instance_zonestring

instance zone name, if runtime type 'virtual_machine'

execution_container_idstring

execution container identifier

execution_runtime_idstring

instance of execution runner unique identifier

execution_runtime_type'container' | 'virtual_machine'

execution runtime type

execution_runtime_versionstring

runtime version used

execution_runner_type'cloud_java_v1' | 'cloud_nodejs_v2' | 'cloud_perftest'

Test execution runtime to use

execution_runner_size'x1' | 'x2' | 'x3' | 'x4' | 'x5' | 'x6' | 'small' | 'medium' | 'large' | 'inherit'

available runner sizes

functionally_completedboolean

Test execution functionally completed regardless of its status

variant_idstring

variant id of the test

invariant_idstring

invariant id of the test

termination_reason'execution_complete' | 'execution_overtime' | 'heartbeat_lost' | 'insufficient_allocation' | 'insufficient_quota' | 'insufficient_resources' | 'invalid_configuration' | 'no_gpus_available' | 'startup_overtime' | 'stop_requested' | 'unknown' | 'usage_quota_exceeded'
terminated_by_idstring

The ID of the user who terminated this test run

browserstring

Browser type that was used during this test run

browser_versionstring

Specific version of the browser that was used during this test run

parent_executionstring

The id of the parent plan run

organization_idstring

(deprecated) The organization that this run belongs to

scheduled_timeinteger

The time this test run was scheduled for execution

last_scheduled_timeinteger

The most recent time this test run was scheduled for execution

created_timeinteger

time the test run was created

created_by_idstring

The ID of the user who created this test run

last_updated_timeinteger

time the test run object was last updated

last_updated_by_idstring

The ID of the user who last updated this test run

output_log_uristring

DEPRECATED, see customer_log_uri. A link to the test output logs

runtime_log_uristring

Detailed runtime logs

driver_log_uristring

Detailed webdriver logs

mabldriver_log_uristring

Detailed Node.js logs

mablnet_log_uristring

Detailed mablnet host worker logs (runs routed over mablnet)

video_recording_uristring

Video output location

api_result_uristring

API output location

formatted_api_steps_uristring

Formatted API steps output location

variable_summary_uristring

Location of variable summary file

checked_linksinteger

The total number of links checked by this test run

broken_linksinteger

The total number of broken links found by this test run

checked_pagesinteger

The total number of pages checked found by this test run

plan_idstring

Plan id

link_server_idstring

DEPRECATED - use link_server_ids

link_server_idsstring[]

IDs of the Link Server used during this test run, if any

run_multiplier_indexinteger

Zero-indexed run multiplier index for this run

stage_indexinteger

Zero-indexed stage index for this run

journey_run_indexinteger

Zero-indexed test run index within its plan run; describes the order in which test runs were created.

send_mabl_headerboolean

Controls whether or not the x-mabl-agent header is sent on requests

billing_summary_billable_api_minutesinteger

Billable API performance test minutes associated with this run (e.g. 10 min * 5 users = 75 min billable)

billing_summary_billable_api_vuhnumber double

Billable API performance test virtual user hours associated with this run (e.g. 10 min * 4 users = 1.0 billable VUH)

billing_summary_used_api_minutesinteger

API performance test minutes used during this run (e.g. 10 min * 5 users = 50 min used)

billing_summary_billable_browser_minutesinteger

Billable browser performance test minutes associated with this run (e.g. 10 min * 5 users * 2.0 browser multiplier = 150 min billable)

billing_summary_billable_browser_vuhnumber double

Billable browser performance test virtual user hours associated with this run (e.g. 10 min * 4 users * 2.0 browser multiplier = 2.0 billable VUH)

billing_summary_used_browser_minutesinteger

Browser performance test minutes used during this run (e.g. 10 min * 5 users = 50 min used)

runner_idstring

The ExecutionRunner id. This is currently only set by the mobile queue processor.

advanced_aiboolean

This run includes the use of features in the advanced AI package

step_featuresstring[]

Feature IDs for features used in this test run