latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Test

Update Test

Creates a new version for existing tests

patch/test/journey/{id}

Path parameters

idstring required

The ID of the test to update

Query parameters

branchstring

The branch the test update should be saved to. Defaults to master

forceboolean

Force an update to occur, even if no changes have been made

field_maskstring[]

A comma seperated set of fields to update. If provided, only fields in the field mask will be updated. Fields in the field mask but not in the body will be set to null.

Headers

If-Matchstring

If-Match header according to http/1.1 spec section 14.24

Request body

idstring

Unique identifier

created_by_idstring

The ID of the user who created this test

last_updated_timeinteger

Time the test was last updated in epoch milliseconds

last_updated_by_idstring

The ID of the user who last updated this test

created_timeinteger

Time the test was created in epoch milliseconds

revision_historystring

Serialized graph describing the test's version history. Managed by mabl API only.

version_tagsobject

Mapping of version tags to version numbers that the tag is currently applied to

latest_versioninteger

The latest numeric version of this test

organization_idstring

(deprecated) The ID of the organization that this journey belongs to

workspace_idstring

Workspace Id

enabledboolean

If test is enabled to execute

namestring

The display name of the test

descriptionstring

Brief description the test

defaultboolean

Whether this test is a default test generated for all customers from a template

datatablesstring[]

Array of datatable IDs for datatables that satisfy the parameter requirements of the test

export_variablesboolean

Whether this test should export variables

source_control_tagsobject

(deprecated, use versionTags) mapping of source control tags to version numbers the tag is currently applied to

ref_idstring

Reference id to this test in another system

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

Type of test

test_source'mabl_cloud' | 'external' | 'mabl_local' | 'mabl_agent'

Where the test lives

send_mabl_headerboolean

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

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

available runner sizes

mobile_platform'android' | 'ios'

The mobile platform associated with this object

intentstring

The intent of the test as natural language

test_case_idstring

Unique identifier of the associated TestCase

is_latestboolean

Indicates whether this was the latest variant when retrieved

versioninteger

The generation number of this variant

previous_versioninteger

The generation number of the variant that was edited to create this variant (if applicable)

merged_versioninteger

The generation number of the variant that was merged with the previous version to create this variant (if applicable)

merged_from_branchstring

Name of the source branch whose version was merged to create this variant (if applicable)

created_on_branchstring

Branch name the test was created on

change_descriptionstring

Description of the change between this variant and the previous variant

manual_stepsstring

Test steps outline, used for manual tests

flowsstring[]

Array of flow IDs for flows to execute during test

flow_configurationobject

Configuration for specific flow instances

iterationsobject

Iteration configurations keyed by flow index (as string)

api_urlstring

the API URL associated with the test

urlstring

the URL used when creating the test version

credentials_idstring

the id of the credentials used when creating the test version

application_idstring

the id of the application used when creating the test version

environment_idstring

the id of the environment used when creating the test version

datatable_row_idstring

the id of the DataTable row used when creating the test version

training_session_idstring

the id of the training session used when creating the test version

agent_session_idstring

the id of the agent session that authored this test version, if any

variant_last_updated_timeinteger

Time the variant was last updated

variant_last_updated_by_idstring

ID of the user who last updated the variant

cloud_safe_invariant_idstring

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

invariant_idstring

Object ID for the parent type. Set by system.

Response

The updated test

idstring

Unique identifier

created_by_idstring

The ID of the user who created this test

last_updated_timeinteger

Time the test was last updated in epoch milliseconds

last_updated_by_idstring

The ID of the user who last updated this test

created_timeinteger

Time the test was created in epoch milliseconds

revision_historystring

Serialized graph describing the test's version history. Managed by mabl API only.

version_tagsobject

Mapping of version tags to version numbers that the tag is currently applied to

latest_versioninteger

The latest numeric version of this test

organization_idstring

(deprecated) The ID of the organization that this journey belongs to

workspace_idstring

Workspace Id

enabledboolean

If test is enabled to execute

namestring

The display name of the test

descriptionstring

Brief description the test

defaultboolean

Whether this test is a default test generated for all customers from a template

datatablesstring[]

Array of datatable IDs for datatables that satisfy the parameter requirements of the test

export_variablesboolean

Whether this test should export variables

source_control_tagsobject

(deprecated, use versionTags) mapping of source control tags to version numbers the tag is currently applied to

ref_idstring

Reference id to this test in another system

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

Type of test

test_source'mabl_cloud' | 'external' | 'mabl_local' | 'mabl_agent'

Where the test lives

send_mabl_headerboolean

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

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

available runner sizes

mobile_platform'android' | 'ios'

The mobile platform associated with this object

intentstring

The intent of the test as natural language

test_case_idstring

Unique identifier of the associated TestCase

is_latestboolean

Indicates whether this was the latest variant when retrieved

versioninteger

The generation number of this variant

previous_versioninteger

The generation number of the variant that was edited to create this variant (if applicable)

merged_versioninteger

The generation number of the variant that was merged with the previous version to create this variant (if applicable)

merged_from_branchstring

Name of the source branch whose version was merged to create this variant (if applicable)

created_on_branchstring

Branch name the test was created on

change_descriptionstring

Description of the change between this variant and the previous variant

manual_stepsstring

Test steps outline, used for manual tests

flowsstring[]

Array of flow IDs for flows to execute during test

flow_configurationobject

Configuration for specific flow instances

iterationsobject

Iteration configurations keyed by flow index (as string)

api_urlstring

the API URL associated with the test

urlstring

the URL used when creating the test version

credentials_idstring

the id of the credentials used when creating the test version

application_idstring

the id of the application used when creating the test version

environment_idstring

the id of the environment used when creating the test version

datatable_row_idstring

the id of the DataTable row used when creating the test version

training_session_idstring

the id of the training session used when creating the test version

agent_session_idstring

the id of the agent session that authored this test version, if any

variant_last_updated_timeinteger

Time the variant was last updated

variant_last_updated_by_idstring

ID of the user who last updated the variant

cloud_safe_invariant_idstring

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

invariant_idstring

Object ID for the parent type. Set by system.