From 0e8ff4bdd72453c8aa575ffde72f91ba08473304 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 15 Jul 2025 09:33:01 +0000 Subject: [PATCH] Regenerate client from commit d93d991 of spec repo --- .generated-info | 4 +- .generator/schemas/v1/openapi.yaml | 11 +++++- .../CreateSyntheticsAPITest_1072503741.java | 1 + .../CreateSyntheticsAPITest_1279271422.java | 1 + .../v1/model/SyntheticsTestOptions.java | 39 ++++++++++++++++++- .../v1/model/SyntheticsTestRequest.java | 34 ++++++++++++++++ ...global_variable_returns_OK_response.freeze | 2 +- ...O_global_variable_returns_OK_response.json | 22 +++++------ ...global_variable_returns_OK_response.freeze | 2 +- ...P_global_variable_returns_OK_response.json | 22 +++++------ ...iable_from_test_returns_OK_response.freeze | 2 +- ...ariable_from_test_returns_OK_response.json | 22 +++++------ ...s_the_created_test_details_response.freeze | 2 +- ...rns_the_created_test_details_response.json | 12 +++--- ...s_the_created_test_details_response.freeze | 2 +- ...rns_the_created_test_details_response.json | 12 +++--- .../com/datadog/api/client/v1/api/given.json | 2 +- .../api/client/v1/api/synthetics.feature | 1 + .../api/synthetics_api_ssl_test_payload.json | 1 + ...ynthetics_api_test_multi_step_payload.json | 1 + 20 files changed, 138 insertions(+), 57 deletions(-) diff --git a/.generated-info b/.generated-info index 98514f6cbe8..8f5fca09a28 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "bb240c6", - "generated": "2025-07-14 18:17:38.592" + "spec_repo_commit": "d93d991", + "generated": "2025-07-15 09:33:00.867" } 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/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.java b/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.java index 73f276eb488..fe671d97ede 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.java +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.java @@ -44,6 +44,7 @@ public static void main(String[] args) { new SyntheticsTestOptions() .acceptSelfSigned(true) .checkCertificateRevocation(true) + .disableAiaIntermediateFetching(true) .tickEvery(60L)) .subtype(SyntheticsTestDetailsSubType.SSL) .tags(Collections.singletonList("testing:api")) diff --git a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.java b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.java index 4719beeb499..96fbd50d8cd 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.java +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.java @@ -148,6 +148,7 @@ public static void main(String[] args) { .request( new SyntheticsTestRequest() .checkCertificateRevocation(true) + .disableAiaIntermediateFetching(true) .host("example.org") .port(new SyntheticsTestRequestPort(443L)))), new SyntheticsAPIStep( diff --git a/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java b/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java index 98a1c1ee956..f17f41ed79a 100644 --- a/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java +++ b/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java @@ -25,6 +25,7 @@ SyntheticsTestOptions.JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION, SyntheticsTestOptions.JSON_PROPERTY_CI, SyntheticsTestOptions.JSON_PROPERTY_DEVICE_IDS, + SyntheticsTestOptions.JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING, SyntheticsTestOptions.JSON_PROPERTY_DISABLE_CORS, SyntheticsTestOptions.JSON_PROPERTY_DISABLE_CSP, SyntheticsTestOptions.JSON_PROPERTY_ENABLE_PROFILING, @@ -65,6 +66,10 @@ public class SyntheticsTestOptions { public static final String JSON_PROPERTY_DEVICE_IDS = "device_ids"; private List deviceIds = null; + public static final String JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING = + "disableAiaIntermediateFetching"; + private Boolean disableAiaIntermediateFetching; + public static final String JSON_PROPERTY_DISABLE_CORS = "disableCors"; private Boolean disableCors; @@ -129,7 +134,7 @@ public SyntheticsTestOptions acceptSelfSigned(Boolean acceptSelfSigned) { } /** - * For SSL test, whether or not the test should allow self signed certificates. + * For SSL tests, whether or not the test should allow self signed certificates. * * @return acceptSelfSigned */ @@ -171,7 +176,7 @@ public SyntheticsTestOptions checkCertificateRevocation(Boolean checkCertificate } /** - * 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. * * @return checkCertificateRevocation */ @@ -237,6 +242,29 @@ public void setDeviceIds(List deviceIds) { this.deviceIds = deviceIds; } + public SyntheticsTestOptions disableAiaIntermediateFetching( + Boolean disableAiaIntermediateFetching) { + this.disableAiaIntermediateFetching = disableAiaIntermediateFetching; + return this; + } + + /** + * For SSL tests, whether or not the test should disable fetching intermediate certificates from + * AIA. + * + * @return disableAiaIntermediateFetching + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getDisableAiaIntermediateFetching() { + return disableAiaIntermediateFetching; + } + + public void setDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) { + this.disableAiaIntermediateFetching = disableAiaIntermediateFetching; + } + public SyntheticsTestOptions disableCors(Boolean disableCors) { this.disableCors = disableCors; return this; @@ -730,6 +758,9 @@ public boolean equals(Object o) { this.checkCertificateRevocation, syntheticsTestOptions.checkCertificateRevocation) && Objects.equals(this.ci, syntheticsTestOptions.ci) && Objects.equals(this.deviceIds, syntheticsTestOptions.deviceIds) + && Objects.equals( + this.disableAiaIntermediateFetching, + syntheticsTestOptions.disableAiaIntermediateFetching) && Objects.equals(this.disableCors, syntheticsTestOptions.disableCors) && Objects.equals(this.disableCsp, syntheticsTestOptions.disableCsp) && Objects.equals(this.enableProfiling, syntheticsTestOptions.enableProfiling) @@ -762,6 +793,7 @@ public int hashCode() { checkCertificateRevocation, ci, deviceIds, + disableAiaIntermediateFetching, disableCors, disableCsp, enableProfiling, @@ -795,6 +827,9 @@ public String toString() { .append("\n"); sb.append(" ci: ").append(toIndentedString(ci)).append("\n"); sb.append(" deviceIds: ").append(toIndentedString(deviceIds)).append("\n"); + sb.append(" disableAiaIntermediateFetching: ") + .append(toIndentedString(disableAiaIntermediateFetching)) + .append("\n"); sb.append(" disableCors: ").append(toIndentedString(disableCors)).append("\n"); sb.append(" disableCsp: ").append(toIndentedString(disableCsp)).append("\n"); sb.append(" enableProfiling: ").append(toIndentedString(enableProfiling)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestRequest.java b/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestRequest.java index 19eb5f539f0..24fadf04348 100644 --- a/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestRequest.java +++ b/src/main/java/com/datadog/api/client/v1/model/SyntheticsTestRequest.java @@ -30,6 +30,7 @@ SyntheticsTestRequest.JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION, SyntheticsTestRequest.JSON_PROPERTY_COMPRESSED_JSON_DESCRIPTOR, SyntheticsTestRequest.JSON_PROPERTY_COMPRESSED_PROTO_FILE, + SyntheticsTestRequest.JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING, SyntheticsTestRequest.JSON_PROPERTY_DNS_SERVER, SyntheticsTestRequest.JSON_PROPERTY_DNS_SERVER_PORT, SyntheticsTestRequest.JSON_PROPERTY_FILES, @@ -89,6 +90,10 @@ public class SyntheticsTestRequest { public static final String JSON_PROPERTY_COMPRESSED_PROTO_FILE = "compressedProtoFile"; private String compressedProtoFile; + public static final String JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING = + "disableAiaIntermediateFetching"; + private Boolean disableAiaIntermediateFetching; + public static final String JSON_PROPERTY_DNS_SERVER = "dnsServer"; private String dnsServer; @@ -388,6 +393,28 @@ public void setCompressedProtoFile(String compressedProtoFile) { this.compressedProtoFile = compressedProtoFile; } + public SyntheticsTestRequest disableAiaIntermediateFetching( + Boolean disableAiaIntermediateFetching) { + this.disableAiaIntermediateFetching = disableAiaIntermediateFetching; + return this; + } + + /** + * Disable fetching intermediate certificates from AIA. + * + * @return disableAiaIntermediateFetching + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getDisableAiaIntermediateFetching() { + return disableAiaIntermediateFetching; + } + + public void setDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) { + this.disableAiaIntermediateFetching = disableAiaIntermediateFetching; + } + public SyntheticsTestRequest dnsServer(String dnsServer) { this.dnsServer = dnsServer; return this; @@ -988,6 +1015,9 @@ public boolean equals(Object o) { && Objects.equals( this.compressedJsonDescriptor, syntheticsTestRequest.compressedJsonDescriptor) && Objects.equals(this.compressedProtoFile, syntheticsTestRequest.compressedProtoFile) + && Objects.equals( + this.disableAiaIntermediateFetching, + syntheticsTestRequest.disableAiaIntermediateFetching) && Objects.equals(this.dnsServer, syntheticsTestRequest.dnsServer) && Objects.equals(this.dnsServerPort, syntheticsTestRequest.dnsServerPort) && Objects.equals(this.files, syntheticsTestRequest.files) @@ -1027,6 +1057,7 @@ public int hashCode() { checkCertificateRevocation, compressedJsonDescriptor, compressedProtoFile, + disableAiaIntermediateFetching, dnsServer, dnsServerPort, files, @@ -1073,6 +1104,9 @@ public String toString() { sb.append(" compressedProtoFile: ") .append(toIndentedString(compressedProtoFile)) .append("\n"); + sb.append(" disableAiaIntermediateFetching: ") + .append(toIndentedString(disableAiaIntermediateFetching)) + .append("\n"); sb.append(" dnsServer: ").append(toIndentedString(dnsServer)).append("\n"); sb.append(" dnsServerPort: ").append(toIndentedString(dnsServerPort)).append("\n"); sb.append(" files: ").append(toIndentedString(files)).append("\n"); diff --git a/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.freeze index 5b6c21a97e7..a6f7b838511 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/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/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.json index 98b17081843..cc58d4f0046 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_FIDO_global_variable_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\"}" + "json": "{\"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\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "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 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\"}}", + "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\":\"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\"}}", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "1a11f9c0-af98-3dcd-b8b0-6ab1aa1a2a55" + "id": "116f05f6-312b-da76-93dd-46c350c5bff7" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_fido\":true,\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1748873164\",\"tags\":[]}" + "json": "{\"description\":\"\",\"is_fido\":true,\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1752254627\",\"tags\":[]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "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}}\n", + "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}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "1ce04933-53aa-2ed6-1ce1-1e274f12a8a7" + "id": "8b5393cc-b334-eb3d-d2a0-ce070177fba4" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/synthetics/variables/9d28ea82-c207-4940-935c-82a6fbe69765", + "path": "/api/v1/synthetics/variables/5ac7f334-cb78-4ab4-94a4-3490e25f1479", "keepAlive": false, "secure": true }, @@ -82,13 +82,13 @@ "timeToLive": { "unlimited": true }, - "id": "eac4c2c0-739e-8d09-fc07-711ee4683c74" + "id": "c24b85cd-b151-b448-a02b-562290d74ad6" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"public_ids\":[\"xy5-fdf-62m\"]}" + "json": "{\"public_ids\":[\"n7v-ha9-ks4\"]}" }, "headers": {}, "method": "POST", @@ -97,7 +97,7 @@ "secure": true }, "httpResponse": { - "body": "{\"deleted_tests\":[{\"public_id\":\"xy5-fdf-62m\",\"deleted_at\":\"2025-06-02T14:06:07.944742+00:00\"}]}\n", + "body": "{\"deleted_tests\":[{\"public_id\":\"n7v-ha9-ks4\",\"deleted_at\":\"2025-07-11T17:23:50.605892+00:00\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -112,6 +112,6 @@ "timeToLive": { "unlimited": true }, - "id": "eddb8625-2912-d9db-92ea-c488f71207c9" + "id": "17f629dc-f55a-7ced-a44a-cbc792007c92" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.freeze index 61b25cdab4a..ff30c4d6c97 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/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/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.json index 25ec29ec4b0..aae06334ae2 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_TOTP_global_variable_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\"}" + "json": "{\"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\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "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 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\"}}", + "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\":\"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\"}}", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "4c41e93c-8200-cf54-7098-876b47be7df7" + "id": "27f9e652-9465-db68-9fde-5dfb0ae5c375" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_totp\":true,\"name\":\"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1748873142\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" + "json": "{\"description\":\"\",\"is_totp\":true,\"name\":\"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1752254630\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "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\":\"\"}}\n", + "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\":\"\"}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "b45a35bf-9e5d-6fff-96cd-59f596be4b52" + "id": "5d9d5db1-7de8-00d1-7837-f4599c2dd725" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/synthetics/variables/6243bf46-c2da-4411-ae6e-11a2f6499106", + "path": "/api/v1/synthetics/variables/93c47222-ce0c-47d8-ac31-50b3cca2d4a4", "keepAlive": false, "secure": true }, @@ -82,13 +82,13 @@ "timeToLive": { "unlimited": true }, - "id": "cf8aaaf4-1db9-07f9-b3d7-b75b2a283031" + "id": "b61b3e88-a4e2-2ee0-67e6-07c9acf5f686" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"public_ids\":[\"rvj-43h-5zv\"]}" + "json": "{\"public_ids\":[\"kgr-bme-8nw\"]}" }, "headers": {}, "method": "POST", @@ -97,7 +97,7 @@ "secure": true }, "httpResponse": { - "body": "{\"deleted_tests\":[{\"public_id\":\"rvj-43h-5zv\",\"deleted_at\":\"2025-06-02T14:05:45.464641+00:00\"}]}\n", + "body": "{\"deleted_tests\":[{\"public_id\":\"kgr-bme-8nw\",\"deleted_at\":\"2025-07-11T17:23:54.049562+00:00\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -112,6 +112,6 @@ "timeToLive": { "unlimited": true }, - "id": "891d9388-c623-ecaf-b8c7-da5266947486" + "id": "286e0a63-25ad-af98-5782-4f2d8ded97fe" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.freeze index 50d9289b9be..eb7615271de 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/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/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.json index faf5da7e9ff..d336261ded2 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_global_variable_from_test_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\"}" + "json": "{\"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\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "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 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\"}}", + "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\":\"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\"}}", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "be923357-5dd3-6637-3446-a0374b3a27d5" + "id": "2a514d3d-e310-7639-5326-e990201ee94f" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\":\"\"}}" + "json": "{\"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\":\"\"}}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "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}\n", + "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}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "eab99daf-4571-bf73-6ee9-5efd75aec4ad" + "id": "051a49f5-caff-3e5b-6fae-f7397e1e5d1f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/synthetics/variables/3425a5b3-4433-4272-96b1-ba3ae4251c4c", + "path": "/api/v1/synthetics/variables/9e7cddea-3a17-4c1f-a73e-73f5bde41812", "keepAlive": false, "secure": true }, @@ -82,13 +82,13 @@ "timeToLive": { "unlimited": true }, - "id": "f3a9b993-b011-c302-f348-f06dde233304" + "id": "a7ff5bcc-06b0-1e72-c56c-03f56d479db8" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"public_ids\":[\"igt-x8m-s8i\"]}" + "json": "{\"public_ids\":[\"kpq-ja8-3rg\"]}" }, "headers": {}, "method": "POST", @@ -97,7 +97,7 @@ "secure": true }, "httpResponse": { - "body": "{\"deleted_tests\":[{\"public_id\":\"igt-x8m-s8i\",\"deleted_at\":\"2025-06-02T14:03:55.017560+00:00\"}]}\n", + "body": "{\"deleted_tests\":[{\"public_id\":\"kpq-ja8-3rg\",\"deleted_at\":\"2025-07-11T17:23:57.293335+00:00\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -112,6 +112,6 @@ "timeToLive": { "unlimited": true }, - "id": "8fcebc13-d238-850b-f3e0-dd390ecaeb9f" + "id": "7470a1be-9228-1d22-302b-647eae797b57" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.freeze b/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.freeze index 2ca93bd3d4e..d440d9ecec9 100644 --- a/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.freeze +++ b/src/test/resources/cassettes/features/v1/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/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.json b/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.json index cdac988158e..f218f862f89 100644 --- a/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.json +++ b/src/test/resources/cassettes/features/v1/Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\"}" + "json": "{\"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\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "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\":\"{{ 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\"}}", + "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,\"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\"}}", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "542a8a4a-fcc6-c3ba-4c22-e65b915e4665" + "id": "7971da29-5a6a-6613-4cc6-ed57d7d97ae6" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"public_ids\":[\"9f9-ngb-e6m\"]}" + "json": "{\"public_ids\":[\"ppr-ina-vd6\"]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"deleted_tests\":[{\"public_id\":\"9f9-ngb-e6m\",\"deleted_at\":\"2024-12-09T11:18:04.422376+00:00\"}]}\n", + "body": "{\"deleted_tests\":[{\"public_id\":\"ppr-ina-vd6\",\"deleted_at\":\"2025-07-11T17:23:59.574697+00:00\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "ddce072f-b353-1020-c28c-e9774864a7bf" + "id": "ec5b4756-b6f3-b88a-d44c-8ebf2a037c80" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.freeze b/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.freeze index 75119b94252..2ba82fbd630 100644 --- a/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.freeze +++ b/src/test/resources/cassettes/features/v1/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/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.json b/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.json index 1f716cca6a5..297def15894 100644 --- a/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.json +++ b/src/test/resources/cassettes/features/v1/Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"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\"}" + "json": "{\"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\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "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 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\"}}", + "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\":\"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\"}}", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "ac8f2719-f71f-4d9f-a3fc-a15fe7929d63" + "id": "116c76e5-96ed-b63b-1bb1-ad7f2b4b397e" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"public_ids\":[\"f8g-ufw-7jh\"]}" + "json": "{\"public_ids\":[\"rv5-fh5-qxi\"]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"deleted_tests\":[{\"public_id\":\"f8g-ufw-7jh\",\"deleted_at\":\"2025-06-02T13:54:17.391847+00:00\"}]}\n", + "body": "{\"deleted_tests\":[{\"public_id\":\"rv5-fh5-qxi\",\"deleted_at\":\"2025-07-11T17:24:01.919137+00:00\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "48ae2ab6-6829-d9f0-d757-1277274d2759" + "id": "3eb33ff1-5e05-fa49-084d-534ca7c4c931" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v1/api/given.json b/src/test/resources/com/datadog/api/client/v1/api/given.json index 3aff222e7cd..2606012caa1 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/given.json +++ b/src/test/resources/com/datadog/api/client/v1/api/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/src/test/resources/com/datadog/api/client/v1/api/synthetics.feature b/src/test/resources/com/datadog/api/client/v1/api/synthetics.feature index 45dcf7ceada..45ee8ca241d 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/synthetics.feature +++ b/src/test/resources/com/datadog/api/client/v1/api/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/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_ssl_test_payload.json b/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_ssl_test_payload.json index 9be8e882db9..69aa27c347e 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_ssl_test_payload.json +++ b/src/test/resources/com/datadog/api/client/v1/api/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/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_test_multi_step_payload.json b/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_test_multi_step_payload.json index 70e79e7b6b3..158f40e6fcf 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_test_multi_step_payload.json +++ b/src/test/resources/com/datadog/api/client/v1/api/synthetics_api_test_multi_step_payload.json @@ -96,6 +96,7 @@ ], "request": { "checkCertificateRevocation": true, + "disableAiaIntermediateFetching": true, "host": "example.org", "port": 443 }