From 047167c30cf17f4d1d614505aeee0fb347df6d39 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 3 Apr 2026 18:52:28 +0000 Subject: [PATCH] Regenerate client from commit d525a41 of spec repo --- features/v1/synthetics.feature | 198 ++++++++++++++++----------------- features/v2/synthetics.feature | 90 +++++++-------- 2 files changed, 144 insertions(+), 144 deletions(-) diff --git a/features/v1/synthetics.feature b/features/v1/synthetics.feature index 5651a4c9a5b3..38aef49ed16f 100644 --- a/features/v1/synthetics.feature +++ b/features/v1/synthetics.feature @@ -17,7 +17,7 @@ Feature: Synthetics And a valid "appKeyAuth" key in the system And an instance of "Synthetics" API - @replay-only @skip-validation @team:DataDog/synthetics-managing + @replay-only @skip-validation @team:DataDog/synthetics-orchestrating-managing Scenario: Client is resilient to enum and oneOf deserialization errors Given new "ListTests" request When the request is sent @@ -33,7 +33,7 @@ Feature: Synthetics And the response "tests[3].type" is equal to "A non existent test type" And the response "tests[4].config.request.method" is equal to "A non existent method" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a FIDO global variable returns "OK" response Given there is a valid "synthetics_api_test_multi_step" in the system And new "CreateGlobalVariable" request @@ -42,7 +42,7 @@ Feature: Synthetics Then the response status is 200 OK And the response "name" is equal to "GLOBAL_VARIABLE_FIDO_PAYLOAD_{{ unique_upper_alnum }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a TOTP global variable returns "OK" response Given there is a valid "synthetics_api_test_multi_step" in the system And new "CreateGlobalVariable" request @@ -51,14 +51,14 @@ Feature: Synthetics Then the response status is 200 OK And the response "name" is equal to "GLOBAL_VARIABLE_TOTP_PAYLOAD_{{ unique_upper_alnum }}" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a browser test returns "- JSON format is wrong" response Given new "CreateSyntheticsBrowserTest" request And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "files": [{}], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"blockedRequestPatterns": [], "ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 400 - JSON format is wrong - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a browser test returns "OK - Returns saved rumSettings." response Given new "CreateSyntheticsBrowserTest" request And body from file "synthetics_browser_test_payload_with_rum_settings.json" @@ -69,7 +69,7 @@ Feature: Synthetics And the response "options.rumSettings.clientTokenId" is equal to 12345 And the response "steps[0]" has field "public_id" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a browser test returns "OK - Returns the created test details." response Given new "CreateSyntheticsBrowserTest" request And body from file "synthetics_browser_test_payload.json" @@ -81,14 +81,14 @@ Feature: Synthetics And the response "steps[0].alwaysExecute" is equal to true And the response "steps[0].exitIfSucceed" is equal to true - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a browser test returns "Test quota is reached" response Given new "CreateSyntheticsBrowserTest" request And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "files": [{}], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"blockedRequestPatterns": [], "ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 402 Test quota is reached - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a browser test with advanced scheduling options returns "OK - Returns the created test details." response Given new "CreateSyntheticsBrowserTest" request And body from file "synthetics_browser_test_payload_with_advanced_scheduling.json" @@ -100,7 +100,7 @@ Feature: Synthetics And the response "options.scheduling.timeframes[1].to" is equal to "16:00" And the response "options.scheduling.timezone" is equal to "America/New_York" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a global variable from test returns "OK" response Given there is a valid "synthetics_api_test_multi_step" in the system And new "CreateGlobalVariable" request @@ -109,35 +109,35 @@ Feature: Synthetics Then the response status is 200 OK And the response "name" is equal to "GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_{{ unique_upper_alnum }}" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a global variable returns "Conflict" response Given new "CreateGlobalVariable" request And body with value {"attributes": {"restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "description": "Example description", "name": "MY_VARIABLE", "parse_test_options": {"field": "content-type", "localVariableName": "LOCAL_VARIABLE", "parser": {"type": "regex", "value": ".*"}, "type": "http_body"}, "parse_test_public_id": "abc-def-123", "tags": ["team:front", "test:workflow-1"], "value": {"secure": true, "value": "value"}} When the request is sent Then the response status is 409 Conflict - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a global variable returns "Invalid request" response Given new "CreateGlobalVariable" request And body with value {"attributes": {"restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "description": "Example description", "name": "MY_VARIABLE", "parse_test_options": {"field": "content-type", "localVariableName": "LOCAL_VARIABLE", "parser": {"type": "regex", "value": ".*"}, "type": "http_body"}, "parse_test_public_id": "abc-def-123", "tags": ["team:front", "test:workflow-1"], "value": {"secure": true, "value": "value"}} When the request is sent Then the response status is 400 Invalid request - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a global variable returns "OK" response Given new "CreateGlobalVariable" request And body with value {"attributes": {"restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "description": "Example description", "name": "MY_VARIABLE", "parse_test_options": {"field": "content-type", "localVariableName": "LOCAL_VARIABLE", "parser": {"type": "regex", "value": ".*"}, "type": "http_body"}, "parse_test_public_id": "abc-def-123", "tags": ["team:front", "test:workflow-1"], "value": {"secure": true, "value": "value"}} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a mobile test returns "- JSON format is wrong" response Given new "CreateSyntheticsMobileTest" request And body with value {"config": {"variables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}]}, "device_ids": ["chrome.laptop_large"], "message": "Notification message", "name": "Example test name", "options": {"bindings": [{"principals": [], "relation": "editor"}], "ci": {"executionRule": "blocking"}, "device_ids": ["synthetics:mobile:device:apple_ipad_10th_gen_2022_ios_16"], "mobileApplication": {"applicationId": "00000000-0000-0000-0000-aaaaaaaaaaaa", "referenceId": "00000000-0000-0000-0000-aaaaaaaaaaab", "referenceType": "latest"}, "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}, "tick_every": 300}, "status": "live", "steps": [{"name": "", "params": {"check": "equals", "direction": "up", "element": {"contextType": "native", "relativePosition": {}, "userLocator": {"values": [{"type": "accessibility-id"}]}}, "positions": [{}], "variable": {"example": "", "name": "VAR_NAME"}}, "publicId": "pub-lic-id0", "type": "assertElementContent"}], "tags": ["env:production"], "type": "mobile"} When the request is sent Then the response status is 400 - JSON format is wrong - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a mobile test returns "OK - Returns the created test details." response Given new "CreateSyntheticsMobileTest" request And body from file "synthetics_mobile_test_payload.json" @@ -149,14 +149,14 @@ Feature: Synthetics And the response "options.mobileApplication.referenceId" is equal to "6115922a-5f5d-455e-bc7e-7955a57f3815" And the response "options.mobileApplication.referenceType" is equal to "version" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a mobile test returns "Test quota is reached" response Given new "CreateSyntheticsMobileTest" request And body with value {"config": {"variables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}]}, "device_ids": ["chrome.laptop_large"], "message": "Notification message", "name": "Example test name", "options": {"bindings": [{"principals": [], "relation": "editor"}], "ci": {"executionRule": "blocking"}, "device_ids": ["synthetics:mobile:device:apple_ipad_10th_gen_2022_ios_16"], "mobileApplication": {"applicationId": "00000000-0000-0000-0000-aaaaaaaaaaaa", "referenceId": "00000000-0000-0000-0000-aaaaaaaaaaab", "referenceType": "latest"}, "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}, "tick_every": 300}, "status": "live", "steps": [{"name": "", "params": {"check": "equals", "direction": "up", "element": {"contextType": "native", "relativePosition": {}, "userLocator": {"values": [{"type": "accessibility-id"}]}}, "positions": [{}], "variable": {"example": "", "name": "VAR_NAME"}}, "publicId": "pub-lic-id0", "type": "assertElementContent"}], "tags": ["env:production"], "type": "mobile"} When the request is sent Then the response status is 402 Test quota is reached - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a multi-step api test with every type of basicAuth returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_test_multi_step_with_every_type_of_basic_auth.json" @@ -171,7 +171,7 @@ Feature: Synthetics And the response "config.steps[5].request.basicAuth.type" is equal to "oauth-client" And the response "config.steps[6].request.basicAuth.type" is equal to "oauth-rop" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a multistep test with subtest returns "OK" response Given there is a valid "synthetics_api_test" in the system And new "CreateSyntheticsAPITest" request @@ -179,7 +179,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Create a private location returns "OK" response Given there is a valid "role" in the system And new "CreatePrivateLocation" request @@ -189,21 +189,21 @@ Feature: Synthetics And the response "private_location.name" is equal to "{{ unique }}" And the response "private_location.metadata.restricted_roles[0]" has the same value as "role.data.id" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a private location returns "Private locations are not activated for the user" response Given new "CreatePrivateLocation" request And body with value {"description": "Description of private location", "metadata": {"restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "name": "New private location", "tags": ["team:front"]} When the request is sent Then the response status is 404 Private locations are not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a private location returns "Quota reached for private locations" response Given new "CreatePrivateLocation" request And body with value {"description": "Description of private location", "metadata": {"restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}, "name": "New private location", "tags": ["team:front"]} When the request is sent Then the response status is 402 Quota reached for private locations - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API GRPC test returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_grpc_test_payload.json" @@ -211,7 +211,7 @@ Feature: Synthetics Then the response status is 200 OK - Returns the created test details. And the response "name" is equal to "{{ unique }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API HTTP test has bodyHash filled out Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_http_test_payload.json" @@ -221,7 +221,7 @@ Feature: Synthetics And the response "config.assertions[6].target" is equal to "a" And the response "config.assertions[6].type" is equal to "bodyHash" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API HTTP test returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_http_test_payload.json" @@ -231,7 +231,7 @@ Feature: Synthetics And the response "config.assertions[7].type" is equal to "javascript" And the response "config.assertions[7].code" is equal to "const hello = 'world';" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API HTTP with oauth-rop test returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_http_test_oauth_rop_payload.json" @@ -239,7 +239,7 @@ Feature: Synthetics Then the response status is 200 OK - Returns the created test details. And the response "name" is equal to "{{ unique }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API SSL test returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_ssl_test_payload.json" @@ -247,28 +247,28 @@ Feature: Synthetics Then the response status is 200 OK - Returns the created test details. And the response "name" is equal to "{{ unique }}" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test returns "- JSON format is wrong" response Given new "CreateSyntheticsAPITest" request And body with value {"config": {"assertions": [{"operator": "lessThan", "target": 1000, "type": "responseTime"}], "request": {"method": "GET", "url": "https://example.com"}}, "locations": ["aws:eu-west-3"], "message": "Notification message", "name": "Example test name", "options": {"blockedRequestPatterns": [], "ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "subtype": "http", "tags": ["env:production"], "type": "api"} When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body with value {"config": {"assertions": [{"operator": "lessThan", "target": 1000, "type": "responseTime"}], "request": {"method": "GET", "url": "https://example.com"}}, "locations": ["aws:eu-west-3"], "message": "Notification message", "name": "Example test name", "options": {"blockedRequestPatterns": [], "ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "subtype": "http", "tags": ["env:production"], "type": "api"} When the request is sent Then the response status is 200 OK - Returns the created test details. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test returns "Test quota is reached" response Given new "CreateSyntheticsAPITest" request And body with value {"config": {"assertions": [{"operator": "lessThan", "target": 1000, "type": "responseTime"}], "request": {"method": "GET", "url": "https://example.com"}}, "locations": ["aws:eu-west-3"], "message": "Notification message", "name": "Example test name", "options": {"blockedRequestPatterns": [], "ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "subtype": "http", "tags": ["env:production"], "type": "api"} When the request is sent Then the response status is 402 Test quota is reached - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test with UDP subtype returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_test_udp_payload.json" @@ -276,7 +276,7 @@ Feature: Synthetics Then the response status is 200 OK - Returns the created test details. And the response "name" is equal to "{{ unique }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test with WEBSOCKET subtype returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_test_websocket_payload.json" @@ -284,7 +284,7 @@ Feature: Synthetics Then the response status is 200 OK - Returns the created test details. And the response "name" is equal to "{{ unique }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test with a file payload returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_http_test_with_file_payload.json" @@ -296,7 +296,7 @@ Feature: Synthetics And the response "config.request.files[0].type" is equal to "file type" And the response "config.request.files[0]" has field "bucketKey" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create an API test with multi subtype returns "OK - Returns the created test details." response Given new "CreateSyntheticsAPITest" request And body from file "synthetics_api_test_multi_step_payload.json" @@ -334,56 +334,56 @@ Feature: Synthetics And the response "config.steps[8].subtype" is equal to "udp" And the response "config.steps[8].request.host" is equal to "8.8.8.8" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete a global variable returns "JSON format is wrong" response Given new "DeleteGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete a global variable returns "Not found" response Given new "DeleteGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not found - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete a global variable returns "OK" response Given new "DeleteGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete a private location returns "- Private locations are not activated for the user" response Given new "DeletePrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Private locations are not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete a private location returns "OK" response Given new "DeletePrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete tests returns "- JSON format is wrong" response Given new "DeleteTests" request And body with value {"force_delete_dependencies": false, "public_ids": []} When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete tests returns "- Tests to be deleted can't be found" response Given new "DeleteTests" request And body with value {"force_delete_dependencies": false, "public_ids": []} When the request is sent Then the response status is 404 - Tests to be deleted can't be found - @skip @team:DataDog/synthetics-managing + @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Delete tests returns "OK." response Given there is a valid "synthetics_api_test" in the system And new "DeleteTests" request @@ -392,7 +392,7 @@ Feature: Synthetics Then the response status is 200 OK. And the response "deleted_tests[0].public_id" is equal to "{{ synthetics_api_test.public_id }}" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a Mobile test returns "OK" response Given there is a valid "synthetics_mobile_test" in the system And new "UpdateMobileTest" request @@ -406,7 +406,7 @@ Feature: Synthetics And the response "options.mobileApplication.referenceId" is equal to "6115922a-5f5d-455e-bc7e-7955a57f3815" And the response "options.mobileApplication.referenceType" is equal to "version" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a browser test returns "- JSON format is wrong" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -414,7 +414,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a browser test returns "- Synthetic Monitoring is not activated for the user" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -422,7 +422,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a browser test returns "OK" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -430,7 +430,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a global variable returns "Invalid request" response Given new "EditGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" @@ -438,7 +438,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 Invalid request - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a global variable returns "OK" response Given new "EditGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" @@ -446,7 +446,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a mobile test returns "- JSON format is wrong" response Given new "UpdateMobileTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -454,7 +454,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a mobile test returns "- Synthetic Monitoring is not activated for the user" response Given new "UpdateMobileTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -462,7 +462,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a mobile test returns "OK" response Given new "UpdateMobileTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -470,7 +470,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a private location returns "- Private locations are not activated for the user" response Given new "UpdatePrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" @@ -478,7 +478,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Private locations are not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a private location returns "OK" response Given new "UpdatePrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" @@ -486,7 +486,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit an API test returns "- JSON format is wrong" response Given new "UpdateAPITest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -494,7 +494,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit an API test returns "- Synthetic Monitoring is not activated for the user" response Given new "UpdateAPITest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -502,7 +502,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Edit an API test returns "OK" response Given there is a valid "synthetics_api_test" in the system And new "UpdateAPITest" request @@ -512,14 +512,14 @@ Feature: Synthetics Then the response status is 200 OK And the response "name" is equal to "{{ synthetics_api_test.name }}-updated" - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Fetch uptime for multiple tests returns "- JSON format is wrong" response Given new "FetchUptimes" request And body with value {"from_ts": 0, "public_ids": [], "to_ts": 0} When the request is sent Then the response status is 400 - JSON format is wrong - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Fetch uptime for multiple tests returns "OK." response Given new "FetchUptimes" request And body with value {"from_ts": 1726041488, "public_ids": ["p8m-9gw-nte"], "to_ts": 1726055954} @@ -529,7 +529,7 @@ Feature: Synthetics And the response "[0].overall.uptime" is equal to 83.05682373046875 And the response "[0].overall.history" has length 2 - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Get a Mobile test returns "OK" response Given there is a valid "synthetics_mobile_test" in the system And new "GetMobileTest" request @@ -543,7 +543,7 @@ Feature: Synthetics And the response "options.mobileApplication.referenceType" is equal to "version" And the response "type" is equal to "mobile" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test result returns "- Synthetic Monitoring is not activated for the user" response Given new "GetBrowserTestResult" request And request contains "public_id" parameter from "REPLACE.ME" @@ -551,7 +551,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test result returns "OK" response Given new "GetBrowserTestResult" request And request contains "public_id" parameter with value "2yy-sem-mjh" @@ -561,28 +561,28 @@ Feature: Synthetics And the response "result_id" is equal to "5671719892074090418" And the response "probe_dc" is equal to "aws:ca-central-1" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test returns "- Synthetic Monitoring is not activated for the user" response Given new "GetBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test returns "OK" response Given new "GetBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test's latest results summaries returns "- Synthetic Monitoring is not activated for the user" response Given new "GetBrowserTestLatestResults" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get a browser test's latest results summaries returns "OK" response Given new "GetBrowserTestLatestResults" request And request contains "public_id" parameter with value "2yy-sem-mjh" @@ -592,75 +592,75 @@ Feature: Synthetics And the response "results[0].status" is equal to 0 And the response "results[0].probe_dc" is equal to "aws:ca-central-1" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a global variable returns "Not found" response Given new "GetGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not found - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a global variable returns "OK" response Given new "GetGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a mobile test returns "- Synthetic Monitoring is not activated for the user" response Given new "GetMobileTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a mobile test returns "OK" response Given new "GetMobileTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a private location returns "- Synthetic private locations are not activated for the user" response Given new "GetPrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic private locations are not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a private location returns "OK" response Given new "GetPrivateLocation" request And request contains "location_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a test configuration returns "- Synthetic is not activated for the user" response Given new "GetTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a test configuration returns "OK" response Given new "GetTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get all global variables returns "OK" response Given new "ListGlobalVariables" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get all locations (public and private) returns "OK" response Given new "ListLocations" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test result returns "- Synthetic Monitoring is not activated for the user" response Given new "GetAPITestResult" request And request contains "public_id" parameter from "REPLACE.ME" @@ -668,7 +668,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test result returns "OK" response Given new "GetAPITestResult" request And request contains "public_id" parameter with value "hwb-332-3xe" @@ -678,7 +678,7 @@ Feature: Synthetics And the response "result_id" is equal to "3420446318379485707" And the response "probe_dc" is equal to "aws:us-west-1" - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test result returns result with failure object Given there is a "synthetics_api_test_with_wrong_dns" in the system And the "synthetics_api_test_with_wrong_dns" is triggered @@ -690,28 +690,28 @@ Feature: Synthetics And the response "result.failure.code" is equal to "DNS" And the response "result.failure.message" is equal to "Error during DNS resolution of hostname app.datadfoghq.com (ENOTFOUND)." - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test returns "- Synthetic Monitoring is not activated for the user" response Given new "GetAPITest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test returns "OK" response Given new "GetAPITest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test's latest results summaries returns "- Synthetic is not activated for the user" response Given new "GetAPITestLatestResults" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 - Synthetic is not activated for the user - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get an API test's latest results summaries returns "OK" response Given new "GetAPITestLatestResults" request And request contains "public_id" parameter with value "hwb-332-3xe" @@ -721,33 +721,33 @@ Feature: Synthetics And the response "results[0].status" is equal to 0 And the response "results[0].probe_dc" is equal to "aws:us-west-1" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get details of batch returns "Batch does not exist." response Given new "GetSyntheticsCIBatch" request And request contains "batch_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Batch does not exist. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get details of batch returns "OK" response Given new "GetSyntheticsCIBatch" request And request contains "batch_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get the default locations returns "OK" response Given new "GetSyntheticsDefaultLocations" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get the list of all Synthetic tests returns "OK - Returns the list of all Synthetic tests." response Given new "ListTests" request When the request is sent Then the response status is 200 OK - Returns the list of all Synthetic tests. - @replay-only @skip-validation @team:DataDog/synthetics-managing @with-pagination + @replay-only @skip-validation @team:DataDog/synthetics-orchestrating-managing @with-pagination Scenario: Get the list of all Synthetic tests returns "OK - Returns the list of all Synthetic tests." response with pagination Given new "ListTests" request And request contains "page_size" parameter with value 2 @@ -755,19 +755,19 @@ Feature: Synthetics Then the response status is 200 OK - Returns the list of all Synthetic tests. And the response has 3 items - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get the list of all Synthetic tests returns "Synthetic Monitoring is not activated for the user." response Given new "ListTests" request When the request is sent Then the response status is 404 Synthetic Monitoring is not activated for the user. - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Get the list of default locations returns "OK" response Given new "GetSyntheticsDefaultLocations" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a Synthetic test returns "- JSON format is wrong" response Given new "PatchTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -775,7 +775,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 - JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a Synthetic test returns "- Synthetic Monitoring is not activated for the user" response Given new "PatchTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -783,7 +783,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a Synthetic test returns "OK" response Given there is a valid "synthetics_api_test" in the system And new "PatchTest" request @@ -792,7 +792,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Pause or start a test returns "- Synthetic Monitoring is not activated for the user" response Given new "UpdateTestPauseStatus" request And request contains "public_id" parameter from "REPLACE.ME" @@ -800,7 +800,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Pause or start a test returns "JSON format is wrong." response Given new "UpdateTestPauseStatus" request And request contains "public_id" parameter from "REPLACE.ME" @@ -808,7 +808,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 JSON format is wrong. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Pause or start a test returns "OK - Returns a boolean indicating if the update was successful." response Given new "UpdateTestPauseStatus" request And request contains "public_id" parameter from "REPLACE.ME" @@ -816,26 +816,26 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - Returns a boolean indicating if the update was successful. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Search Synthetic tests returns "Not found" response Given new "SearchTests" request When the request is sent Then the response status is 404 Not found - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Search Synthetic tests returns "OK - Returns the list of Synthetic tests matching the search." response Given new "SearchTests" request When the request is sent Then the response status is 200 OK - Returns the list of Synthetic tests matching the search. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Trigger Synthetic tests returns "Bad Request" response Given new "TriggerTests" request And body with value {"tests": [{"metadata": {"ci": {"pipeline": {}, "provider": {}}, "git": {}}, "public_id": "aaa-aaa-aaa"}]} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Trigger Synthetic tests returns "OK" response Given there is a valid "synthetics_api_test" in the system And new "TriggerTests" request @@ -845,14 +845,14 @@ Feature: Synthetics And the response "triggered_check_ids" array contains value "{{ synthetics_api_test.public_id }}" And the response "results" has item with field "public_id" with value "{{ synthetics_api_test.public_id }}" - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Trigger tests from CI/CD pipelines returns "JSON format is wrong" response Given new "TriggerCITests" request And body with value {"tests": [{"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "deviceIds": ["chrome.laptop_large"], "locations": ["aws:eu-west-3"], "metadata": {"ci": {"pipeline": {}, "provider": {}}, "git": {}}, "public_id": "aaa-aaa-aaa", "retry": {}}]} When the request is sent Then the response status is 400 JSON format is wrong - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Trigger tests from CI/CD pipelines returns "OK" response Given new "TriggerCITests" request And body with value {"tests": [{"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "deviceIds": ["chrome.laptop_large"], "locations": ["aws:eu-west-3"], "metadata": {"ci": {"pipeline": {}, "provider": {}}, "git": {}}, "public_id": "aaa-aaa-aaa", "retry": {}}]} diff --git a/features/v2/synthetics.feature b/features/v2/synthetics.feature index 2cdf9231fbc6..22e61a439cd2 100644 --- a/features/v2/synthetics.feature +++ b/features/v2/synthetics.feature @@ -17,7 +17,7 @@ Feature: Synthetics And a valid "appKeyAuth" key in the system And an instance of "Synthetics" API - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Abort a multipart upload of a test file returns "API error response." response Given new "AbortTestFileMultipartUpload" request And request contains "public_id" parameter from "REPLACE.ME" @@ -25,7 +25,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Abort a multipart upload of a test file returns "No Content" response Given new "AbortTestFileMultipartUpload" request And request contains "public_id" parameter from "REPLACE.ME" @@ -33,35 +33,35 @@ Feature: Synthetics When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Bulk delete suites returns "API error response." response Given new "DeleteSyntheticsSuites" request And body with value {"data": {"attributes": {"public_ids": [""]}, "type": "delete_suites_request"}} When the request is sent Then the response status is 400 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Bulk delete suites returns "OK" response Given new "DeleteSyntheticsSuites" request And body with value {"data": {"attributes": {"public_ids": [""]}, "type": "delete_suites_request"}} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Bulk delete tests returns "API error response." response Given new "DeleteSyntheticsTests" request And body with value {"data": {"attributes": {"public_ids": [""]}, "type": "delete_tests_request"}} When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Bulk delete tests returns "OK" response Given new "DeleteSyntheticsTests" request And body with value {"data": {"attributes": {"public_ids": [""]}, "type": "delete_tests_request"}} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Complete a multipart upload of a test file returns "API error response." response Given new "CompleteTestFileMultipartUpload" request And request contains "public_id" parameter from "REPLACE.ME" @@ -69,7 +69,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Complete a multipart upload of a test file returns "No Content" response Given new "CompleteTestFileMultipartUpload" request And request contains "public_id" parameter from "REPLACE.ME" @@ -77,35 +77,35 @@ Feature: Synthetics When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a Network Path test returns "API error response." response Given new "CreateSyntheticsNetworkTest" request And body with value {"data": {"attributes": {"config": {"assertions": [{"operator": "lessThan", "property": "avg", "target": 500, "type": "latency"}], "request": {"e2e_queries": 50, "host": "", "max_ttl": 30, "port": 443, "tcp_method": "prefer_sack", "traceroute_queries": 3}}, "locations": ["aws:us-east-1", "agent:my-agent-name"], "message": "Network Path test notification", "name": "Example Network Path test", "options": {"monitor_options": {"notification_preset_name": "show_all"}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "subtype": "tcp", "tags": ["env:production"], "type": "network"}, "type": "network"}} When the request is sent Then the response status is 400 API error response. - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a Network Path test returns "OK" response Given new "CreateSyntheticsNetworkTest" request And body with value {"data": {"attributes": {"config": {"assertions": [{"operator": "lessThan", "property": "avg", "target": 500, "type": "latency"}], "request": {"host": "example.com", "port": 443, "tcp_method": "prefer_sack", "max_ttl": 30, "e2e_queries": 50, "traceroute_queries": 3}}, "locations": ["aws:us-east-1", "agent:my-agent-name"], "message": "Network Path test notification", "name": "Example Network Path test", "options": {"tick_every": 60}, "status": "live", "subtype": "tcp", "tags": ["env:production"], "type": "network"}, "type": "network"}} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Create a test suite returns "API error response." response Given new "CreateSyntheticsSuite" request And body with value {"data": {"attributes": {"message": "Notification message", "name": "Example suite name", "options": {}, "tags": ["env:production"], "tests": [{"alerting_criticality": "critical", "public_id": ""}], "type": "suite"}, "type": "suites"}} When the request is sent Then the response status is 400 API error response. - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Create a test suite returns "OK" response Given new "CreateSyntheticsSuite" request And body with value {"data": {"attributes": {"message": "Notification message", "name": "Example suite name", "options": {}, "tags": ["env:production"], "tests": [], "type": "suite"}, "type": "suites"}} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a Network Path test returns "API error response." response Given new "UpdateSyntheticsNetworkTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -113,7 +113,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a Network Path test returns "OK" response Given new "UpdateSyntheticsNetworkTest" request And request contains "public_id" parameter from "REPLACE.ME" @@ -121,7 +121,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a test suite returns "API error response." response Given new "EditSyntheticsSuite" request And request contains "public_id" parameter from "REPLACE.ME" @@ -129,7 +129,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Edit a test suite returns "OK" response Given new "EditSyntheticsSuite" request And request contains "public_id" parameter from "REPLACE.ME" @@ -137,35 +137,35 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a Network Path test returns "API error response." response Given new "GetSyntheticsNetworkTest" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @replay-only @team:DataDog/synthetics-managing + @replay-only @team:DataDog/synthetics-orchestrating-managing Scenario: Get a Network Path test returns "OK" response Given new "GetSyntheticsNetworkTest" request And request contains "public_id" parameter with value "c7a-uwa-wn2" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a fast test result returns "API error response." response Given new "GetSyntheticsFastTestResult" request And request contains "id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a fast test result returns "OK" response Given new "GetSyntheticsFastTestResult" request And request contains "id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a presigned URL for downloading a test file returns "API error response." response Given new "GetTestFileDownloadUrl" request And request contains "public_id" parameter from "REPLACE.ME" @@ -173,7 +173,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a presigned URL for downloading a test file returns "OK" response Given new "GetTestFileDownloadUrl" request And request contains "public_id" parameter from "REPLACE.ME" @@ -181,7 +181,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a specific version of a test returns "API error response." response Given new "GetSyntheticsTestVersion" request And request contains "public_id" parameter from "REPLACE.ME" @@ -189,7 +189,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a specific version of a test returns "OK" response Given new "GetSyntheticsTestVersion" request And request contains "public_id" parameter from "REPLACE.ME" @@ -197,56 +197,56 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a suite returns "API error response." response Given new "GetSyntheticsSuite" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get a suite returns "OK" response Given new "GetSyntheticsSuite" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get available subtests for a multistep test returns "OK" response Given new "GetApiMultistepSubtests" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get parent suites for a test returns "API error response." response Given new "GetTestParentSuites" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get parent suites for a test returns "OK" response Given new "GetTestParentSuites" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get parent tests for a subtest returns "API error response." response Given new "GetApiMultistepSubtestParents" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get parent tests for a subtest returns "OK" response Given new "GetApiMultistepSubtestParents" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get presigned URLs for uploading a test file returns "API error response." response Given new "GetTestFileMultipartPresignedUrls" request And request contains "public_id" parameter from "REPLACE.ME" @@ -254,7 +254,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get presigned URLs for uploading a test file returns "OK" response Given new "GetTestFileMultipartPresignedUrls" request And request contains "public_id" parameter from "REPLACE.ME" @@ -262,27 +262,27 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Get the on-demand concurrency cap returns "OK" response Given new "GetOnDemandConcurrencyCap" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get version history of a test returns "API error response." response Given new "ListSyntheticsTestVersions" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Get version history of a test returns "OK" response Given new "ListSyntheticsTestVersions" request And request contains "public_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a global variable returns "Bad Request" response Given new "PatchGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" @@ -290,7 +290,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a global variable returns "Not Found" response Given new "PatchGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" @@ -298,7 +298,7 @@ Feature: Synthetics When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a global variable returns "OK" response Given new "PatchGlobalVariable" request And request contains "variable_id" parameter from "REPLACE.ME" @@ -306,7 +306,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a test suite returns "API error response." response Given new "PatchTestSuite" request And request contains "public_id" parameter from "REPLACE.ME" @@ -314,7 +314,7 @@ Feature: Synthetics When the request is sent Then the response status is 400 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Patch a test suite returns "OK" response Given new "PatchTestSuite" request And request contains "public_id" parameter from "REPLACE.ME" @@ -322,7 +322,7 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Save new value for on-demand concurrency cap returns "OK" response Given new "SetOnDemandConcurrencyCap" request And body with value {"on_demand_concurrency_cap": 20} @@ -330,19 +330,19 @@ Feature: Synthetics Then the response status is 200 OK And the response "data.attributes.on_demand_concurrency_cap" is equal to 20 - @team:DataDog/synthetics-managing + @team:DataDog/synthetics-orchestrating-managing Scenario: Search Synthetics suites returns "OK" response Given new "SearchSuites" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Search test suites returns "API error response." response Given new "SearchSuites" request When the request is sent Then the response status is 400 API error response. - @generated @skip @team:DataDog/synthetics-managing + @generated @skip @team:DataDog/synthetics-orchestrating-managing Scenario: Search test suites returns "OK" response Given new "SearchSuites" request When the request is sent