NUTRINTG Test cases
CDP-Profile-Creation-WrongTierCode
Pre-requisite: Profile for CDP is correctly configured as stated in NUTRINTG Configuration
Request: POST to cdp-profile-service (/profile) with correct profile request but with not valid TierCode
Result:Request to CDP is rejected in cdp-profile-adapter
Request was not send to IMS
Trace Service returns events from cdp-profile-service, middleware-message-router, cdp-profile-adapter
CDP-Profile-Creation-IMSNotConfigured
Pre-requisite: Profile for CDP is correctly configured as stated in NUTRINTG Configuration without middlewareInstantMessageService
Request: POST to cdp-profile-service (/profile) with correct profile request
Result:Request to CDP is accepted by Epsilon, and the profile can be found
Request was rejected in IMS due to missing configuration, the proper message is logged
Trace Service returns events from cdp-profile-service, middleware-message-router, cdp-profile-adapter, middleware-message-router (again), IMS
CDP-Profile-Creation-Correct
Pre-requisite: Profile for CDP is correctly configured as stated in NUTRINTG Configuration
Request: POST to cdp-profile-service (/profile) with correct profile request
Result:Request to CDP is accepted by Epsilon, and the profile can be found
Request was processed by IMS
Request has been pushed to Customer Journey with ContactKey as IndividualId and non-empty IndividualId
Trace Service returns events from cdp-profile-service, middleware-message-router, cdp-profile-adapter, middleware-message-router (again), IMS
Shopify-CDP-Profile-Creation-Correct
Pre-requisite: Profile for CDP is correctly configured as stated in NUTRINTG Configuration
Request: POST from Shopify shop webhook
Result:Request to CDP is accepted by Epsilon, and the profile can be found
Request was processed by IMS
Request has been pushed to Customer Journey with ContactKey as IndividualId and non-empty IndividualId
CDS-Profile-Creation-WrongBucketConfiguration
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration , but with wrong bucketId in cds-adapter configuration
Request: POST to cdp-profile-service (/profile) with correct profile request but with not valid TierCode
Result:Request to CDS is rejected
Request was not sent to IMS
Trace Service returns events from cdp-profile-service, middleware-message-router, cds-adapter
CDS-Profile-Creation-WrongIMSConfigurationAndMissingAccountSourceInSearchService
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration , but with isCDPTarget=true for IMS configuration and search service does not have such Account Source configured
Request: to cdp-profile-service (/profile) with correct profile
Results:Request to CDS is accepted
Request was sent to IMS, but the process has failed due to search service does not have this Account Source
Trace Service returns events from cdp-profile-service, middleware-message-router, cds-adapter, middleware-message-router (again), IMS
CDS-Profile-Creation-WrongIMSConfigurationAndProfileNotFoundInCDP
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration , but with isCDPTarget=true for IMS configuration and search service for given Account Source is configured to search in CDP system
Request: to cdp-profile-service (/profile) with correct profile
Results:Request to CDS is accepted
Request was sent to IMS, but the process has failed due to profile cannot be found in CDP
Trace Service returns events from cdp-profile-service, middleware-message-router, cds-adapter, middleware-message-router (again), IMS
CDS-Profile-Creation-Correct
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration
Request: POST to cdp-profile-service (/profile) with correct profile request
Results:Request to CDS is accepted
Request was sent to IMS, and processed successfully
Trace Service returns events from cdp-profile-service, middleware-message-router, cds-adapter, middleware-message-router (again), IMS and returns Job Status
[READY]
Request has been pushed to Customer Journey with ContactKey as EmailAddress and empty IndividualId
Shopify-CDS-Profile-Creation-Correct
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook
Result:Request to CDS is accepted, and the profile can be found
Request was processed by IMS
Request has been pushed to Customer Journey with ContactKey as EmailAddress and empty IndividualId
CDP-Profile-Update-Correct
Pre-requisite: Profile for CDP is correctly configured as stated in NUTRINTG Configuration
Request: PUT to cdp-profile-service (/profile) with correct profile request
Result:Request to CDP is accepted by Epsilon, and the updated profile can be found
Request was not processed by IMS, due to all profile updates are supposed to be not processed
Shopify-CDS-Profile-Update-Correct
Pre-requisite: Profile for CDS is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook
Result:Request to CDS is accepted, and the updated profile can be found
Request was not processed by IMS, due to all profile updates are supposed to be not processed
Shopify-CDP-Order-Creation-Correct
Pre-requisite: Order for CDP is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook with existing emailAddress in CDP, header X-Shopify-Topic='orders/create', and financial_status set to 'paid'
Result:Request to CDP is accepted
Request was processed by IMS
Request has been pushed to Order DE with order lines and Order Journey with ContactKey as IndividualId and non-empty IndividualId
Shopify-CDP-Order-Updated-Correct
Pre-requisite: Order for CDP is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook with existing emailAddress in CDP, header X-Shopify-Topic='orders/updated' and financial_status set to 'paid'
Result:Request to CDP is accepted
Request was processed by IMS
Request has been pushed to Order DE with order lines and Order Journey with ContactKey as IndividualId and non-empty IndividualId
Shopify-CDP-Order-Creation-InitialFinancialStatus
Pre-requisite: Order for CDP is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook with existing emailAddress in CDP, and financial_status set to 'initial'
Result:Request to CDP is accepted
Request was processed by IMS, but message dropped since only financial_status='paid' are pushed to SFMC Journey
Shopify-CDP-Order-Creation-NotExistingEmailAddress
Pre-requisite: Order for CDP is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook with non-existing emailAddress in CDP
Result:Request to CDP is accepted
Request was not processed by IMS, due to non-existing emailAddress in CDP. The message is returned to queue and will be processed after some time.
Shopify-CDS-Order-Creation-Correct
Pre-requisite: Order for CDS is correctly configured as stated in NUTRINTG Configuration
Request: from Shopify shop webhook
Result:Request to CDS is accepted, and order can br found
Request was processed by IMS
Request has been pushed to Order DE with order lines and Order Journey with ContactKey as EmailAddress and empty IndividualId