diff --git a/.apigentools-info b/.apigentools-info index aa66b53351bba..36fc7278dd894 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-26 17:58:30.290427", - "spec_repo_commit": "76086f13" + "regenerated": "2025-06-27 13:06:03.559691", + "spec_repo_commit": "092f4022" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-26 17:58:39.398706", - "spec_repo_commit": "76086f13" + "regenerated": "2025-06-27 13:06:12.769151", + "spec_repo_commit": "092f4022" } } } \ No newline at end of file diff --git a/content/en/api/v1/synthetics/examples.json b/content/en/api/v1/synthetics/examples.json index 886454b86f807..e0a7df494c342 100644 --- a/content/en/api/v1/synthetics/examples.json +++ b/content/en/api/v1/synthetics/examples.json @@ -3685,7 +3685,7 @@ ], "type": "mobile" }, - "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message [required]

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" }, "400": { "json": { @@ -3730,6 +3730,7 @@ } ] }, + "message": "Notification message", "name": "Example test name", "options": { "ci": { @@ -3905,7 +3906,7 @@ ], "type": "mobile" }, - "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message [required]

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" } }, "GetMobileTest": { @@ -4049,7 +4050,7 @@ ], "type": "mobile" }, - "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message [required]

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" }, "403": { "json": { @@ -4223,7 +4224,7 @@ ], "type": "mobile" }, - "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message [required]

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" }, "400": { "json": { @@ -4268,6 +4269,7 @@ } ] }, + "message": "Notification message", "name": "Example test name", "options": { "ci": { @@ -4443,7 +4445,7 @@ ], "type": "mobile" }, - "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" + "html": "
\n
\n
\n
\n

config [required]

\n
\n

object

\n

Configuration object for a Synthetic mobile test.

\n
\n
\n
\n
\n
\n

initialApplicationArguments

\n
\n

object

\n

Initial application arguments for a mobile test.

\n
\n
\n
\n
\n
\n

<any-key>

\n
\n

string

\n

A single application argument.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variables

\n
\n

[object]

\n

Array of variables used for the test steps.

\n
\n
\n
\n
\n
\n

example

\n
\n

string

\n

Example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the variable for global variables.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the variable.

\n
\n \n
\n
\n
\n
\n
\n

pattern

\n
\n

string

\n

Pattern of the variable.

\n
\n \n
\n
\n
\n
\n
\n

secure

\n
\n

boolean

\n

Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the configuration variable. \nAllowed enum values: global,text,email

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

device_ids

\n
\n

[string]

\n

Array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

message [required]

\n
\n

string

\n

Notification message associated with the test.

\n
\n \n
\n
\n
\n
\n
\n

monitor_id

\n
\n

int64

\n

The associated monitor ID.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

Name of the test.

\n
\n \n
\n
\n
\n
\n
\n

options [required]

\n
\n

object

\n

Object describing the extra options for a Synthetic test.

\n
\n
\n
\n
\n
\n

allowApplicationCrash

\n
\n

boolean

\n

A boolean to set if an application crash would mark the test as failed.

\n
\n \n
\n
\n
\n
\n
\n

bindings

\n
\n

[object]

\n

Array of bindings used for the mobile test.

\n
\n
\n
\n
\n
\n

principals

\n
\n

[string]

\n

List of principals for a mobile test binding.

\n
\n \n
\n
\n
\n
\n
\n

relation

\n
\n

enum

\n

The type of relation for the binding. \nAllowed enum values: editor,viewer

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

ci

\n
\n

object

\n

CI/CD options for a Synthetic test.

\n
\n
\n
\n
\n
\n

executionRule [required]

\n
\n

enum

\n

Execution rule for a Synthetic test. \nAllowed enum values: blocking,non_blocking,skipped

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

defaultStepTimeout

\n
\n

int32

\n

The default timeout for steps in the test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

device_ids [required]

\n
\n

[string]

\n

For mobile test, array with the different device IDs used to run the test.

\n
\n \n
\n
\n
\n
\n
\n

disableAutoAcceptAlert

\n
\n

boolean

\n

A boolean to disable auto accepting alerts.

\n
\n \n
\n
\n
\n
\n
\n

min_failure_duration

\n
\n

int64

\n

Minimum amount of time in failure required to trigger an alert.

\n
\n \n
\n
\n
\n
\n
\n

mobileApplication [required]

\n
\n

object

\n

Mobile application for mobile synthetics test.

\n
\n
\n
\n
\n
\n

applicationId [required]

\n
\n

string

\n

Application ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceId [required]

\n
\n

string

\n

Reference ID of the mobile application.

\n
\n \n
\n
\n
\n
\n
\n

