Datadog Synthetics

Trigger tests

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Trigger a set of Synthetics tests.

Inputs

Expand All

Champ

Type

Description

tests [required]

[object]

Individual synthetics test.

metadata

object

Metadata for the Synthetics tests run.

ci

object

Description of the CI provider.

pipeline

object

Description of the CI pipeline.

url

string

URL of the pipeline.

provider

object

Description of the CI provider.

name

string

Name of the CI provider.

git

object

Git information.

branch

string

Branch name.

commitSha

string

The commit SHA.

tag

string

tag attached to the CI_test branch

tag_value [required]

object

A map of tags where both the keys and the values are strings. If a key has multiple values, the last value wins.

tag_value_list [required]

object

A map of tags where the keys are strings and the values are lists of strings.

public_id [required]

string

ID of the Synthetics test to trigger.

Outputs

Expand All

Champ

Type

Description

results

[object]

Information about the tests runs.

device

enum

The device ID. Allowed enum values: laptop_large,tablet,mobile_small,chrome.laptop_large,chrome.tablet,chrome.mobile_small,firefox.laptop_large,firefox.tablet,firefox.mobile_small,edge.laptop_large,edge.tablet,edge.mobile_small

result_id

string

ID of the result.

public_id

string

The ID of the Synthetics test.

location

number

The location ID of the test run.

triggered_check_ids

[string]

The IDs of the Synthetics test triggered.

locations

[object]

List of Synthetics locations.

id

number

Unique identifier of the location.

name

string

Name of the location.

batch_id

string

The test ID of the batch triggered.