Skip to content

Commit

Permalink
chore(test-suite): moved destinations to new test suite component
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjay-Veernala committed Sep 26, 2023
1 parent 5bfe85c commit 4250f83
Show file tree
Hide file tree
Showing 3 changed files with 710 additions and 725 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[
{
"message": {
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"anonymousId": "8d872292709c6fbe",
"channel": "mobile",
"context": {
Expand Down Expand Up @@ -81,19 +84,24 @@
"type": "track",
"userId": "sample_user_id"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
{
"message": {
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"anonymousId": "8d872292709c6fbe",
"channel": "mobile",
"context": {
Expand Down Expand Up @@ -167,19 +175,24 @@
"type": "identify",
"userId": "sample_user_id"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
{
"message": {
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"anonymousId": "8d872292709c6fbe",
"channel": "mobile",
"context": {
Expand Down Expand Up @@ -253,19 +266,24 @@
"type": "page",
"userId": "sample_user_id"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
{
"message": {
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"anonymousId": "8d872292709c6fbe",
"channel": "mobile",
"context": {
Expand Down Expand Up @@ -339,19 +357,24 @@
"type": "screen",
"userId": "sample_user_id"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
{
"message": {
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"anonymousId": "8d872292709c6fbe",
"channel": "mobile",
"context": {
Expand Down Expand Up @@ -425,19 +448,24 @@
"type": "screen",
"userId": "sample_user_id"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-4n07h3rsecr3t"
}
}
"FORM": {}
},
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-4n07h3rsecr3t"
},
{
"message": {
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"channel": "web",
"context": {
"app": {
Expand Down Expand Up @@ -497,19 +525,24 @@
"previousId": "sampleusrRudder3",
"sentAt": "2020-10-20T08:14:28.778Z"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
{
"message": {
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"body": {
"XML": {},
"JSON_ARRAY": {},
"JSON": {
"channel": "web",
"context": {
"app": {
Expand Down Expand Up @@ -555,73 +588,20 @@
},
"sentAt": "2019-10-14T09:03:22.563Z"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
"FORM": {}
},
{
"message": {
"channel": "web",
"context": {
"app": {
"build": "1.0.0",
"name": "RudderLabs JavaScript SDK",
"namespace": "com.rudderlabs.javascript",
"version": "1.0.0"
},
"library": {
"name": "RudderLabs JavaScript SDK",
"version": "1.0.0"
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36",
"locale": "en-US",
"ip": "0.0.0.0",
"os": {
"name": "",
"version": ""
},
"screen": {
"density": 2
}
},
"messageId": "84e26acc-56a5-4835-8233-591137fca468",
"session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22",
"originalTimestamp": "2019-10-14T09:03:17.562Z",
"anonymousId": "123456",
"userId": "123456",
"type": "NOT_A_TYPE",
"traits": {
"anonymousId": "123456",
"email": "[email protected]",
"address": {
"city": "kolkata",
"country": "India",
"postalCode": 712136,
"state": "WB",
"street": ""
}
},
"integrations": {
"All": true
},
"sentAt": "2019-10-14T09:03:22.563Z"
},
"destination": {
"DestinationDefinition": {
"Config": {
"cdkEnabled": true
}
},
"Config": {
"secretKey": "secret-tHe5ecr37"
}
}
}
]
"files": {},
"endpoint": "https://api.statsig.com/v1/webhooks/rudderstack",
"headers": {
"content-type": "application/json",
"STATSIG-API-KEY": "secret-tHe5ecr37"
},
"version": "1",
"params": {},
"type": "REST",
"method": "POST"
},
{
"error": "message type \"NOT_A_TYPE\" not supported for \"statsig\""
}
]
Loading

0 comments on commit 4250f83

Please sign in to comment.