Datadog Synthetics
Get API test result
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.
Get a specific full result from a given (API) Synthetic test.
Inputs
The ID of the API test to which the target result belongs.
The ID of the result to get.
Outputs
Expand All
When the API test was conducted.
Version of the API test used.
Locations for which to query the API test results.
ID of the API test result.
The status of your Synthetic monitor.
Allowed enum values: 0,1,2
Object describing the API test configuration.
Configuration object for a Synthetic test.
Object describing the Synthetic test request.
URL to perform the test with.
Body to include in the test.
Timeout in seconds for the test.
Host name to perform the test with.
Port to use when performing the test.
Query to use for the test.
DNS server to use for DNS tests.
Object to handle basic authentication when performing the test.
Headers to include when performing the test.
Client certificate to use when performing the test request.
Define a request certificate.
Content of the certificate or key.
File name for the certificate or key.
Date of update of the certificate or key, ISO format.
Define a request certificate.
Content of the certificate or key.
File name for the certificate or key.
Date of update of the certificate or key, ISO format.
For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
Determines whether or not to save the response body.
DNS server port to use for DNS tests.
Number of pings to use per test.
Turns on a traceroute probe to discover all gateways along the path to the host destination.
Allows loading insecure content for an HTTP request in a multistep test step.
Specifies whether or not the request follows redirects.
Message to send for UDP or WebSocket tests.
gRPC service on which you want to perform the healthcheck.
Metadata to include when performing the gRPC test.
The proxy to perform the test.
URL of the proxy to perform the test.
Headers to include when performing the test.
Browser tests only - array of variables used for the test steps.
Type of browser test variable.
Allowed enum values: element,email,global,javascript,text
Example for the variable.
Array of variables used for the test.
Type of the configuration variable.
Allowed enum values: global,text
Example for the variable.
ID of the variable for global variables.
Array of assertions used for the test.
default:
Object containing results for your Synthetic API test.
Object containing all metrics and their values collected for a Synthetic API test.
The duration in millisecond of the DNS lookup.
The time in millisecond to first byte.
The time in millisecond to download the response.
The duration in millisecond of the TLS handshake.
The time in millisecond spent during redirections.
The duration in millisecond of the TLS handshake.
Time in millisecond to establish the TCP connection.
The overall time in millisecond the request took to be processed.
Time spent in millisecond waiting for a response.
Status of a Synthetic test.
Allowed enum values: not_scheduled,scheduled,started,finished,finished_with_error
The API test failure details.
Error code that can be returned by a Synthetic test.
Allowed enum values: BODY_TOO_LARGE,DENIED,TOO_MANY_REDIRECTS,AUTHENTICATION_ERROR,DECRYPTION,INVALID_CHAR_IN_HEADER,HEADER_TOO_LARGE,HEADERS_INCOMPATIBLE_CONTENT_LENGTH,INVALID_REQUEST,REQUIRES_UPDATE,UNESCAPED_CHARACTERS_IN_REQUEST_PATH,MALFORMED_RESPONSE,INCORRECT_ASSERTION,CONNREFUSED,CONNRESET,DNS,HOSTUNREACH,NETUNREACH,TIMEOUT,SSL,OCSP,INVALID_TEST,TUNNEL,WEBSOCKET,UNKNOWN,INTERNAL_ERROR
The API test error message.
Object describing the SSL certificate used for a Synthetic test.
Date from which the SSL certificate is valid.
Date until which the SSL certificate is valid.
Object describing the SSL certificate used for the test.
Country Name associated with the certificate.
State Or Province Name associated with the certificate.
Locality associated with the certificate.
Organization associated with the certificate.
Organizational Unit associated with the certificate.
Common Name that associated with the certificate.
Subject Alternative Name associated with the certificate.
Object describing the issuer of a SSL certificate.
Country Name that issued the certificate.
State Or Province Name that issued the certificate.
Locality that issued the certificate.
Organization that issued the certificate.
Organizational Unit that issued the certificate.
Common Name that issued certificate.
MD5 digest of the DER-encoded Certificate information.
SHA-1 digest of the DER-encoded Certificate information.
Array of extensions and details used for the certificate.
Serial Number assigned by Symantec to the SSL certificate.
Cipher used for the connection.
TLS protocol used for the test.
Modulus associated to the SSL certificate private key.
Exponent associated to the certificate.
The API test HTTP status code.
Request header object used for the API test.
Response body returned for the API test.
Response headers returned for the API test.
Global size in byte of the API test response.