Skip to content

Commit 677ff36

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add extractedValuesFromScript to multistep API tests (#2947)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5ce8196 commit 677ff36

15 files changed

+107
-58
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-27 13:36:39.212153",
8-
"spec_repo_commit": "91ac2533"
7+
"regenerated": "2025-02-27 14:00:48.457236",
8+
"spec_repo_commit": "240ec82d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-27 13:36:39.227668",
13-
"spec_repo_commit": "91ac2533"
12+
"regenerated": "2025-02-27 14:00:48.472811",
13+
"spec_repo_commit": "240ec82d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14028,6 +14028,9 @@ components:
1402814028
items:
1402914029
$ref: '#/components/schemas/SyntheticsParsingOptions'
1403014030
type: array
14031+
extractedValuesFromScript:
14032+
description: Generate variables using JavaScript.
14033+
type: string
1403114034
isCritical:
1403214035
description: 'Determines whether or not to consider the entire test as failed
1403314036
if this step fails.

api/datadogV1/model_synthetics_api_test_step.go

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ type SyntheticsAPITestStep struct {
2020
ExitIfSucceed *bool `json:"exitIfSucceed,omitempty"`
2121
// Array of values to parse and save as variables from the response.
2222
ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
23+
// Generate variables using JavaScript.
24+
ExtractedValuesFromScript *string `json:"extractedValuesFromScript,omitempty"`
2325
// Determines whether or not to consider the entire test as failed if this step fails.
2426
// Can be used only if `allowFailure` is `true`.
2527
IsCritical *bool `json:"isCritical,omitempty"`
@@ -164,6 +166,34 @@ func (o *SyntheticsAPITestStep) SetExtractedValues(v []SyntheticsParsingOptions)
164166
o.ExtractedValues = v
165167
}
166168

169+
// GetExtractedValuesFromScript returns the ExtractedValuesFromScript field value if set, zero value otherwise.
170+
func (o *SyntheticsAPITestStep) GetExtractedValuesFromScript() string {
171+
if o == nil || o.ExtractedValuesFromScript == nil {
172+
var ret string
173+
return ret
174+
}
175+
return *o.ExtractedValuesFromScript
176+
}
177+
178+
// GetExtractedValuesFromScriptOk returns a tuple with the ExtractedValuesFromScript field value if set, nil otherwise
179+
// and a boolean to check if the value has been set.
180+
func (o *SyntheticsAPITestStep) GetExtractedValuesFromScriptOk() (*string, bool) {
181+
if o == nil || o.ExtractedValuesFromScript == nil {
182+
return nil, false
183+
}
184+
return o.ExtractedValuesFromScript, true
185+
}
186+
187+
// HasExtractedValuesFromScript returns a boolean if a field has been set.
188+
func (o *SyntheticsAPITestStep) HasExtractedValuesFromScript() bool {
189+
return o != nil && o.ExtractedValuesFromScript != nil
190+
}
191+
192+
// SetExtractedValuesFromScript gets a reference to the given string and assigns it to the ExtractedValuesFromScript field.
193+
func (o *SyntheticsAPITestStep) SetExtractedValuesFromScript(v string) {
194+
o.ExtractedValuesFromScript = &v
195+
}
196+
167197
// GetIsCritical returns the IsCritical field value if set, zero value otherwise.
168198
func (o *SyntheticsAPITestStep) GetIsCritical() bool {
169199
if o == nil || o.IsCritical == nil {
@@ -305,6 +335,9 @@ func (o SyntheticsAPITestStep) MarshalJSON() ([]byte, error) {
305335
if o.ExtractedValues != nil {
306336
toSerialize["extractedValues"] = o.ExtractedValues
307337
}
338+
if o.ExtractedValuesFromScript != nil {
339+
toSerialize["extractedValuesFromScript"] = o.ExtractedValuesFromScript
340+
}
308341
if o.IsCritical != nil {
309342
toSerialize["isCritical"] = o.IsCritical
310343
}
@@ -324,15 +357,16 @@ func (o SyntheticsAPITestStep) MarshalJSON() ([]byte, error) {
324357
// UnmarshalJSON deserializes the given payload.
325358
func (o *SyntheticsAPITestStep) UnmarshalJSON(bytes []byte) (err error) {
326359
all := struct {
327-
AllowFailure *bool `json:"allowFailure,omitempty"`
328-
Assertions *[]SyntheticsAssertion `json:"assertions"`
329-
ExitIfSucceed *bool `json:"exitIfSucceed,omitempty"`
330-
ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
331-
IsCritical *bool `json:"isCritical,omitempty"`
332-
Name *string `json:"name"`
333-
Request *SyntheticsTestRequest `json:"request"`
334-
Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"`
335-
Subtype *SyntheticsAPITestStepSubtype `json:"subtype"`
360+
AllowFailure *bool `json:"allowFailure,omitempty"`
361+
Assertions *[]SyntheticsAssertion `json:"assertions"`
362+
ExitIfSucceed *bool `json:"exitIfSucceed,omitempty"`
363+
ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
364+
ExtractedValuesFromScript *string `json:"extractedValuesFromScript,omitempty"`
365+
IsCritical *bool `json:"isCritical,omitempty"`
366+
Name *string `json:"name"`
367+
Request *SyntheticsTestRequest `json:"request"`
368+
Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"`
369+
Subtype *SyntheticsAPITestStepSubtype `json:"subtype"`
336370
}{}
337371
if err = datadog.Unmarshal(bytes, &all); err != nil {
338372
return datadog.Unmarshal(bytes, &o.UnparsedObject)
@@ -351,7 +385,7 @@ func (o *SyntheticsAPITestStep) UnmarshalJSON(bytes []byte) (err error) {
351385
}
352386
additionalProperties := make(map[string]interface{})
353387
if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil {
354-
datadog.DeleteKeys(additionalProperties, &[]string{"allowFailure", "assertions", "exitIfSucceed", "extractedValues", "isCritical", "name", "request", "retry", "subtype"})
388+
datadog.DeleteKeys(additionalProperties, &[]string{"allowFailure", "assertions", "exitIfSucceed", "extractedValues", "extractedValuesFromScript", "isCritical", "name", "request", "retry", "subtype"})
355389
} else {
356390
return err
357391
}
@@ -361,6 +395,7 @@ func (o *SyntheticsAPITestStep) UnmarshalJSON(bytes []byte) (err error) {
361395
o.Assertions = *all.Assertions
362396
o.ExitIfSucceed = all.ExitIfSucceed
363397
o.ExtractedValues = all.ExtractedValues
398+
o.ExtractedValuesFromScript = all.ExtractedValuesFromScript
364399
o.IsCritical = all.IsCritical
365400
o.Name = *all.Name
366401
if all.Request.UnparsedObject != nil && o.UnparsedObject == nil {

examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ func main() {
5959
Count: datadog.PtrInt64(5),
6060
Interval: datadog.PtrFloat64(1000),
6161
},
62-
Subtype: datadogV1.SYNTHETICSAPITESTSTEPSUBTYPE_HTTP,
62+
Subtype: datadogV1.SYNTHETICSAPITESTSTEPSUBTYPE_HTTP,
63+
ExtractedValuesFromScript: datadog.PtrString("dd.variable.set('STATUS_CODE', dd.response.statusCode);"),
6364
}},
6465
datadogV1.SyntheticsAPIStep{
6566
SyntheticsAPIWaitStep: &datadogV1.SyntheticsAPIWaitStep{
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-09T11:17:37.828Z
1+
2025-02-25T16:34:23.928Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: |
4-
{"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"}],"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"}]},"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-1733743057","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-1733743057","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"}
4+
{"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"}]},"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-1740501263","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-1740501263","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"}
55
form: {}
66
headers:
77
Accept:
@@ -12,10 +12,12 @@ interactions:
1212
method: POST
1313
url: https://api.datadoghq.com/api/v1/synthetics/tests/api
1414
response:
15-
body: '{"public_id":"2ym-xig-di5","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1733743057","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2024-12-09T11:17:38.620924+00:00","modified_at":"2024-12-09T11:17:38.620924+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"}],"isCritical":true,"name":"request
16-
is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"669-hdh-vh3"},{"name":"Wait","subtype":"wait","value":1,"id":"hkh-v6r-ddp"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC
17-
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":"6w8-xwm-qki"}]},"message":"BDD
18-
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-1733743057","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":159880989,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"}}'
15+
body: '{"public_id":"rba-ta9-q2g","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1740501263","status":"live","type":"api","subtype":"multi","tags":["testing:api"],"created_at":"2025-02-25T16:34:24.599978+00:00","modified_at":"2025-02-25T16:34:24.599978+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'',
16+
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":"7he-q78-rkr"},{"name":"Wait","subtype":"wait","value":1,"id":"rj2-fyu-8mg"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC
17+
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":"5s9-wdd-awh"}]},"message":"BDD
18+
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-1740501263","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI
19+
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"},"deleted_at":null,"monitor_id":165393053,"org_id":321813,"modified_by":{"name":"CI
20+
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"}}'
1921
code: 200
2022
duration: 0ms
2123
headers:
@@ -24,7 +26,7 @@ interactions:
2426
status: 200 OK
2527
- request:
2628
body: |
27-
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1733743057","tags":[]}
29+
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1740501263","tags":[]}
2830
form: {}
2931
headers:
3032
Accept:
@@ -35,7 +37,7 @@ interactions:
3537
method: POST
3638
url: https://api.datadoghq.com/api/v1/synthetics/variables
3739
response:
38-
body: '{"id":"7e732043-f247-41d4-adff-ccf1624107b7","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1733743057","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}}
40+
body: '{"id":"8cf7404b-d839-4a30-b86e-02158c90d20e","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1740501263","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}}
3941
4042
'
4143
code: 200
@@ -52,7 +54,7 @@ interactions:
5254
- '*/*'
5355
id: 2
5456
method: DELETE
55-
url: https://api.datadoghq.com/api/v1/synthetics/variables/7e732043-f247-41d4-adff-ccf1624107b7
57+
url: https://api.datadoghq.com/api/v1/synthetics/variables/8cf7404b-d839-4a30-b86e-02158c90d20e
5658
response:
5759
body: ''
5860
code: 200
@@ -63,7 +65,7 @@ interactions:
6365
status: 200 OK
6466
- request:
6567
body: |
66-
{"public_ids":["2ym-xig-di5"]}
68+
{"public_ids":["rba-ta9-q2g"]}
6769
form: {}
6870
headers:
6971
Accept:
@@ -74,7 +76,7 @@ interactions:
7476
method: POST
7577
url: https://api.datadoghq.com/api/v1/synthetics/tests/delete
7678
response:
77-
body: '{"deleted_tests":[{"public_id":"2ym-xig-di5","deleted_at":"2024-12-09T11:17:40.588357+00:00"}]}
79+
body: '{"deleted_tests":[{"public_id":"rba-ta9-q2g","deleted_at":"2025-02-25T16:34:26.535007+00:00"}]}
7880
7981
'
8082
code: 200
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-09T11:17:40.840Z
1+
2025-02-25T16:34:26.775Z

0 commit comments

Comments
 (0)