Important notes

  • In test mode, you can only fire events using the interface. Events cannot be fired from external systems using an API.
  • Only individuals flagged as “test profiles” in the Real-time Customer Profile Service are allowed to enter the tested journey. Refer to this section.
  • The test mode is only available in draft journeys that use a namespace. Test mode needs to check if a person entering the journey is a test profile or not and thus must be able to reach Adobe Experience Platform.
  • The maximum number of test profiles than can enter a journey during a test session is 100.
  • When you disable the test mode, it empties the journeys from all people who entered it in the past or who are currently in it. It also clears the reporting.
  • You can enable/disable the test mode as many times as needed.
  • You cannot modify your journey when the test mode is activated. When in test mode, you can directly publish the journey, no need to deactivate the test mode before.
  • When reaching a split, the top branch is always chosen. You can reorganize the position of the split branches if you want the test to choose a different path.
  • To optimize performance and prevent obsolete resource usage, all journeys in test mode that have not been triggered for a week will switch back to the Draft status.
  • Events triggered by the test mode are stored in dedicated datasets. These datasets are labelled as follows: JOtestmode - <schema of your event>
  • When testing journeys that include multiple events, you must trigger each event in sequence. Sending an event too early (before the first wait node finishes) or too late (after the configured timeout) will discard the event and send the profile to a timeout path. Always confirm any references to event payload fields remain valid by sending the payload within the defined window
  • Make sure the journey’s configured choose start and end dates/time window includes the current time when initiating test mode. Otherwise, triggered test events are silently discarded.

Trigger your events

Use the Trigger an event button to configure an event that will make a person enter the journey.

Prerequisites

As a prerequisite, you must know which profiles are flagged as test profiles in Adobe Experience Platform. Indeed, the test mode only allows these profiles in the journey.

The event must contain an ID. The expected ID depends on the event configuration. It can be an ECID or an email address for example. The value of this key needs to be added in the Profile Identifier field.

If your journey fails to enable test mode with error ERR_MODEL_RULES_16, ensure the event used includes an identity namespace when using a channel action.

The identity namespace is used to uniquely identify the test profiles. For example, if email is used to identify the test profiles, the identity namespace Email should be selected. If the unique identifier is the phone number, then the identity namespace Phone should be selected.

NOTE
  • When you trigger an event in test mode, a real event is generated, meaning it will also hit other journey listening to this event.

  • Ensure that each event in test mode is triggered in the correct order and within the configured waiting window. For example, if there is a 60-second wait, the second event must be triggered only after that 60-second wait has elapsed and before the timeout limit expires.

Event configuration

If your journey contains several events, use the drop-down list to select an event. Then, for each event, configure the fields passed and the execution of the event sending. The interface helps you pass the right information in the event payload and make sure the information type is correct. The test mode saves the last parameters used in a test session for later use.

The interface allows you to pass simple event parameters. If you want to pass collections or other advanced objects in the event, you can click on Code View to see the entire code of the payload and modify it. For example, you can copy and paste event information prepared by a technical user.

A technical user can also use this interface to compose event payloads and trigger events without having to use a third-party tool.

When clicking the Send button, the test begins. The progression of the individual in the journey is represented by a visual flow. The path progressively turns green as the individual moves across the journey. If an error occurs, a warning symbol is displayed on the corresponding step. You can place the cursor on it to display more information about the error and access full details (when available).

When you select a different test profile in the event configuration screen and run the test again, the visual flow is cleared and shows the path of the new individual.

When opening a journey in test, the displayed path corresponds to the last test executed.