Skip to content

Commit 3c7c6aa

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add exitIfSucceed to multistep API tests (#2825)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 201efff commit 3c7c6aa

File tree

56 files changed

+241
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+241
-201
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": "2024-12-05 20:22:39.701495",
8-
"spec_repo_commit": "970515f9"
7+
"regenerated": "2024-12-09 11:21:38.754852",
8+
"spec_repo_commit": "21da0df3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-05 20:22:39.720628",
13-
"spec_repo_commit": "970515f9"
12+
"regenerated": "2024-12-09 11:21:38.773982",
13+
"spec_repo_commit": "21da0df3"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13741,6 +13741,9 @@ components:
1374113741
items:
1374213742
$ref: '#/components/schemas/SyntheticsAssertion'
1374313743
type: array
13744+
exitIfSucceed:
13745+
description: Determines whether or not to exit the test if the step succeeds.
13746+
type: boolean
1374413747
extractedValues:
1374513748
description: Array of values to parse and save as variables from the response.
1374613749
items:

api/datadogV1/model_synthetics_api_test_step.go

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ type SyntheticsAPITestStep struct {
1616
AllowFailure *bool `json:"allowFailure,omitempty"`
1717
// Array of assertions used for the test.
1818
Assertions []SyntheticsAssertion `json:"assertions"`
19+
// Determines whether or not to exit the test if the step succeeds.
20+
ExitIfSucceed *bool `json:"exitIfSucceed,omitempty"`
1921
// Array of values to parse and save as variables from the response.
2022
ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
2123
// Determines whether or not to consider the entire test as failed if this step fails.
@@ -106,6 +108,34 @@ func (o *SyntheticsAPITestStep) SetAssertions(v []SyntheticsAssertion) {
106108
o.Assertions = v
107109
}
108110

111+
// GetExitIfSucceed returns the ExitIfSucceed field value if set, zero value otherwise.
112+
func (o *SyntheticsAPITestStep) GetExitIfSucceed() bool {
113+
if o == nil || o.ExitIfSucceed == nil {
114+
var ret bool
115+
return ret
116+
}
117+
return *o.ExitIfSucceed
118+
}
119+
120+
// GetExitIfSucceedOk returns a tuple with the ExitIfSucceed field value if set, nil otherwise
121+
// and a boolean to check if the value has been set.
122+
func (o *SyntheticsAPITestStep) GetExitIfSucceedOk() (*bool, bool) {
123+
if o == nil || o.ExitIfSucceed == nil {
124+
return nil, false
125+
}
126+
return o.ExitIfSucceed, true
127+
}
128+
129+
// HasExitIfSucceed returns a boolean if a field has been set.
130+
func (o *SyntheticsAPITestStep) HasExitIfSucceed() bool {
131+
return o != nil && o.ExitIfSucceed != nil
132+
}
133+
134+
// SetExitIfSucceed gets a reference to the given bool and assigns it to the ExitIfSucceed field.
135+
func (o *SyntheticsAPITestStep) SetExitIfSucceed(v bool) {
136+
o.ExitIfSucceed = &v
137+
}
138+
109139
// GetExtractedValues returns the ExtractedValues field value if set, zero value otherwise.
110140
func (o *SyntheticsAPITestStep) GetExtractedValues() []SyntheticsParsingOptions {
111141
if o == nil || o.ExtractedValues == nil {
@@ -269,6 +299,9 @@ func (o SyntheticsAPITestStep) MarshalJSON() ([]byte, error) {
269299
toSerialize["allowFailure"] = o.AllowFailure
270300
}
271301
toSerialize["assertions"] = o.Assertions
302+
if o.ExitIfSucceed != nil {
303+
toSerialize["exitIfSucceed"] = o.ExitIfSucceed
304+
}
272305
if o.ExtractedValues != nil {
273306
toSerialize["extractedValues"] = o.ExtractedValues
274307
}
@@ -293,6 +326,7 @@ func (o *SyntheticsAPITestStep) UnmarshalJSON(bytes []byte) (err error) {
293326
all := struct {
294327
AllowFailure *bool `json:"allowFailure,omitempty"`
295328
Assertions *[]SyntheticsAssertion `json:"assertions"`
329+
ExitIfSucceed *bool `json:"exitIfSucceed,omitempty"`
296330
ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
297331
IsCritical *bool `json:"isCritical,omitempty"`
298332
Name *string `json:"name"`
@@ -317,14 +351,15 @@ func (o *SyntheticsAPITestStep) UnmarshalJSON(bytes []byte) (err error) {
317351
}
318352
additionalProperties := make(map[string]interface{})
319353
if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil {
320-
datadog.DeleteKeys(additionalProperties, &[]string{"allowFailure", "assertions", "extractedValues", "isCritical", "name", "request", "retry", "subtype"})
354+
datadog.DeleteKeys(additionalProperties, &[]string{"allowFailure", "assertions", "exitIfSucceed", "extractedValues", "isCritical", "name", "request", "retry", "subtype"})
321355
} else {
322356
return err
323357
}
324358

325359
hasInvalidField := false
326360
o.AllowFailure = all.AllowFailure
327361
o.Assertions = *all.Assertions
362+
o.ExitIfSucceed = all.ExitIfSucceed
328363
o.ExtractedValues = all.ExtractedValues
329364
o.IsCritical = all.IsCritical
330365
o.Name = *all.Name

examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func main() {
3535
Target: 200,
3636
}},
3737
},
38+
ExitIfSucceed: datadog.PtrBool(true),
3839
ExtractedValues: []datadogV1.SyntheticsParsingOptions{
3940
{
4041
Field: datadog.PtrString("server"),

examples/v1/synthetics/CreateSyntheticsBrowserTest.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ func main() {
7070
Type: datadogV1.SYNTHETICSBROWSERTESTTYPE_BROWSER,
7171
Steps: []datadogV1.SyntheticsStep{
7272
{
73-
AllowFailure: datadog.PtrBool(false),
74-
IsCritical: datadog.PtrBool(true),
75-
Name: datadog.PtrString("Refresh page"),
76-
Params: new(interface{}),
77-
Type: datadogV1.SYNTHETICSSTEPTYPE_REFRESH.Ptr(),
73+
AllowFailure: datadog.PtrBool(false),
74+
AlwaysExecute: datadog.PtrBool(true),
75+
ExitIfSucceed: datadog.PtrBool(true),
76+
IsCritical: datadog.PtrBool(true),
77+
Name: datadog.PtrString("Refresh page"),
78+
Params: new(interface{}),
79+
Type: datadogV1.SYNTHETICSSTEPTYPE_REFRESH.Ptr(),
7880
},
7981
},
8082
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-09-10T20:52:06.237Z
1+
2024-12-09T11:17:37.828Z

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

Lines changed: 10 additions & 12 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"}],"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-1726001526","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-1726001526","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"}],"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"}
55
form: {}
66
headers:
77
Accept:
@@ -12,12 +12,10 @@ interactions:
1212
method: POST
1313
url: https://api.datadoghq.com/api/v1/synthetics/tests/api
1414
response:
15-
body: '{"public_id":"p6b-hvg-d5g","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1726001526","status":"live","type":"api","tags":["testing:api"],"created_at":"2024-09-10T20:52:06.807594+00:00","modified_at":"2024-09-10T20:52:06.807594+00:00","config":{"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"steps":[{"allowFailure":true,"assertions":[{"operator":"is","target":200,"type":"statusCode"}],"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":"9pq-dfu-4tx"},{"name":"Wait","subtype":"wait","value":1,"id":"5zh-heq-fy6"},{"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":"yym-8ty-zfz"}]},"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-1726001526","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"subtype":"multi","created_by":{"name":"CI
19-
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"},"deleted_at":null,"monitor_id":153521795,"org_id":321813,"modified_by":{"name":"CI
20-
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"}}'
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]"}}'
2119
code: 200
2220
duration: 0ms
2321
headers:
@@ -26,7 +24,7 @@ interactions:
2624
status: 200 OK
2725
- request:
2826
body: |
29-
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1726001526","tags":[]}
27+
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1733743057","tags":[]}
3028
form: {}
3129
headers:
3230
Accept:
@@ -37,7 +35,7 @@ interactions:
3735
method: POST
3836
url: https://api.datadoghq.com/api/v1/synthetics/variables
3937
response:
40-
body: '{"id":"444f9cc5-e73a-48f5-abf5-da526ad46a56","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1726001526","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}}
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}}
4139
4240
'
4341
code: 200
@@ -54,7 +52,7 @@ interactions:
5452
- '*/*'
5553
id: 2
5654
method: DELETE
57-
url: https://api.datadoghq.com/api/v1/synthetics/variables/444f9cc5-e73a-48f5-abf5-da526ad46a56
55+
url: https://api.datadoghq.com/api/v1/synthetics/variables/7e732043-f247-41d4-adff-ccf1624107b7
5856
response:
5957
body: ''
6058
code: 200
@@ -65,7 +63,7 @@ interactions:
6563
status: 200 OK
6664
- request:
6765
body: |
68-
{"public_ids":["p6b-hvg-d5g"]}
66+
{"public_ids":["2ym-xig-di5"]}
6967
form: {}
7068
headers:
7169
Accept:
@@ -76,7 +74,7 @@ interactions:
7674
method: POST
7775
url: https://api.datadoghq.com/api/v1/synthetics/tests/delete
7876
response:
79-
body: '{"deleted_tests":[{"public_id":"p6b-hvg-d5g","deleted_at":"2024-09-10T20:52:08.499085+00:00"}]}
77+
body: '{"deleted_tests":[{"public_id":"2ym-xig-di5","deleted_at":"2024-12-09T11:17:40.588357+00:00"}]}
8078
8179
'
8280
code: 200
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-09-10T20:52:08.676Z
1+
2024-12-09T11:17:40.840Z

0 commit comments

Comments
 (0)