diff --git a/.generated-info b/.generated-info index 0723ff2f973..a1d0ff937b8 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "bb240c6", - "generated": "2025-07-14 18:17:41.136" + "spec_repo_commit": "d93d991", + "generated": "2025-07-15 09:33:07.334" } diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 319094508bf..eee88b3aef0 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17197,7 +17197,7 @@ components: description: Object describing the extra options for a Synthetic test. properties: accept_self_signed: - description: 'For SSL test, whether or not the test should allow self signed + description: 'For SSL tests, whether or not the test should allow self signed certificates.' type: boolean @@ -17206,7 +17206,7 @@ components: test. type: boolean checkCertificateRevocation: - description: For SSL test, whether or not the test should fail on revoked + description: For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP. type: boolean ci: @@ -17217,6 +17217,10 @@ components: items: $ref: '#/components/schemas/SyntheticsDeviceID' type: array + disableAiaIntermediateFetching: + description: For SSL tests, whether or not the test should disable fetching + intermediate certificates from AIA. + type: boolean disableCors: description: Whether or not to disable CORS mechanism. type: boolean @@ -17460,6 +17464,9 @@ components: description: A protobuf file that needs to be gzipped first then base64 encoded. type: string + disableAiaIntermediateFetching: + description: Disable fetching intermediate certificates from AIA. + type: boolean dnsServer: description: DNS server to use for DNS tests. type: string diff --git a/api/datadogV1/model_synthetics_test_options.go b/api/datadogV1/model_synthetics_test_options.go index 10555cb9e4a..43837b9a79a 100644 --- a/api/datadogV1/model_synthetics_test_options.go +++ b/api/datadogV1/model_synthetics_test_options.go @@ -10,17 +10,19 @@ import ( // SyntheticsTestOptions Object describing the extra options for a Synthetic test. type SyntheticsTestOptions struct { - // For SSL test, whether or not the test should allow self signed + // For SSL tests, whether or not the test should allow self signed // certificates. AcceptSelfSigned *bool `json:"accept_self_signed,omitempty"` // Allows loading insecure content for an HTTP request in an API test. AllowInsecure *bool `json:"allow_insecure,omitempty"` - // For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP. + // For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP. CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"` // CI/CD options for a Synthetic test. Ci *SyntheticsTestCiOptions `json:"ci,omitempty"` // For browser test, array with the different device IDs used to run the test. DeviceIds []string `json:"device_ids,omitempty"` + // For SSL tests, whether or not the test should disable fetching intermediate certificates from AIA. + DisableAiaIntermediateFetching *bool `json:"disableAiaIntermediateFetching,omitempty"` // Whether or not to disable CORS mechanism. DisableCors *bool `json:"disableCors,omitempty"` // Disable Content Security Policy for browser tests. @@ -234,6 +236,34 @@ func (o *SyntheticsTestOptions) SetDeviceIds(v []string) { o.DeviceIds = v } +// GetDisableAiaIntermediateFetching returns the DisableAiaIntermediateFetching field value if set, zero value otherwise. +func (o *SyntheticsTestOptions) GetDisableAiaIntermediateFetching() bool { + if o == nil || o.DisableAiaIntermediateFetching == nil { + var ret bool + return ret + } + return *o.DisableAiaIntermediateFetching +} + +// GetDisableAiaIntermediateFetchingOk returns a tuple with the DisableAiaIntermediateFetching field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SyntheticsTestOptions) GetDisableAiaIntermediateFetchingOk() (*bool, bool) { + if o == nil || o.DisableAiaIntermediateFetching == nil { + return nil, false + } + return o.DisableAiaIntermediateFetching, true +} + +// HasDisableAiaIntermediateFetching returns a boolean if a field has been set. +func (o *SyntheticsTestOptions) HasDisableAiaIntermediateFetching() bool { + return o != nil && o.DisableAiaIntermediateFetching != nil +} + +// SetDisableAiaIntermediateFetching gets a reference to the given bool and assigns it to the DisableAiaIntermediateFetching field. +func (o *SyntheticsTestOptions) SetDisableAiaIntermediateFetching(v bool) { + o.DisableAiaIntermediateFetching = &v +} + // GetDisableCors returns the DisableCors field value if set, zero value otherwise. func (o *SyntheticsTestOptions) GetDisableCors() bool { if o == nil || o.DisableCors == nil { @@ -790,6 +820,9 @@ func (o SyntheticsTestOptions) MarshalJSON() ([]byte, error) { if o.DeviceIds != nil { toSerialize["device_ids"] = o.DeviceIds } + if o.DisableAiaIntermediateFetching != nil { + toSerialize["disableAiaIntermediateFetching"] = o.DisableAiaIntermediateFetching + } if o.DisableCors != nil { toSerialize["disableCors"] = o.DisableCors } @@ -857,37 +890,38 @@ func (o SyntheticsTestOptions) MarshalJSON() ([]byte, error) { // UnmarshalJSON deserializes the given payload. func (o *SyntheticsTestOptions) UnmarshalJSON(bytes []byte) (err error) { all := struct { - AcceptSelfSigned *bool `json:"accept_self_signed,omitempty"` - AllowInsecure *bool `json:"allow_insecure,omitempty"` - CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"` - Ci *SyntheticsTestCiOptions `json:"ci,omitempty"` - DeviceIds []string `json:"device_ids,omitempty"` - DisableCors *bool `json:"disableCors,omitempty"` - DisableCsp *bool `json:"disableCsp,omitempty"` - EnableProfiling *bool `json:"enableProfiling,omitempty"` - EnableSecurityTesting *bool `json:"enableSecurityTesting,omitempty"` - FollowRedirects *bool `json:"follow_redirects,omitempty"` - HttpVersion *SyntheticsTestOptionsHTTPVersion `json:"httpVersion,omitempty"` - IgnoreServerCertificateError *bool `json:"ignoreServerCertificateError,omitempty"` - InitialNavigationTimeout *int64 `json:"initialNavigationTimeout,omitempty"` - MinFailureDuration *int64 `json:"min_failure_duration,omitempty"` - MinLocationFailed *int64 `json:"min_location_failed,omitempty"` - MonitorName *string `json:"monitor_name,omitempty"` - MonitorOptions *SyntheticsTestOptionsMonitorOptions `json:"monitor_options,omitempty"` - MonitorPriority *int32 `json:"monitor_priority,omitempty"` - NoScreenshot *bool `json:"noScreenshot,omitempty"` - RestrictedRoles []string `json:"restricted_roles,omitempty"` - Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"` - RumSettings *SyntheticsBrowserTestRumSettings `json:"rumSettings,omitempty"` - Scheduling *SyntheticsTestOptionsScheduling `json:"scheduling,omitempty"` - TickEvery *int64 `json:"tick_every,omitempty"` + AcceptSelfSigned *bool `json:"accept_self_signed,omitempty"` + AllowInsecure *bool `json:"allow_insecure,omitempty"` + CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"` + Ci *SyntheticsTestCiOptions `json:"ci,omitempty"` + DeviceIds []string `json:"device_ids,omitempty"` + DisableAiaIntermediateFetching *bool `json:"disableAiaIntermediateFetching,omitempty"` + DisableCors *bool `json:"disableCors,omitempty"` + DisableCsp *bool `json:"disableCsp,omitempty"` + EnableProfiling *bool `json:"enableProfiling,omitempty"` + EnableSecurityTesting *bool `json:"enableSecurityTesting,omitempty"` + FollowRedirects *bool `json:"follow_redirects,omitempty"` + HttpVersion *SyntheticsTestOptionsHTTPVersion `json:"httpVersion,omitempty"` + IgnoreServerCertificateError *bool `json:"ignoreServerCertificateError,omitempty"` + InitialNavigationTimeout *int64 `json:"initialNavigationTimeout,omitempty"` + MinFailureDuration *int64 `json:"min_failure_duration,omitempty"` + MinLocationFailed *int64 `json:"min_location_failed,omitempty"` + MonitorName *string `json:"monitor_name,omitempty"` + MonitorOptions *SyntheticsTestOptionsMonitorOptions `json:"monitor_options,omitempty"` + MonitorPriority *int32 `json:"monitor_priority,omitempty"` + NoScreenshot *bool `json:"noScreenshot,omitempty"` + RestrictedRoles []string `json:"restricted_roles,omitempty"` + Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"` + RumSettings *SyntheticsBrowserTestRumSettings `json:"rumSettings,omitempty"` + Scheduling *SyntheticsTestOptionsScheduling `json:"scheduling,omitempty"` + TickEvery *int64 `json:"tick_every,omitempty"` }{} if err = datadog.Unmarshal(bytes, &all); err != nil { return datadog.Unmarshal(bytes, &o.UnparsedObject) } additionalProperties := make(map[string]interface{}) if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"accept_self_signed", "allow_insecure", "checkCertificateRevocation", "ci", "device_ids", "disableCors", "disableCsp", "enableProfiling", "enableSecurityTesting", "follow_redirects", "httpVersion", "ignoreServerCertificateError", "initialNavigationTimeout", "min_failure_duration", "min_location_failed", "monitor_name", "monitor_options", "monitor_priority", "noScreenshot", "restricted_roles", "retry", "rumSettings", "scheduling", "tick_every"}) + datadog.DeleteKeys(additionalProperties, &[]string{"accept_self_signed", "allow_insecure", "checkCertificateRevocation", "ci", "device_ids", "disableAiaIntermediateFetching", "disableCors", "disableCsp", "enableProfiling", "enableSecurityTesting", "follow_redirects", "httpVersion", "ignoreServerCertificateError", "initialNavigationTimeout", "min_failure_duration", "min_location_failed", "monitor_name", "monitor_options", "monitor_priority", "noScreenshot", "restricted_roles", "retry", "rumSettings", "scheduling", "tick_every"}) } else { return err } @@ -901,6 +935,7 @@ func (o *SyntheticsTestOptions) UnmarshalJSON(bytes []byte) (err error) { } o.Ci = all.Ci o.DeviceIds = all.DeviceIds + o.DisableAiaIntermediateFetching = all.DisableAiaIntermediateFetching o.DisableCors = all.DisableCors o.DisableCsp = all.DisableCsp o.EnableProfiling = all.EnableProfiling diff --git a/api/datadogV1/model_synthetics_test_request.go b/api/datadogV1/model_synthetics_test_request.go index 1c781b368a8..edacd0eff5d 100644 --- a/api/datadogV1/model_synthetics_test_request.go +++ b/api/datadogV1/model_synthetics_test_request.go @@ -30,6 +30,8 @@ type SyntheticsTestRequest struct { CompressedJsonDescriptor *string `json:"compressedJsonDescriptor,omitempty"` // A protobuf file that needs to be gzipped first then base64 encoded. CompressedProtoFile *string `json:"compressedProtoFile,omitempty"` + // Disable fetching intermediate certificates from AIA. + DisableAiaIntermediateFetching *bool `json:"disableAiaIntermediateFetching,omitempty"` // DNS server to use for DNS tests. DnsServer *string `json:"dnsServer,omitempty"` // DNS server port to use for DNS tests. @@ -380,6 +382,34 @@ func (o *SyntheticsTestRequest) SetCompressedProtoFile(v string) { o.CompressedProtoFile = &v } +// GetDisableAiaIntermediateFetching returns the DisableAiaIntermediateFetching field value if set, zero value otherwise. +func (o *SyntheticsTestRequest) GetDisableAiaIntermediateFetching() bool { + if o == nil || o.DisableAiaIntermediateFetching == nil { + var ret bool + return ret + } + return *o.DisableAiaIntermediateFetching +} + +// GetDisableAiaIntermediateFetchingOk returns a tuple with the DisableAiaIntermediateFetching field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SyntheticsTestRequest) GetDisableAiaIntermediateFetchingOk() (*bool, bool) { + if o == nil || o.DisableAiaIntermediateFetching == nil { + return nil, false + } + return o.DisableAiaIntermediateFetching, true +} + +// HasDisableAiaIntermediateFetching returns a boolean if a field has been set. +func (o *SyntheticsTestRequest) HasDisableAiaIntermediateFetching() bool { + return o != nil && o.DisableAiaIntermediateFetching != nil +} + +// SetDisableAiaIntermediateFetching gets a reference to the given bool and assigns it to the DisableAiaIntermediateFetching field. +func (o *SyntheticsTestRequest) SetDisableAiaIntermediateFetching(v bool) { + o.DisableAiaIntermediateFetching = &v +} + // GetDnsServer returns the DnsServer field value if set, zero value otherwise. func (o *SyntheticsTestRequest) GetDnsServer() string { if o == nil || o.DnsServer == nil { @@ -1060,6 +1090,9 @@ func (o SyntheticsTestRequest) MarshalJSON() ([]byte, error) { if o.CompressedProtoFile != nil { toSerialize["compressedProtoFile"] = o.CompressedProtoFile } + if o.DisableAiaIntermediateFetching != nil { + toSerialize["disableAiaIntermediateFetching"] = o.DisableAiaIntermediateFetching + } if o.DnsServer != nil { toSerialize["dnsServer"] = o.DnsServer } @@ -1139,46 +1172,47 @@ func (o SyntheticsTestRequest) MarshalJSON() ([]byte, error) { // UnmarshalJSON deserializes the given payload. func (o *SyntheticsTestRequest) UnmarshalJSON(bytes []byte) (err error) { all := struct { - AllowInsecure *bool `json:"allow_insecure,omitempty"` - BasicAuth *SyntheticsBasicAuth `json:"basicAuth,omitempty"` - Body *string `json:"body,omitempty"` - BodyType *SyntheticsTestRequestBodyType `json:"bodyType,omitempty"` - CallType *SyntheticsTestCallType `json:"callType,omitempty"` - Certificate *SyntheticsTestRequestCertificate `json:"certificate,omitempty"` - CertificateDomains []string `json:"certificateDomains,omitempty"` - CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"` - CompressedJsonDescriptor *string `json:"compressedJsonDescriptor,omitempty"` - CompressedProtoFile *string `json:"compressedProtoFile,omitempty"` - DnsServer *string `json:"dnsServer,omitempty"` - DnsServerPort *SyntheticsTestRequestDNSServerPort `json:"dnsServerPort,omitempty"` - Files []SyntheticsTestRequestBodyFile `json:"files,omitempty"` - FollowRedirects *bool `json:"follow_redirects,omitempty"` - Form map[string]string `json:"form,omitempty"` - Headers map[string]string `json:"headers,omitempty"` - Host *string `json:"host,omitempty"` - HttpVersion *SyntheticsTestOptionsHTTPVersion `json:"httpVersion,omitempty"` - IsMessageBase64Encoded *bool `json:"isMessageBase64Encoded,omitempty"` - Message *string `json:"message,omitempty"` - Metadata map[string]string `json:"metadata,omitempty"` - Method *string `json:"method,omitempty"` - NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty"` - NumberOfPackets *int32 `json:"numberOfPackets,omitempty"` - PersistCookies *bool `json:"persistCookies,omitempty"` - Port *SyntheticsTestRequestPort `json:"port,omitempty"` - Proxy *SyntheticsTestRequestProxy `json:"proxy,omitempty"` - Query interface{} `json:"query,omitempty"` - Servername *string `json:"servername,omitempty"` - Service *string `json:"service,omitempty"` - ShouldTrackHops *bool `json:"shouldTrackHops,omitempty"` - Timeout *float64 `json:"timeout,omitempty"` - Url *string `json:"url,omitempty"` + AllowInsecure *bool `json:"allow_insecure,omitempty"` + BasicAuth *SyntheticsBasicAuth `json:"basicAuth,omitempty"` + Body *string `json:"body,omitempty"` + BodyType *SyntheticsTestRequestBodyType `json:"bodyType,omitempty"` + CallType *SyntheticsTestCallType `json:"callType,omitempty"` + Certificate *SyntheticsTestRequestCertificate `json:"certificate,omitempty"` + CertificateDomains []string `json:"certificateDomains,omitempty"` + CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"` + CompressedJsonDescriptor *string `json:"compressedJsonDescriptor,omitempty"` + CompressedProtoFile *string `json:"compressedProtoFile,omitempty"` + DisableAiaIntermediateFetching *bool `json:"disableAiaIntermediateFetching,omitempty"` + DnsServer *string `json:"dnsServer,omitempty"` + DnsServerPort *SyntheticsTestRequestDNSServerPort `json:"dnsServerPort,omitempty"` + Files []SyntheticsTestRequestBodyFile `json:"files,omitempty"` + FollowRedirects *bool `json:"follow_redirects,omitempty"` + Form map[string]string `json:"form,omitempty"` + Headers map[string]string `json:"headers,omitempty"` + Host *string `json:"host,omitempty"` + HttpVersion *SyntheticsTestOptionsHTTPVersion `json:"httpVersion,omitempty"` + IsMessageBase64Encoded *bool `json:"isMessageBase64Encoded,omitempty"` + Message *string `json:"message,omitempty"` + Metadata map[string]string `json:"metadata,omitempty"` + Method *string `json:"method,omitempty"` + NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty"` + NumberOfPackets *int32 `json:"numberOfPackets,omitempty"` + PersistCookies *bool `json:"persistCookies,omitempty"` + Port *SyntheticsTestRequestPort `json:"port,omitempty"` + Proxy *SyntheticsTestRequestProxy `json:"proxy,omitempty"` + Query interface{} `json:"query,omitempty"` + Servername *string `json:"servername,omitempty"` + Service *string `json:"service,omitempty"` + ShouldTrackHops *bool `json:"shouldTrackHops,omitempty"` + Timeout *float64 `json:"timeout,omitempty"` + Url *string `json:"url,omitempty"` }{} if err = datadog.Unmarshal(bytes, &all); err != nil { return datadog.Unmarshal(bytes, &o.UnparsedObject) } additionalProperties := make(map[string]interface{}) if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"allow_insecure", "basicAuth", "body", "bodyType", "callType", "certificate", "certificateDomains", "checkCertificateRevocation", "compressedJsonDescriptor", "compressedProtoFile", "dnsServer", "dnsServerPort", "files", "follow_redirects", "form", "headers", "host", "httpVersion", "isMessageBase64Encoded", "message", "metadata", "method", "noSavingResponseBody", "numberOfPackets", "persistCookies", "port", "proxy", "query", "servername", "service", "shouldTrackHops", "timeout", "url"}) + datadog.DeleteKeys(additionalProperties, &[]string{"allow_insecure", "basicAuth", "body", "bodyType", "callType", "certificate", "certificateDomains", "checkCertificateRevocation", "compressedJsonDescriptor", "compressedProtoFile", "disableAiaIntermediateFetching", "dnsServer", "dnsServerPort", "files", "follow_redirects", "form", "headers", "host", "httpVersion", "isMessageBase64Encoded", "message", "metadata", "method", "noSavingResponseBody", "numberOfPackets", "persistCookies", "port", "proxy", "query", "servername", "service", "shouldTrackHops", "timeout", "url"}) } else { return err } @@ -1205,6 +1239,7 @@ func (o *SyntheticsTestRequest) UnmarshalJSON(bytes []byte) (err error) { o.CheckCertificateRevocation = all.CheckCertificateRevocation o.CompressedJsonDescriptor = all.CompressedJsonDescriptor o.CompressedProtoFile = all.CompressedProtoFile + o.DisableAiaIntermediateFetching = all.DisableAiaIntermediateFetching o.DnsServer = all.DnsServer o.DnsServerPort = all.DnsServerPort o.Files = all.Files diff --git a/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.go b/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.go index 340f5375a60..5def6487ae7 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.go +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.go @@ -36,9 +36,10 @@ func main() { Message: "BDD test payload: synthetics_api_ssl_test_payload.json", Name: "Example-Synthetic", Options: datadogV1.SyntheticsTestOptions{ - AcceptSelfSigned: datadog.PtrBool(true), - CheckCertificateRevocation: datadog.PtrBool(true), - TickEvery: datadog.PtrInt64(60), + AcceptSelfSigned: datadog.PtrBool(true), + CheckCertificateRevocation: datadog.PtrBool(true), + DisableAiaIntermediateFetching: datadog.PtrBool(true), + TickEvery: datadog.PtrInt64(60), }, Subtype: datadogV1.SYNTHETICSTESTDETAILSSUBTYPE_SSL.Ptr(), Tags: []string{ diff --git a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go index bf90c8876a6..42350dcfd72 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go @@ -121,8 +121,9 @@ func main() { }}, }, Request: datadogV1.SyntheticsTestRequest{ - CheckCertificateRevocation: datadog.PtrBool(true), - Host: datadog.PtrString("example.org"), + CheckCertificateRevocation: datadog.PtrBool(true), + DisableAiaIntermediateFetching: datadog.PtrBool(true), + Host: datadog.PtrString("example.org"), Port: &datadogV1.SyntheticsTestRequestPort{ SyntheticsTestRequestNumericalPort: datadog.PtrInt64(443)}, }, diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.freeze index 5b6c21a97e7..a6f7b838511 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.freeze @@ -1 +1 @@ -2025-06-02T14:06:04.761Z \ No newline at end of file +2025-07-11T17:23:47.597Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml index 3387207b325..58e3e60a8aa 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1748873164","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1748873164","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} + {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} form: {} headers: Accept: @@ -12,17 +12,19 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/api response: - body: '{"public_id":"xy5-fdf-62m","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1748873164","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-06-02T14:06:05.985800+00:00","modified_at":"2025-06-02T14:06:05.985800+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', - dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"uiz-rdp-5du"},{"name":"Wait","subtype":"wait","value":1,"id":"sbf-4sm-i6a"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC - CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"6cm-cj5-j2c"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL - step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"pan-tzn-86t"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS - step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"3sj-357-kj8"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP - step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"swn-qrd-nrd"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP - step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"zpq-hd3-5se"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket + body: '{"public_id":"n7v-ha9-ks4","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-07-11T17:23:48.243288+00:00","modified_at":"2025-07-11T17:23:48.243288+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', + dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"682-5gj-2cn"},{"name":"Wait","subtype":"wait","value":1,"id":"sr3-7vs-arm"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC + CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"h8s-juc-298"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL + step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"sh8-ms8-hsk"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS + step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"y5d-it6-htm"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP + step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"fbk-tpg-ytp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP + step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"ncp-gug-wiu"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My - message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"dib-uee-9wy"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP - step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"s78-iuj-ep9"}]},"message":"BDD - test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1748873164","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":173873687,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"rct-rzx-hgc"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP + step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"x4y-uam-yjr"}]},"message":"BDD + test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":177655272,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' code: 200 duration: 0ms headers: @@ -31,7 +33,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1748873164","tags":[]} + {"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1752254627","tags":[]} form: {} headers: Accept: @@ -42,7 +44,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/variables response: - body: '{"id":"9d28ea82-c207-4940-935c-82a6fbe69765","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1748873164","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}} + body: '{"id":"5ac7f334-cb78-4ab4-94a4-3490e25f1479","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1752254627","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}} ' code: 200 @@ -59,7 +61,7 @@ interactions: - '*/*' id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/synthetics/variables/9d28ea82-c207-4940-935c-82a6fbe69765 + url: https://api.datadoghq.com/api/v1/synthetics/variables/5ac7f334-cb78-4ab4-94a4-3490e25f1479 response: body: '' code: 200 @@ -70,7 +72,7 @@ interactions: status: 200 OK - request: body: | - {"public_ids":["xy5-fdf-62m"]} + {"public_ids":["n7v-ha9-ks4"]} form: {} headers: Accept: @@ -81,7 +83,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/delete response: - body: '{"deleted_tests":[{"public_id":"xy5-fdf-62m","deleted_at":"2025-06-02T14:06:07.944742+00:00"}]} + body: '{"deleted_tests":[{"public_id":"n7v-ha9-ks4","deleted_at":"2025-07-11T17:23:50.605892+00:00"}]} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.freeze index 61b25cdab4a..ff30c4d6c97 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.freeze @@ -1 +1 @@ -2025-06-02T14:05:42.416Z \ No newline at end of file +2025-07-11T17:23:50.849Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.yaml index ad28b0301b9..6062536187e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_TOTP_global_variable_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1748873142","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1748873142","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} + {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} form: {} headers: Accept: @@ -12,17 +12,19 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/api response: - body: '{"public_id":"rvj-43h-5zv","name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1748873142","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-06-02T14:05:43.614434+00:00","modified_at":"2025-06-02T14:05:43.614434+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', - dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"hmq-tvi-gud"},{"name":"Wait","subtype":"wait","value":1,"id":"6ce-ark-rtb"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC - CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"c3r-2wg-dag"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL - step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"aaq-vgm-28b"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS - step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"n2p-m48-cyq"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP - step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"b94-35d-5ig"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP - step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"6bj-7tj-cmw"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket + body: '{"public_id":"kgr-bme-8nw","name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-07-11T17:23:51.482505+00:00","modified_at":"2025-07-11T17:23:51.482505+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', + dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"ax6-gjc-umh"},{"name":"Wait","subtype":"wait","value":1,"id":"nb6-pxs-szd"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC + CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"cci-erz-d88"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL + step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"pjf-u4m-6mp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS + step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"szs-xdz-ihc"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP + step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"2jx-6jc-whu"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP + step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"xki-eh9-p23"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My - message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"xxg-ngd-hds"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP - step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"irv-quv-d2f"}]},"message":"BDD - test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1748873142","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":173873648,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"jqm-ban-zt8"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP + step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"jue-djv-56k"}]},"message":"BDD + test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":177655276,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' code: 200 duration: 0ms headers: @@ -31,7 +33,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_totp":true,"name":"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1748873142","tags":[],"value":{"options":{"totp_parameters":{"digits":6,"refresh_interval":30}},"secure":false,"value":""}} + {"description":"","is_totp":true,"name":"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1752254630","tags":[],"value":{"options":{"totp_parameters":{"digits":6,"refresh_interval":30}},"secure":false,"value":""}} form: {} headers: Accept: @@ -42,7 +44,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/variables response: - body: '{"id":"6243bf46-c2da-4411-ae6e-11a2f6499106","name":"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1748873142","description":"","type":"variable","tags":[],"last_error":null,"is_totp":true,"value":{"options":{"totp_parameters":{"digits":6,"refresh_interval":30}},"secure":false,"value":""}} + body: '{"id":"93c47222-ce0c-47d8-ac31-50b3cca2d4a4","name":"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1752254630","description":"","type":"variable","tags":[],"last_error":null,"is_totp":true,"value":{"options":{"totp_parameters":{"digits":6,"refresh_interval":30}},"secure":false,"value":""}} ' code: 200 @@ -59,7 +61,7 @@ interactions: - '*/*' id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/synthetics/variables/6243bf46-c2da-4411-ae6e-11a2f6499106 + url: https://api.datadoghq.com/api/v1/synthetics/variables/93c47222-ce0c-47d8-ac31-50b3cca2d4a4 response: body: '' code: 200 @@ -70,7 +72,7 @@ interactions: status: 200 OK - request: body: | - {"public_ids":["rvj-43h-5zv"]} + {"public_ids":["kgr-bme-8nw"]} form: {} headers: Accept: @@ -81,7 +83,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/delete response: - body: '{"deleted_tests":[{"public_id":"rvj-43h-5zv","deleted_at":"2025-06-02T14:05:45.464641+00:00"}]} + body: '{"deleted_tests":[{"public_id":"kgr-bme-8nw","deleted_at":"2025-07-11T17:23:54.049562+00:00"}]} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.freeze index 50d9289b9be..eb7615271de 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.freeze @@ -1 +1 @@ -2025-06-02T14:03:51.685Z \ No newline at end of file +2025-07-11T17:23:54.276Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.yaml index 96e4accda9e..0cd60200e78 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_global_variable_from_test_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_global_variable_from_test_returns_OK_response-1748873031","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_global_variable_from_test_returns_OK_response-1748873031","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} + {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} form: {} headers: Accept: @@ -12,17 +12,19 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/api response: - body: '{"public_id":"igt-x8m-s8i","name":"Test-Create_a_global_variable_from_test_returns_OK_response-1748873031","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-06-02T14:03:52.956600+00:00","modified_at":"2025-06-02T14:03:52.956600+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', - dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"mr7-rvd-njj"},{"name":"Wait","subtype":"wait","value":1,"id":"wse-66s-yfk"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC - CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"uga-mju-nnv"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL - step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"c97-pxs-iih"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS - step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"4t2-4au-uhr"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP - step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"vvz-ht9-u8e"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP - step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"gkv-emx-pz7"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket + body: '{"public_id":"kpq-ja8-3rg","name":"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-07-11T17:23:54.934621+00:00","modified_at":"2025-07-11T17:23:54.934621+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', + dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"vts-q3p-hvn"},{"name":"Wait","subtype":"wait","value":1,"id":"tu6-xnu-s9n"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC + CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"tjm-9ys-w9y"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL + step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"5i3-4gv-9fp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS + step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"hrb-y7g-dwi"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP + step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"tsn-dwe-i4a"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP + step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"j8m-x8g-74w"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My - message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"pke-6qx-k5s"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP - step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"k5s-jya-7v8"}]},"message":"BDD - test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_global_variable_from_test_returns_OK_response-1748873031","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":173873535,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"wvv-u47-d3p"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP + step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"ds6-vnn-2mc"}]},"message":"BDD + test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":177655286,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' code: 200 duration: 0ms headers: @@ -31,7 +33,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","name":"GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1748873031","parse_test_options":{"localVariableName":"EXTRACTED_VALUE","type":"local_variable"},"parse_test_public_id":"igt-x8m-s8i","tags":[],"value":{"secure":false,"value":""}} + {"description":"","name":"GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1752254634","parse_test_options":{"localVariableName":"EXTRACTED_VALUE","type":"local_variable"},"parse_test_public_id":"kpq-ja8-3rg","tags":[],"value":{"secure":false,"value":""}} form: {} headers: Accept: @@ -42,7 +44,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/variables response: - body: '{"id":"3425a5b3-4433-4272-96b1-ba3ae4251c4c","name":"GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1748873031","description":"","type":"variable","tags":[],"last_error":null,"value":{"secure":false,"value":""},"parse_test_public_id":"igt-x8m-s8i","parse_test_name":null,"parse_test_options":{"localVariableName":"EXTRACTED_VALUE","type":"local_variable"},"parse_test_extracted_at":null} + body: '{"id":"9e7cddea-3a17-4c1f-a73e-73f5bde41812","name":"GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1752254634","description":"","type":"variable","tags":[],"last_error":null,"value":{"secure":false,"value":""},"parse_test_public_id":"kpq-ja8-3rg","parse_test_name":null,"parse_test_options":{"localVariableName":"EXTRACTED_VALUE","type":"local_variable"},"parse_test_extracted_at":null} ' code: 200 @@ -59,7 +61,7 @@ interactions: - '*/*' id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/synthetics/variables/3425a5b3-4433-4272-96b1-ba3ae4251c4c + url: https://api.datadoghq.com/api/v1/synthetics/variables/9e7cddea-3a17-4c1f-a73e-73f5bde41812 response: body: '' code: 200 @@ -70,7 +72,7 @@ interactions: status: 200 OK - request: body: | - {"public_ids":["igt-x8m-s8i"]} + {"public_ids":["kpq-ja8-3rg"]} form: {} headers: Accept: @@ -81,7 +83,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/delete response: - body: '{"deleted_tests":[{"public_id":"igt-x8m-s8i","deleted_at":"2025-06-02T14:03:55.017560+00:00"}]} + body: '{"deleted_tests":[{"public_id":"kpq-ja8-3rg","deleted_at":"2025-07-11T17:23:57.293335+00:00"}]} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.freeze index 2ca93bd3d4e..d440d9ecec9 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.freeze @@ -1 +1 @@ -2024-12-09T11:18:02.836Z \ No newline at end of file +2025-07-11T17:23:57.607Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.yaml index 7b4dbfead06..f315acfa910 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_SSL_test_returns_OK_-_Returns_the_created_test_details._response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"config":{"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"request":{"host":"datadoghq.com","port":"{{ DATADOG_PORT }}"}},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_ssl_test_payload.json","name":"Test-Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response-1733743082","options":{"accept_self_signed":true,"checkCertificateRevocation":true,"tick_every":60},"subtype":"ssl","tags":["testing:api"],"type":"api"} + {"config":{"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"request":{"host":"datadoghq.com","port":"{{ DATADOG_PORT }}"}},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_ssl_test_payload.json","name":"Test-Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response-1752254637","options":{"accept_self_signed":true,"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"tick_every":60},"subtype":"ssl","tags":["testing:api"],"type":"api"} form: {} headers: Accept: @@ -12,9 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/api response: - body: '{"public_id":"9f9-ngb-e6m","name":"Test-Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response-1733743082","status":"live","type":"api","subtype":"ssl","tags":["testing:api"],"created_at":"2024-12-09T11:18:03.407511+00:00","modified_at":"2024-12-09T11:18:03.407511+00:00","config":{"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"request":{"host":"datadoghq.com","port":"{{ + body: '{"public_id":"ppr-ina-vd6","name":"Test-Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response-1752254637","status":"live","type":"api","subtype":"ssl","tags":["testing:api"],"created_at":"2025-07-11T17:23:58.189592+00:00","modified_at":"2025-07-11T17:23:58.189592+00:00","config":{"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"request":{"host":"datadoghq.com","port":"{{ DATADOG_PORT }}"},"configVariables":[{"id":"7865d47f-47df-43b5-a612-e2dea9ed40e8","name":"DATADOG_PORT","type":"global"}]},"message":"BDD - test payload: synthetics_api_ssl_test_payload.json","options":{"accept_self_signed":true,"checkCertificateRevocation":true,"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":159881033,"org_id":321813,"modified_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + test payload: synthetics_api_ssl_test_payload.json","options":{"accept_self_signed":true,"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":177655296,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' code: 200 duration: 0ms headers: @@ -23,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"public_ids":["9f9-ngb-e6m"]} + {"public_ids":["ppr-ina-vd6"]} form: {} headers: Accept: @@ -34,7 +36,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/delete response: - body: '{"deleted_tests":[{"public_id":"9f9-ngb-e6m","deleted_at":"2024-12-09T11:18:04.422376+00:00"}]} + body: '{"deleted_tests":[{"public_id":"ppr-ina-vd6","deleted_at":"2025-07-11T17:23:59.574697+00:00"}]} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.freeze index 75119b94252..2ba82fbd630 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.freeze @@ -1 +1 @@ -2025-06-02T13:54:14.928Z \ No newline at end of file +2025-07-11T17:23:59.790Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.yaml index 811c71980a9..0a1d0978ff4 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_an_API_test_with_multi_subtype_returns_OK_-_Returns_the_created_test_details._response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1748872454","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1748872454","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} + {"config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set('STATUS_CODE', dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http"},{"name":"Wait","subtype":"wait","value":1},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp"}]},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_test_multi_step_payload.json","name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"} form: {} headers: Accept: @@ -12,17 +12,19 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/api response: - body: '{"public_id":"f8g-ufw-7jh","name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1748872454","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-06-02T13:54:16.385956+00:00","modified_at":"2025-06-02T13:54:16.385956+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', - dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"b9i-49e-cbc"},{"name":"Wait","subtype":"wait","value":1,"id":"hts-r8n-7cd"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC - CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"bjn-q2b-i3f"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL - step","request":{"checkCertificateRevocation":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"4av-6tm-hv2"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS - step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"fpg-qw2-4hd"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP - step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"mhy-akb-v3w"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP - step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"hzi-i5i-5q6"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket + body: '{"public_id":"rv5-fh5-qxi","name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-07-11T17:24:00.435072+00:00","modified_at":"2025-07-11T17:24:00.435072+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"exitIfSucceed":true,"extractedValues":[{"field":"server","name":"EXTRACTED_VALUE","parser":{"type":"raw"},"secure":true,"type":"http_header"}],"extractedValuesFromScript":"dd.variable.set(''STATUS_CODE'', + dd.response.statusCode);","isCritical":true,"name":"request is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"8gd-rh5-ct5"},{"name":"Wait","subtype":"wait","value":1,"id":"utc-mhc-6ws"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC + CALL","request":{"callType":"unary","compressedJsonDescriptor":"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==","host":"grpcbin.test.k6.io","message":"{}","metadata":{},"method":"Index","port":9000,"service":"grpcbin.GRPCBin"},"retry":{"count":0,"interval":300},"subtype":"grpc","id":"jyc-fup-qhy"},{"allowFailure":false,"assertions":[{"operator":"isInMoreThan","target":10,"type":"certificate"}],"isCritical":true,"name":"SSL + step","request":{"checkCertificateRevocation":true,"disableAiaIntermediateFetching":true,"host":"example.org","port":443},"retry":{"count":0,"interval":300},"subtype":"ssl","id":"jds-pqx-eb3"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"DNS + step","request":{"dnsServer":"8.8.8.8","dnsServerPort":"53","host":"troisdizaines.com"},"retry":{"count":0,"interval":300},"subtype":"dns","id":"68v-9mb-3e8"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"TCP + step","request":{"host":"34.95.79.70","port":80,"shouldTrackHops":true,"timeout":32},"retry":{"count":0,"interval":300},"subtype":"tcp","id":"upy-nkf-vjp"},{"allowFailure":false,"assertions":[{"operator":"is","target":0,"type":"packetLossPercentage"}],"isCritical":true,"name":"ICMP + step","request":{"host":"34.95.79.70","numberOfPackets":4,"shouldTrackHops":true,"timeout":38},"retry":{"count":0,"interval":300},"subtype":"icmp","id":"2j5-s8z-4kj"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"Websocket step","request":{"basicAuth":{"password":"password","type":"web","username":"user"},"headers":{"f":"g"},"isMessageBase64Encoded":true,"message":"My - message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"ghb-izk-i5v"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP - step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"e8r-xz9-g9j"}]},"message":"BDD - test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1748872454","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":173872568,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + message","url":"ws://34.95.79.70/web-socket"},"retry":{"count":0,"interval":300},"subtype":"websocket","id":"fn6-q68-fhi"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"isCritical":true,"name":"UDP + step","request":{"host":"8.8.8.8","message":"A image.google.com","port":53},"retry":{"count":0,"interval":300},"subtype":"udp","id":"hk5-uyh-i3x"}]},"message":"BDD + test payload: synthetics_api_test_multi_step_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":177655297,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' code: 200 duration: 0ms headers: @@ -31,7 +33,7 @@ interactions: status: 200 OK - request: body: | - {"public_ids":["f8g-ufw-7jh"]} + {"public_ids":["rv5-fh5-qxi"]} form: {} headers: Accept: @@ -42,7 +44,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/synthetics/tests/delete response: - body: '{"deleted_tests":[{"public_id":"f8g-ufw-7jh","deleted_at":"2025-06-02T13:54:17.391847+00:00"}]} + body: '{"deleted_tests":[{"public_id":"rv5-fh5-qxi","deleted_at":"2025-07-11T17:24:01.919137+00:00"}]} ' code: 200 diff --git a/tests/scenarios/features/v1/given.json b/tests/scenarios/features/v1/given.json index 3aff222e7cd..2606012caa1 100644 --- a/tests/scenarios/features/v1/given.json +++ b/tests/scenarios/features/v1/given.json @@ -250,7 +250,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"exitIfSucceed\": true,\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\",\n \"httpVersion\": \"http2\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\",\n \"extractedValuesFromScript\": \"dd.variable.set('STATUS_CODE', dd.response.statusCode);\"\n },\n {\n \"name\": \"Wait\",\n \"subtype\": \"wait\",\n \"value\": 1\n },\n {\n \"name\": \"GRPC CALL\",\n \"subtype\": \"grpc\",\n \"extractedValues\": [],\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"grpcbin.test.k6.io\",\n \"port\": 9000,\n \"service\": \"grpcbin.GRPCBin\",\n \"method\": \"Index\",\n \"message\": \"{}\",\n \"compressedJsonDescriptor\": \"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\n \"metadata\": {},\n \"callType\": \"unary\"\n }\n },\n {\n \"name\": \"SSL step\",\n \"subtype\": \"ssl\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"isInMoreThan\",\n \"type\": \"certificate\",\n \"target\": 10\n }\n ],\n \"request\": {\n \"checkCertificateRevocation\": true,\n \"host\": \"example.org\",\n \"port\": 443\n }\n },\n {\n \"name\": \"DNS step\",\n \"subtype\": \"dns\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"troisdizaines.com\",\n \"dnsServer\": \"8.8.8.8\",\n \"dnsServerPort\": \"53\"\n }\n },\n {\n \"name\": \"TCP step\",\n \"subtype\": \"tcp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"34.95.79.70\",\n \"port\": 80,\n \"shouldTrackHops\": true,\n \"timeout\": 32\n }\n },\n {\n \"name\": \"ICMP step\",\n \"subtype\": \"icmp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"target\": 0,\n \"type\": \"packetLossPercentage\"\n }\n ],\n \"request\": {\n \"host\": \"34.95.79.70\",\n \"numberOfPackets\": 4,\n \"shouldTrackHops\": true,\n \"timeout\": 38\n }\n },\n {\n \"name\": \"Websocket step\",\n \"subtype\": \"websocket\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"url\": \"ws://34.95.79.70/web-socket\",\n \"message\": \"My message\",\n \"isMessageBase64Encoded\": true,\n \"headers\": {\n \"f\": \"g\"\n },\n \"basicAuth\": {\n \"type\": \"web\",\n \"username\": \"user\",\n \"password\": \"password\"\n }\n }\n },\n {\n \"name\": \"UDP step\",\n \"subtype\": \"udp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"8.8.8.8\",\n \"port\": 53,\n \"message\": \"A image.google.com\"\n }\n }\n ]\n },\n \"locations\": [\n \"aws:us-east-2\"\n ],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": {\n \"count\": 3,\n \"interval\": 1000\n },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\n \"testing:api\"\n ],\n \"type\": \"api\"\n}" + "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"exitIfSucceed\": true,\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\",\n \"httpVersion\": \"http2\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\",\n \"extractedValuesFromScript\": \"dd.variable.set('STATUS_CODE', dd.response.statusCode);\"\n },\n {\n \"name\": \"Wait\",\n \"subtype\": \"wait\",\n \"value\": 1\n },\n {\n \"name\": \"GRPC CALL\",\n \"subtype\": \"grpc\",\n \"extractedValues\": [],\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"grpcbin.test.k6.io\",\n \"port\": 9000,\n \"service\": \"grpcbin.GRPCBin\",\n \"method\": \"Index\",\n \"message\": \"{}\",\n \"compressedJsonDescriptor\": \"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\n \"metadata\": {},\n \"callType\": \"unary\"\n }\n },\n {\n \"name\": \"SSL step\",\n \"subtype\": \"ssl\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"isInMoreThan\",\n \"type\": \"certificate\",\n \"target\": 10\n }\n ],\n \"request\": {\n \"checkCertificateRevocation\": true,\n \"disableAiaIntermediateFetching\": true,\n \"host\": \"example.org\",\n \"port\": 443\n }\n },\n {\n \"name\": \"DNS step\",\n \"subtype\": \"dns\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"troisdizaines.com\",\n \"dnsServer\": \"8.8.8.8\",\n \"dnsServerPort\": \"53\"\n }\n },\n {\n \"name\": \"TCP step\",\n \"subtype\": \"tcp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"34.95.79.70\",\n \"port\": 80,\n \"shouldTrackHops\": true,\n \"timeout\": 32\n }\n },\n {\n \"name\": \"ICMP step\",\n \"subtype\": \"icmp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"target\": 0,\n \"type\": \"packetLossPercentage\"\n }\n ],\n \"request\": {\n \"host\": \"34.95.79.70\",\n \"numberOfPackets\": 4,\n \"shouldTrackHops\": true,\n \"timeout\": 38\n }\n },\n {\n \"name\": \"Websocket step\",\n \"subtype\": \"websocket\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"url\": \"ws://34.95.79.70/web-socket\",\n \"message\": \"My message\",\n \"isMessageBase64Encoded\": true,\n \"headers\": {\n \"f\": \"g\"\n },\n \"basicAuth\": {\n \"type\": \"web\",\n \"username\": \"user\",\n \"password\": \"password\"\n }\n }\n },\n {\n \"name\": \"UDP step\",\n \"subtype\": \"udp\",\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"8.8.8.8\",\n \"port\": 53,\n \"message\": \"A image.google.com\"\n }\n }\n ]\n },\n \"locations\": [\n \"aws:us-east-2\"\n ],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": {\n \"count\": 3,\n \"interval\": 1000\n },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\n \"testing:api\"\n ],\n \"type\": \"api\"\n}" } ], "step": "there is a valid \"synthetics_api_test_multi_step\" in the system", diff --git a/tests/scenarios/features/v1/synthetics.feature b/tests/scenarios/features/v1/synthetics.feature index 45dcf7ceada..45ee8ca241d 100644 --- a/tests/scenarios/features/v1/synthetics.feature +++ b/tests/scenarios/features/v1/synthetics.feature @@ -306,6 +306,7 @@ Feature: Synthetics And the response "config.steps[3].request.host" is equal to "example.org" And the response "config.steps[3].request.port" is equal to 443 And the response "config.steps[3].request.checkCertificateRevocation" is equal to true + And the response "config.steps[3].request.disableAiaIntermediateFetching" is equal to true And the response "config.steps[4].subtype" is equal to "dns" And the response "config.steps[4].request.host" is equal to "troisdizaines.com" And the response "config.steps[4].request.dnsServer" is equal to "8.8.8.8" diff --git a/tests/scenarios/features/v1/synthetics_api_ssl_test_payload.json b/tests/scenarios/features/v1/synthetics_api_ssl_test_payload.json index 9be8e882db9..69aa27c347e 100644 --- a/tests/scenarios/features/v1/synthetics_api_ssl_test_payload.json +++ b/tests/scenarios/features/v1/synthetics_api_ssl_test_payload.json @@ -18,6 +18,7 @@ "options": { "accept_self_signed": true, "checkCertificateRevocation": true, + "disableAiaIntermediateFetching": true, "tick_every": 60 }, "subtype": "ssl", diff --git a/tests/scenarios/features/v1/synthetics_api_test_multi_step_payload.json b/tests/scenarios/features/v1/synthetics_api_test_multi_step_payload.json index 70e79e7b6b3..158f40e6fcf 100644 --- a/tests/scenarios/features/v1/synthetics_api_test_multi_step_payload.json +++ b/tests/scenarios/features/v1/synthetics_api_test_multi_step_payload.json @@ -96,6 +96,7 @@ ], "request": { "checkCertificateRevocation": true, + "disableAiaIntermediateFetching": true, "host": "example.org", "port": 443 }