Test User Segments Providers

Verify if your providers are working properly.

Procedure

  1. Build and run the platform.
  2. In Backoffice Administration Cockpit, go to Start of the navigation pathPersonalization Next navigation step Configuration Next navigation step Personalization ConfigurationEnd of the navigation path and edit the configuration for the electronics storefront.
  3. Configure UPDATE_SIMPLE and RECALCULATE as User login actions (there should not be other update or async_process actions configured in the Calculation tab).

    This configuration results in assigning the customer after login to proper customer group segment by the simple Segments Provider. Because you configured only update for the simple provider, customer does not belong to any other segment.

  4. Go to electronics storefront and register new customer: trail@hybris.com. Make sure that you select the title.
  5. Go to Start of the navigation pathNavigate to User Next navigation step CustomersEnd of the navigation path. Find the created customer and check Segmentation tab. Customer should be assigned to proper customer group segment.
  6. Navigate to Start of the navigation pathMy Account Next navigation step Address BookEnd of the navigation path and select Add Address.
  7. Change configuration for personalization. In Personalization configuration node, configure UPDATE and RECALCULATE as User login actions.
  8. Re-login as new customer trail@hybris.com.
  9. Go back to Backoffice Administration Cockpit. Go to Start of the navigation pathUser Next navigation step CustomersEnd of the navigation path. Find the created customer and check Segmentation tab.