referenceType [required]

\n
\n

enum

\n

Reference type for the mobile application for a mobile synthetics test. \nAllowed enum values: latest,version

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_name

\n
\n

string

\n

The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.

\n
\n \n
\n
\n
\n
\n
\n

monitor_options

\n
\n

object

\n

Object containing the options for a Synthetic test as a monitor\n(for example, renotification).

\n
\n
\n
\n
\n
\n

escalation_message

\n
\n

string

\n

Message to include in the escalation notification.

\n
\n \n
\n
\n
\n
\n
\n

notification_preset_name

\n
\n

enum

\n

The name of the preset for the notification for the monitor. \nAllowed enum values: show_all,hide_all,hide_query,hide_handles

\n
\n \n
\n
\n
\n
\n
\n

renotify_interval

\n
\n

int64

\n

Time interval before renotifying if the test is still failing\n(in minutes).

\n
\n \n
\n
\n
\n
\n
\n

renotify_occurrences

\n
\n

int64

\n

The number of times to renotify if the test is still failing.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

monitor_priority

\n
\n

int32

\n

Integer from 1 (high) to 5 (low) indicating alert severity.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

restricted_roles

\n
\n

[string]

\n

A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.

\n
\n \n
\n
\n
\n
\n
\n

retry

\n
\n

object

\n

Object describing the retry strategy to apply to a Synthetic test.

\n
\n
\n
\n
\n
\n

count

\n
\n

int64

\n

Number of times a test needs to be retried before marking a\nlocation as failed. Defaults to 0.

\n
\n \n
\n
\n
\n
\n
\n

interval

\n
\n

double

\n

Time interval between retries (in milliseconds). Defaults to\n300ms.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

scheduling

\n
\n

object

\n

Object containing timeframes and timezone used for advanced scheduling.

\n
\n
\n
\n
\n
\n

timeframes [required]

\n
\n

[object]

\n

Array containing objects describing the scheduling pattern to apply to each day.

\n
\n
\n
\n
\n
\n

day [required]

\n
\n

int32

\n

Number representing the day of the week.

\n
\n \n
\n
\n
\n
\n
\n

from [required]

\n
\n

string

\n

The hour of the day on which scheduling starts.

\n
\n \n
\n
\n
\n
\n
\n

to [required]

\n
\n

string

\n

The hour of the day on which scheduling ends.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

timezone [required]

\n
\n

string

\n

Timezone in which the timeframe is based.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tick_every [required]

\n
\n

int64

\n

The frequency at which to run the Synthetic test (in seconds).

\n
\n \n
\n
\n
\n
\n
\n

verbosity

\n
\n

int32

\n

The level of verbosity for the mobile test. This field can not be set by a user.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

public_id

\n
\n

string

\n

The public ID of the test.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

enum

\n

Define whether you want to start (live) or pause (paused) a\nSynthetic test. \nAllowed enum values: live,paused

\n
\n \n
\n
\n
\n
\n
\n

steps

\n
\n

[object]

\n

Array of steps for the test.

\n
\n
\n
\n
\n
\n

allowFailure

\n
\n

boolean

\n

A boolean set to allow this step to fail.

\n
\n \n
\n
\n
\n
\n
\n

hasNewStepElement

\n
\n

boolean

\n

A boolean set to determine if the step has a new step element.

\n
\n \n
\n
\n
\n
\n
\n

isCritical

\n
\n

boolean

\n

A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the step.

\n
\n \n
\n
\n
\n
\n
\n

noScreenshot

\n
\n

boolean

\n

A boolean set to not take a screenshot for the step.

\n
\n \n
\n
\n
\n
\n
\n

params [required]

\n
\n

object

\n

The parameters of a mobile step.

\n
\n
\n
\n
\n
\n

check

\n
\n

enum

\n

Type of assertion to apply in an API test. \nAllowed enum values: equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals,matchRegex,between,isEmpty,notIsEmpty

\n
\n \n
\n
\n
\n
\n
\n

delay

\n
\n

int64

\n

Number of milliseconds to wait between inputs in a typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

direction

\n
\n

enum

\n

The direction of the scroll for a scrollToElement step type. \nAllowed enum values: up,down,left,right

\n
\n \n
\n
\n
\n
\n
\n

element

\n
\n

object

\n

Information about the element used for a step.

\n
\n
\n
\n
\n
\n

context

\n
\n

string

\n

Context of the element.

\n
\n \n
\n
\n
\n
\n
\n

contextType

\n
\n

enum

\n

Type of the context that the element is in. \nAllowed enum values: native,web

\n
\n \n
\n
\n
\n
\n
\n

elementDescription

\n
\n

string

