-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added new status code tests for braze
- Loading branch information
1 parent
45dfd16
commit b40add8
Showing
4 changed files
with
178 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -411,6 +411,136 @@ | |
"anonymousId": "77e278c9-e984-4cdd-950c-cd0b61befd03", | ||
"originalTimestamp": "2023-03-10T18:36:04.733Z" | ||
} | ||
}, | ||
{ | ||
"destination": { | ||
"ID": "2N9UakqKF0D35wfzSeofIxPdL8X", | ||
"Name": "Braze-Test", | ||
"Config": { | ||
"appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", | ||
"blacklistedEvents": [], | ||
"dataCenter": "US-03", | ||
"enableNestedArrayOperations": false, | ||
"enableSubscriptionGroupInGroupCall": false, | ||
"eventFilteringOption": "disable", | ||
"oneTrustCookieCategories": [], | ||
"restApiKey": "dummyApiKey", | ||
"supportDedup": true, | ||
"trackAnonymousUser": true, | ||
"whitelistedEvents": [] | ||
}, | ||
"Enabled": true, | ||
"WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", | ||
"Transformations": [], | ||
"IsProcessorEnabled": true, | ||
"RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" | ||
}, | ||
"metadata": { | ||
"jobId": 3 | ||
}, | ||
"message": { | ||
"anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", | ||
"channel": "web", | ||
"context": { | ||
"app": { | ||
"build": "1.0.0", | ||
"name": "RudderLabs JavaScript SDK", | ||
"namespace": "com.rudderlabs.javascript", | ||
"version": "1.0.5" | ||
}, | ||
"ip": "0.0.0.0", | ||
"library": { | ||
"name": "RudderLabs JavaScript SDK", | ||
"version": "1.0.5" | ||
}, | ||
"locale": "en-GB", | ||
"os": { | ||
"name": "", | ||
"version": "" | ||
}, | ||
"screen": { | ||
"density": 2 | ||
}, | ||
"traits": { | ||
"city": "Disney", | ||
"country": "USA", | ||
"email": "[email protected]", | ||
"firstName": "Mickey" | ||
}, | ||
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" | ||
}, | ||
"integrations": { | ||
"All": true | ||
}, | ||
"messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", | ||
"type": "identify", | ||
"userId": "user@50" | ||
} | ||
}, | ||
{ | ||
"destination": { | ||
"ID": "2N9UakqKF0D35wfzSeofIxPdL8X", | ||
"Name": "Braze-Test", | ||
"Config": { | ||
"appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", | ||
"blacklistedEvents": [], | ||
"dataCenter": "US-03", | ||
"enableNestedArrayOperations": false, | ||
"enableSubscriptionGroupInGroupCall": false, | ||
"eventFilteringOption": "disable", | ||
"oneTrustCookieCategories": [], | ||
"restApiKey": "dummyApiKey", | ||
"supportDedup": true, | ||
"trackAnonymousUser": true, | ||
"whitelistedEvents": [] | ||
}, | ||
"Enabled": true, | ||
"WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", | ||
"Transformations": [], | ||
"IsProcessorEnabled": true, | ||
"RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" | ||
}, | ||
"metadata": { | ||
"jobId": 4 | ||
}, | ||
"message": { | ||
"anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", | ||
"channel": "web", | ||
"context": { | ||
"app": { | ||
"build": "1.0.0", | ||
"name": "RudderLabs JavaScript SDK", | ||
"namespace": "com.rudderlabs.javascript", | ||
"version": "1.0.5" | ||
}, | ||
"ip": "0.0.0.0", | ||
"library": { | ||
"name": "RudderLabs JavaScript SDK", | ||
"version": "1.0.5" | ||
}, | ||
"locale": "en-GB", | ||
"os": { | ||
"name": "", | ||
"version": "" | ||
}, | ||
"screen": { | ||
"density": 2 | ||
}, | ||
"traits": { | ||
"city": "Disney", | ||
"country": "USA", | ||
"email": "[email protected]", | ||
"firstName": "Mickey" | ||
}, | ||
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" | ||
}, | ||
"integrations": { | ||
"All": true | ||
}, | ||
"messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", | ||
"type": "identify", | ||
"userId": "user@50" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,6 +202,13 @@ | |
"is_pickup_selected": "true", | ||
"external_id": "braze_test_user", | ||
"custom_arr": ["1", "2", "str1"] | ||
}, | ||
{ | ||
"city": "Disney", | ||
"country": "USA", | ||
"email": "[email protected]", | ||
"external_id": "user@50", | ||
"first_name": "Mickey" | ||
} | ||
], | ||
"events": [ | ||
|
@@ -250,6 +257,9 @@ | |
}, | ||
{ | ||
"jobId": 2 | ||
}, | ||
{ | ||
"jobId": 3 | ||
} | ||
], | ||
"batched": true, | ||
|
@@ -276,6 +286,41 @@ | |
"IsProcessorEnabled": true, | ||
"RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" | ||
} | ||
}, | ||
{ | ||
"error": "[Braze Deduplication]: Duplicate user detected, the user is dropped", | ||
"statTags": { | ||
"errorCategory": "transformation" | ||
}, | ||
"statusCode": 298, | ||
"batched": false, | ||
"metadata": [ | ||
{ | ||
"jobId": 4 | ||
} | ||
], | ||
"destination": { | ||
"ID": "2N9UakqKF0D35wfzSeofIxPdL8X", | ||
"Name": "Braze-Test", | ||
"Config": { | ||
"appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", | ||
"blacklistedEvents": [], | ||
"dataCenter": "US-03", | ||
"enableNestedArrayOperations": false, | ||
"enableSubscriptionGroupInGroupCall": false, | ||
"eventFilteringOption": "disable", | ||
"oneTrustCookieCategories": [], | ||
"restApiKey": "dummyApiKey", | ||
"supportDedup": true, | ||
"trackAnonymousUser": true, | ||
"whitelistedEvents": [] | ||
}, | ||
"Enabled": true, | ||
"WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", | ||
"Transformations": [], | ||
"IsProcessorEnabled": true, | ||
"RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters