From 3ff86d4f6371e5a65353860c7907695a5876fe59 Mon Sep 17 00:00:00 2001
From: Dilip Kola <33080863+koladilip@users.noreply.github.com>
Date: Thu, 10 Aug 2023 11:04:34 +0530
Subject: [PATCH] refactor(INT-231): migrate adobe_analytics to component tests
(#2447)
refactor: migrate adobe_analytics to component tests
---
.../adobe_analytics/processor/data.ts | 3059 +++++++++++++++++
1 file changed, 3059 insertions(+)
create mode 100644 test/integrations/destinations/adobe_analytics/processor/data.ts
diff --git a/test/integrations/destinations/adobe_analytics/processor/data.ts b/test/integrations/destinations/adobe_analytics/processor/data.ts
new file mode 100644
index 0000000000..64c167b40d
--- /dev/null
+++ b/test/integrations/destinations/adobe_analytics/processor/data.ts
@@ -0,0 +1,3059 @@
+export const data = [
+ {
+ name: 'adobe_analytics',
+ description: 'Test 0',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ name: 'Best Seller',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: { tt01: 't01', tt02: 't02' },
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'product viewed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ currency: 'USD',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ currencyMerch: 25,
+ addressMerch: 'Delhi',
+ currencyProdMerch: 'USD',
+ addressProdMerch: 'SF',
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze90R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ overridePageView: true,
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'https://flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignwebUSD127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellert01t02roottval001Kolkata9935400932RudderLabs JavaScript SDKr15,faze90Rciaz,hummer,tharhttps://www.estore.com/best-seller/1Best Sellercustompropval1custompropval22020-01-09T10:01:53.558Zmktcloudid001prodViewGames;Game;11;148.39footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 1',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: {},
+ event: 'product added',
+ integrations: { All: true },
+ properties: {
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ overridePageView: false,
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerRudderLabs JavaScript SDKoproduct addedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scAddGames;Game;11;148.39footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 2',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: {},
+ event: 'product removed',
+ integrations: { All: true },
+ properties: {
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ overridePageView: true,
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerRudderLabs JavaScript SDKhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scRemoveGames;Game;11;148.39footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 3',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'cart viewed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ cart_id: '12345',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-14',
+ name: 'Cards',
+ price: 14.99,
+ position: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'G-32',
+ name: 'UNO',
+ price: 3.99,
+ position: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocart viewedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scViewGames;Cards;1;14.99,Games;UNO;1;3.99footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 4',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'checkout started',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ order_id: '1234',
+ affiliation: 'Apple Store',
+ value: 20,
+ revenue: 15,
+ shipping: 4,
+ tax: 1,
+ discount: 1.5,
+ coupon: 'ImagePro',
+ currency: 'USD',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-32',
+ name: 'Monopoly',
+ price: 14,
+ quantity: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'F-32',
+ name: 'UNO',
+ price: 3.45,
+ quantity: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignwebUSD127.0.0.1en-US12341234Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocheckout startedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scCheckoutGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 5',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'order completed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ checkout_id: '12345',
+ order_id: '1234',
+ affiliation: 'Apple Store',
+ total: 20,
+ revenue: 15,
+ shipping: 4,
+ tax: 1,
+ discount: 1.5,
+ coupon: 'ImagePro',
+ currency: 'USD',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-32',
+ name: 'Monopoly',
+ price: 14,
+ quantity: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'F-32',
+ name: 'UNO',
+ price: 3.45,
+ quantity: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignwebUSD127.0.0.1en-US12341234Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKoorder completedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001purchaseGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 6',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'cart opened',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ cart_id: '12345',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-14',
+ name: 'Cards',
+ price: 14.99,
+ position: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'G-32',
+ name: 'UNO',
+ price: 3.99,
+ position: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [{ from: 'product viewed', to: 'event1' }],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKocart openedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001scOpenGames;Cards;1;14.99,Games;UNO;1;3.99footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 7',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'Watched Video',
+ integrations: { All: true },
+ properties: { plan: 'growth', video: 'TEDxGROWTH' },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ { from: 'video', to: '2' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'Watched Video', to: 'event1' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ { from: 'plan', to: '2', delimiter: ',' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKTEDxGROWTHoWatched Videohttps://www.estore.com/best-seller/1growth2020-01-09T10:01:53.558Zmktcloudid001event1footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 8',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ integrations: { All: true },
+ properties: {
+ browser: 'chrome',
+ searchTerm: 'swim shorts',
+ section: 'swimwear',
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze90R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ name: 'Page View',
+ type: 'page',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'Page View', to: 'event2' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001Kolkata9935400932RudderLabs JavaScript SDKopage viewhttps://www.estore.com/best-seller/1r15,faze90Rciaz,hummer,tharcustompropval1custompropval22020-01-09T10:01:53.558Zmktcloudid001event2footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 9',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ type: 'track',
+ event: 'Currency test event',
+ userId: 'ruddersampleX3',
+ request_ip: '14.5.67.21',
+ context: {
+ app: {
+ build: '1',
+ name: 'RudderAndroidClient',
+ namespace: 'com.rudderstack.demo.android',
+ version: '1.0',
+ },
+ device: {
+ manufacturer: 'Google',
+ model: 'Android SDK built for x86',
+ name: 'generic_x86',
+ type: 'android',
+ advertisingId: '8ecd7512-2864-440c-93f3-a3cabe62525b',
+ attStatus: true,
+ id: 'fc8d449516de0dfb',
+ adTrackingEnabled: true,
+ token: 'bk3RNwTe3H0CI2k_ HHwgIpoDKCIZvvD MExUdFQ3P1',
+ },
+ library: { name: 'com.rudderstack.android.sdk.core', version: '0.1.4' },
+ locale: 'en-US',
+ network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true },
+ campaign: {
+ source: 'google',
+ medium: 'medium',
+ term: 'keyword',
+ content: 'some content',
+ },
+ os: { name: 'Android', version: '9' },
+ screen: { density: 420, height: 1794, width: 1080 },
+ timezone: 'Asia/Mumbai',
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ properties: {
+ products: [
+ {
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ currency: 'USD',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ prodLevelCurrency: 'EUR',
+ },
+ ],
+ currencyProdMerch: 5,
+ currencyMerch: 21,
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze90R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ mark6: 'label number 6',
+ overridePageView: true,
+ },
+ timestamp: '2021-09-01T15:46:51.000Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ { from: 'video', to: '2' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'watched video', to: 'event1' },
+ { from: 'Page View', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ { from: 'plan', to: '2', delimiter: ',' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '1794108014.5.67.21en-USAsia/MumbaiDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)Kolkata9935400932com.rudderstack.android.sdk.corer15,faze90Rciaz,hummer,tharundefinedcustompropval1custompropval22021-09-01T15:46:51.000Zmktcloudid001event6,event6=21,event2,event6Games;Game;11;148.39;event6=5|event6=EUR;eVar4=9935400932|eVar5=Kolkata|eVar6=label number 6footlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 10',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '73c53c25-42h1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ event: 'Product Viewed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ overridePageView: true,
+ tsUrl: 'footlocker.sc.omtrdc.net',
+ overrideProductString: ';product1;;;event1=1',
+ overrideEventString: 'scAdd',
+ overrideEvars: { evar1: 'yash', evar2: 'val2' },
+ overrideLists: { list1: 'r15,faze90R' },
+ overrideCustomProperties: { prop1: 'overrideVal1' },
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ currency: 'USD',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ currencyMerch: 'INR',
+ addressMerch: 'Delhi',
+ currencyProdMerch: 'USD',
+ addressProdMerch: 'SF',
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze91R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ hier1: 'h1',
+ hier2: 'h2',
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ { from: 'video', to: '2' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'watched video', to: 'event1' },
+ { from: 'Page View', to: 'event2' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ hierMapping: [
+ { from: 'hier1', to: '1' },
+ { from: 'hier2', to: '2' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ { from: 'plan', to: '2', delimiter: ',' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ XML: {
+ payload:
+ '17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2h1h2r15,faze90Rhttps://www.estore.com/best-seller/1https://www.estore.com/best-seller/1overrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc',
+ },
+ FORM: {},
+ JSON: {},
+ JSON_ARRAY: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 11',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '73c53c25-42h1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ event: 'Product Viewed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ tsUrl: 'footlocker.sc.omtrdc.net',
+ overrideProductString: ';product1;;;event1=1',
+ overrideEventString: 'scAdd',
+ overrideEvars: { evar1: 'yash', evar2: 'val2' },
+ overrideLists: { list1: 'r15,faze90R' },
+ overrideCustomProperties: { prop1: 'overrideVal1' },
+ overrideHiers: { hier1: 'oh1', hier2: 'oh2', hier3: 'newh3' },
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ currency: 'USD',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ currencyMerch: 'INR',
+ addressMerch: 'Delhi',
+ currencyProdMerch: 'USD',
+ addressProdMerch: 'SF',
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze91R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ hier1: 'h1',
+ hier2: 'h2',
+ pageName: 'hierarchy test',
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ { from: 'video', to: '2' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ ],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'watched video', to: 'event1' },
+ { from: 'Page View', to: 'event2' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ hierMapping: [
+ { from: 'hier1', to: '1' },
+ { from: 'hier2', to: '2' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ { from: 'plan', to: '2', delimiter: ',' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ XML: {
+ payload:
+ '17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1oh1oh2newh3r15,faze90RoverrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc',
+ },
+ FORM: {},
+ JSON: {},
+ JSON_ARRAY: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 12',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '73c53c25-42h1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ event: 'Product Viewed',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ tsUrl: 'footlocker.sc.omtrdc.net',
+ overrideProductString: ';product1;;;event1=1',
+ overrideEventString: 'scAdd',
+ overrideEvars: { evar1: 'yash', evar2: 'val2' },
+ overrideLists: { list1: 'r15,faze90R' },
+ overrideCustomProperties: { prop1: 'overrideVal1' },
+ overrideHiers: { hier1: 'oh1', hier2: 'oh2', hier3: 'newh3' },
+ product_id: '123',
+ sku: 'F15',
+ category: 'Games',
+ name: 'Game',
+ brand: 'Gamepro',
+ variant: '111',
+ price: 13.49,
+ quantity: 11,
+ coupon: 'DISC21',
+ currency: 'USD',
+ position: 1,
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.png',
+ currencyMerch: 'INR',
+ addressMerch: 'Delhi',
+ currencyProdMerch: 'USD',
+ addressProdMerch: 'SF',
+ city5: 'Kolkata',
+ phone4: '9935400932',
+ bikelist: 'r15,faze91R',
+ carlist: 'ciaz,hummer,thar',
+ customprop1: 'custompropval1',
+ customprop2: 'custompropval2',
+ hier1: 'h1',
+ hier2: 'h2',
+ pageName: 'hierarchy test',
+ mark6: 'label mark',
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ { from: 'video', to: '2' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'watched video', to: 'event1' },
+ { from: 'Page View', to: 'event2' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ hierMapping: [
+ { from: 'hier1', to: '1' },
+ { from: 'hier2', to: '2' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ { from: 'plan', to: '2', delimiter: ',' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ XML: {
+ payload:
+ '17941080sales campaignwebUSDen-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestselleryashval2oProduct Viewedhttps://www.estore.com/best-seller/1oh1oh2newh3r15,faze90RoverrideVal12020-01-09T10:01:53.558Zmktcloudid001scAdd;product1;;;event1=1footlockerrudderstackpoc',
+ },
+ FORM: {},
+ JSON: {},
+ JSON_ARRAY: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 13',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ 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 },
+ },
+ user_properties: { prop1: 'val1', prop2: 'val2' },
+ type: 'identify',
+ originalTimestamp: '2019-10-14T09:03:17.562Z',
+ userId: 'user001',
+ anonymousId: 'anony001',
+ integrations: { All: true },
+ sentAt: '2019-10-14T09:03:22.563Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ error: 'Message type is not supported',
+ statTags: {
+ destType: 'ADOBE_ANALYTICS',
+ errorCategory: 'dataValidation',
+ errorType: 'instrumentation',
+ feature: 'processor',
+ implementation: 'native',
+ module: 'destination',
+ },
+ statusCode: 400,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 14',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'currency test event',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ cart_id: '12345',
+ mark6: 'label number 6',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-14',
+ name: 'Cards',
+ price: 14.99,
+ position: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'G-32',
+ name: 'UNO',
+ price: 3.99,
+ position: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ error: 'Message Type is not present. Aborting message.',
+ statTags: {
+ destType: 'ADOBE_ANALYTICS',
+ errorCategory: 'dataValidation',
+ errorType: 'instrumentation',
+ feature: 'processor',
+ implementation: 'native',
+ module: 'destination',
+ },
+ statusCode: 400,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 15',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'random unmapped event',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ cart_id: '12345',
+ mark6: 'label number 6',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-14',
+ name: 'Cards',
+ price: 14.99,
+ position: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'G-32',
+ name: 'UNO',
+ price: 3.99,
+ position: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ error: 'The event is not a supported ECOM event or a mapped custom event. Aborting.',
+ statTags: {
+ destType: 'ADOBE_ANALYTICS',
+ errorCategory: 'dataValidation',
+ errorType: 'configuration',
+ feature: 'processor',
+ implementation: 'native',
+ module: 'destination',
+ },
+ statusCode: 400,
+ },
+ ],
+ },
+ },
+ },
+ {
+ name: 'adobe_analytics',
+ description: 'Test 16',
+ feature: 'processor',
+ module: 'destination',
+ version: 'v0',
+ input: {
+ request: {
+ body: [
+ {
+ message: {
+ anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab',
+ channel: 'web',
+ context: {
+ ip: '127.0.0.1',
+ campaign: {
+ name: 'sales campaign',
+ source: 'google',
+ medium: 'medium',
+ term: 'event data',
+ content: 'Make sense of the modern data stack',
+ },
+ library: { name: 'RudderLabs JavaScript SDK', version: '2.9.1' },
+ locale: 'en-US',
+ page: {
+ path: '/best-seller/1',
+ initial_referrer: 'https://www.google.com/search',
+ initial_referring_domain: 'google.com',
+ referrer: 'https://www.google.com/search?q=estore+bestseller',
+ referring_domain: 'google.com',
+ search: 'estore bestseller',
+ title: 'The best sellers offered by EStore',
+ url: 'https://www.estore.com/best-seller/1',
+ },
+ screen: {
+ density: 420,
+ height: 1794,
+ width: 1080,
+ innerHeight: 200,
+ innerWidth: 100,
+ },
+ traits: {},
+ userAgent:
+ 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)',
+ },
+ traits: { roott01: 'roottval001' },
+ event: 'random unmapped event',
+ integrations: { All: true },
+ messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383',
+ properties: {
+ overrideEventName: 'override event',
+ cart_id: '12345',
+ mark6: 'label number 6',
+ products: [
+ {
+ product_id: '123',
+ sku: 'G-14',
+ name: 'Cards',
+ price: 14.99,
+ position: 1,
+ category: 'Games',
+ url: 'https://www.website.com/product/path',
+ image_url: 'https://www.website.com/product/path.jpg',
+ },
+ {
+ product_id: '345',
+ sku: 'G-32',
+ name: 'UNO',
+ price: 3.99,
+ position: 2,
+ category: 'Games',
+ },
+ ],
+ },
+ originalTimestamp: '2020-01-09T10:01:53.558Z',
+ type: 'track',
+ sentAt: '2020-01-09T10:02:03.257Z',
+ },
+ destination: {
+ Config: {
+ trackingServerUrl: 'flk.gc.gmtidc.net',
+ trackingServerSecureUrl: 'flk.gc.gmtidc.net',
+ reportSuiteIds: 'footlockerrudderstackpoc',
+ sslHeartbeat: true,
+ heartbeatTrackingServerUrl: '',
+ useUtf8Charset: true,
+ useSecureServerSide: true,
+ proxyNormalUrl: '',
+ proxyHeartbeatUrl: '',
+ marketingCloudOrgId: 'mktcloudid001',
+ dropVisitorId: false,
+ timestampOption: 'enabled',
+ timestampOptionalReporting: true,
+ noFallbackVisitorId: false,
+ preferVisitorId: false,
+ trackPageName: true,
+ contextDataPrefix: '',
+ useLegacyLinkName: true,
+ pageNameFallbackTostring: true,
+ sendFalseValues: true,
+ productIdentifier: 'name',
+ eventFilteringOption: 'disable',
+ eventsToTypes: [{ from: 'init heartbeat', to: 'initHeartbeat' }],
+ rudderEventsToAdobeEvents: [
+ { from: 'product viewed', to: 'event1' },
+ { from: 'currency test event', to: 'event6' },
+ ],
+ contextDataMapping: [
+ { from: 'tt01', to: 'tt01' },
+ { from: 'tt02', to: 'tt02' },
+ { from: 'roott01', to: 'roott01' },
+ ],
+ eVarMapping: [
+ { from: 'city5', to: '5' },
+ { from: 'phone4', to: '4' },
+ { to: '6', from: 'context.library.name' },
+ ],
+ listMapping: [
+ { from: 'bikelist', to: '1', delimiter: ',' },
+ { from: 'carlist', to: '2', delimiter: ',' },
+ ],
+ customPropsMapping: [
+ { from: 'customprop1', to: '1', delimiter: ',' },
+ { from: 'customprop2', to: '2', delimiter: ',' },
+ ],
+ eventMerchEventToAdobeEvent: [
+ { from: 'product not viewed', to: 'event1' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ eventMerchProperties: [
+ { eventMerchProperties: 'currencyMerch' },
+ { eventMerchProperties: 'addressMerch' },
+ ],
+ productMerchEventToAdobeEvent: [
+ { from: 'product list viewed', to: 'event2' },
+ { from: 'Currency test event', to: 'event6' },
+ ],
+ productMerchProperties: [
+ { productMerchProperties: 'currencyProdMerch' },
+ { productMerchProperties: 'addressProdMerch' },
+ { productMerchProperties: 'products.prodLevelCurrency' },
+ ],
+ productMerchEvarsMap: [
+ { from: 'phone4', to: '4' },
+ { from: 'city5', to: '5' },
+ { from: 'products.mark6', to: '6' },
+ ],
+ whitelistedEvents: [{ eventName: '' }],
+ blacklistedEvents: [{ eventName: '' }],
+ },
+ },
+ },
+ ],
+ method: 'POST',
+ },
+ },
+ output: {
+ response: {
+ status: 200,
+ body: [
+ {
+ output: {
+ version: '1',
+ type: 'REST',
+ method: 'POST',
+ endpoint: 'https://flk.gc.gmtidc.net/b/ss//6',
+ headers: { 'Content-type': 'application/xml' },
+ params: {},
+ body: {
+ JSON: {},
+ JSON_ARRAY: {},
+ XML: {
+ payload:
+ '17941080sales campaignweb127.0.0.1en-USDalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)https://www.google.com/search?q=estore+bestsellerroottval001RudderLabs JavaScript SDKorandom unmapped eventhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001override eventfootlockerrudderstackpoc',
+ },
+ FORM: {},
+ },
+ files: {},
+ userId: '',
+ },
+ statusCode: 200,
+ },
+ ],
+ },
+ },
+ },
+];