\n

Description of the element.

\n
\n \n
\n
\n
\n
\n
\n

multiLocator

\n
\n

object

\n

Multi-locator to find the element.

\n
\n \n
\n
\n
\n
\n
\n

relativePosition

\n
\n

object

\n

Position of the action relative to the element.

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The relativePosition on the x axis for the element.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The relativePosition on the y axis for the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

textContent

\n
\n

string

\n

Text content of the element.

\n
\n \n
\n
\n
\n
\n
\n

userLocator

\n
\n

object

\n

User locator to find the element.

\n
\n
\n
\n
\n
\n

failTestOnCannotLocate

\n
\n

boolean

\n

Whether if the test should fail if the element cannot be found.

\n
\n \n
\n
\n
\n
\n
\n

values

\n
\n

[object]

\n

Values of the user locator.

\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Type of a user locator. \nAllowed enum values: accessibility-id,id,ios-predicate-string,ios-class-chain,xpath

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

string

\n

Value of a user locator.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

viewName

\n
\n

string

\n

Name of the view of the element.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

enabled

\n
\n

boolean

\n

Boolean to change the state of the wifi for a toggleWiFi step type.

\n
\n \n
\n
\n
\n
\n
\n

maxScrolls

\n
\n

int64

\n

Maximum number of scrolls to do for a scrollToElement step type.

\n
\n \n
\n
\n
\n
\n
\n

positions

\n
\n

[object]

\n

List of positions for the flick step type. The maximum is 10 flicks per step

\n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

The x position for the flick.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

The y position for the flick.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

subtestPublicId

\n
\n

string

\n

Public ID of the test to be played as part of a playSubTest step type.

\n
\n \n
\n
\n
\n
\n
\n

value

\n
\n

 <oneOf>

\n

Values used in the step for in multiple step types.

\n
\n
\n
\n
\n
\n

Option 1

\n
\n

string

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n

Option 2

\n
\n

int64

\n

Value used in the step for in multiple step types.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

variable

\n
\n

object

\n

Variable object for extractVariable step type.

\n
\n
\n
\n
\n
\n

example [required]

\n
\n

string

\n

An example for the variable.

\n
\n \n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The variable name.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

withEnter

\n
\n

boolean

\n

Boolean to indicate if Enter should be pressed at the end of the typeText step type.

\n
\n \n
\n
\n
\n
\n
\n

x

\n
\n

double

\n

Amount to scroll by on the x axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n

y

\n
\n

double

\n

Amount to scroll by on the y axis for a scroll step type.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

publicId

\n
\n

string

\n

The public ID of the step.

\n
\n \n
\n
\n
\n
\n
\n

timeout

\n
\n

int64

\n

The time before declaring a step failed.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Step type used in your mobile Synthetic test. \nAllowed enum values: assertElementContent,assertScreenContains,assertScreenLacks,doubleTap,extractVariable,flick,openDeeplink,playSubTest,pressBack,restartApplication,rotate,scroll,scrollToElement,tap,toggleWiFi,typeText,wait

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Array of tags attached to the test.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of the Synthetic test, mobile. \nAllowed enum values: mobile

default: mobile

\n
\n \n
\n
" } }, "TriggerTests": { diff --git a/data/api/v1/full_spec.yaml b/data/api/v1/full_spec.yaml index eb1d73c764db2..41c9f19b7fb24 100644 --- a/data/api/v1/full_spec.yaml +++ b/data/api/v1/full_spec.yaml @@ -16410,6 +16410,7 @@ components: - name - options - type + - message type: object SyntheticsMobileTestConfig: description: Configuration object for a Synthetic mobile test. diff --git a/data/api/v1/full_spec_deref.json b/data/api/v1/full_spec_deref.json index e915bd1832c11..79a1ba67d43c1 100644 --- a/data/api/v1/full_spec_deref.json +++ b/data/api/v1/full_spec_deref.json @@ -531278,7 +531278,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" }, @@ -1144588,7 +1144589,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1145365,7 +1145367,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1146315,7 +1146318,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1147215,7 +1147219,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1147992,7 +1147997,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } diff --git a/static/resources/json/full_spec_v1.json b/static/resources/json/full_spec_v1.json index e915bd1832c11..79a1ba67d43c1 100644 --- a/static/resources/json/full_spec_v1.json +++ b/static/resources/json/full_spec_v1.json @@ -531278,7 +531278,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" }, @@ -1144588,7 +1144589,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1145365,7 +1145367,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1146315,7 +1146318,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1147215,7 +1147219,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" } @@ -1147992,7 +1147997,8 @@ "config", "name", "options", - "type" + "type", + "message" ], "type": "object" }