You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cassettes/features/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.yml
Copy file name to clipboardExpand all lines: cassettes/features/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.yml
Applications](https://app.datadoghq.com/rum/list) for your organization.
4
+
Applications](https://app.datadoghq.com/rum/list) of RUM for your
5
+
organization.
5
6
6
7
Background:
7
8
Given a valid "apiKeyAuth" key in the system
@@ -20,7 +21,7 @@ Feature: Rum Retention Filters
20
21
Scenario: Create a RUM retention filter returns "Created" response
21
22
Given new "CreateRetentionFilter" request
22
23
And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690"
23
-
And body with value {"data":{"type":"retention_filters","attributes":{"name":"Test creating retention filter","event_type":"session","query":"custom_query","sample_rate":50,"enabled":true},"meta":{"source":"terraform"}}}
24
+
And body with value {"data":{"type":"retention_filters","attributes":{"name":"Test creating retention filter","event_type":"session","query":"custom_query","sample_rate":50,"enabled":true}}}
24
25
When the request is sent
25
26
Then the response status is 201 Created
26
27
And the response "data.type" is equal to "retention_filters"
@@ -29,7 +30,7 @@ Feature: Rum Retention Filters
29
30
And the response "data.attributes.enabled" is equal to true
30
31
And the response "data.attributes.query" is equal to "custom_query"
31
32
And the response "data.attributes.sample_rate" is equal to 50
32
-
And the response "data.meta.source" is equal to "terraform"
33
+
And the response "data.meta.source" is equal to "unknown"
33
34
34
35
@replay-only@team:DataDog/rum-backend
35
36
Scenario: Delete a RUM retention filter returns "No Content" response
@@ -69,7 +70,7 @@ Feature: Rum Retention Filters
69
70
And the response "data.attributes.enabled" is equal to true
70
71
And the response "data.attributes.query" is equal to "custom_query"
71
72
And the response "data.attributes.sample_rate" is equal to 25
72
-
And the response "data.meta.source" is equal to "terraform"
73
+
And the response "data.meta.source" is equal to "unknown"
73
74
74
75
@replay-only@team:DataDog/rum-backend
75
76
Scenario: Get all RUM retention filters returns "OK" response
0 commit comments