Automated Journey Test
  • 13 Dec 2023
  • 7 Minutes to read

    Automated Journey Test


      Article Summary

      Suggested reading: Journey Test

      Once you complete designing your journey and save it on the Test status, you can start testing your journey by two methods: Automated Test and Specific User.

      How does it work?

      Automated Test helps you simulate your journey on behalf of a randomly selected end user that is eligible to enter the journey and receive messages. In the test system, the respective user does not receive any messages, but you receive the messages they would receive in the journey to make sure your journey functions without any issues. 

      Your title goes here
      If your journey has On Click, On Reply, On View, or On Close live actions, you need to take the required action on the messages to proceed to the next journey element.

      To test your journey, you can use the Load User Information or Use My Account options, or enter your credentials manually. The first step allows you to enter the credentials of the account you are logged in to your Inone panel with, or those of your test accounts. Once you complete the first step, these credentials are used to receive the messages the end user that will be listed on the next step would receive in the journey as if the journey is on the Dry Run status.

      Automated Tests List displays the test results, test details, and the user profiles of each end user who are eligible to enter the journey. When you first enter the journey, you need to wait for an end user to meet the starter element and enter the journey.

      When an end user enters the journey, you can view their details on the test modal. Once the previous user completes the journey, you can test it as another user.

      Test Details displays the steps the end user follows in the journey. Each step is briefly explained with the corresponding element the end user follows.

      User Profile shows the end user's profile details including their channel reachability, profile ID, and the link to their User Profile on your Inone panel.

      Credentials listed in the user profile are your credentials as we replace the credentials of the real end user with yours. If the real end user is not reachable on a certain channel, you will not receive the channel message in the journey even if you provided the credentials and opted in to the channels.

      Test Actions for Each Element

      You will see a pop-up on each journey element the end user follows. These pop-ups help you view the information about the respective journey element and actions you need to take on behalf of the end user to continue testing.

      Element TypeInformation
      Starter elementsYou can see the starter conditions of your journey.
      Wait for some time, Wait until a time slotYou can see the wait duration, and the time remaining for the end user to continue to the next element in the journey. If you check the "Skip Wait Elements" box before starting the test, you will see that the end user skips this element.
      Wait for EventYou can see the event you selected to hold the end users on this step until they perform the specified event(s) with the specified event parameters.
      Wait for AttributeYou can see the attribute you selected to hold the end users on this step until their specified attribute value gets a new value.
      Check ConditionsYou can see the condition that the end user meets.
      Check InteractionYou can see which channels you checked the end user’s interaction with.
      Check ReachabilityYou can see which channels you checked the end user’s reachability.
      Channel ElementsYou can see the message that end user will receive and the action you need to take to let the end user continue in the journey. If you set the live action of your channels to On Click, On Reply, On View, or On Close, you need to take the required action to allow the end-user to continue the journey. If you set the live action of your channel to On Send, you do not need to take any action, the end user will continue in the journey after the message is sent. Read more about live actions.
      Update User AttributeYou can see the attribute you want to update for the end user.
      Update Static SegmentYou can see the static segment you want to update via adding the end user to the static segment or removing the end user from the static segment.
      Exit CriteriaIf you define any exit criteria for your journey, you will remove the end user when the end user meets the criteria. The end user does not receive any messages from the journey, however they can perform actions that can make them meet the exit criteria of your journey.
      Journey GoalsAny defined journey goal is not in the Automated Test. Once you change your journey status to Active, the journey goals will be tracked.
      User EligibilityIf you select Only One Time, you can test an end user only once. If you select Multiple Times, the end user may enter the journey after the specified duration, as the end user becomes eligible again.

      To test your journey with Automated Test, follow these steps:

      1. Launch your journey

      Once you complete designing your journey, launch it on the Test status.

      2. Start the journey test

      1. After launching your journey on the Test status, click the Test Journey button against the journey you want to test on the listing page.

      2. Select the Automated Test option, and click the Next Step button.

      To bypass the waiting duration of the Wait elements during the test, check the "Skip Wait Elements" box.

      3. Select a test method

      1. To test your journey, you can use either Load User Information or Use My Account option. Alternatively, you can enter your credentials manually in the respective channel fields.

      Load User Information loads your credentials that already exist in the database. Once you load your credentials, make sure to check if they belong to your test accounts, namely the devices you will use during the automated test. The credentials (e.g. email address, phone number, etc. ) should belong to your test accounts for you to receive the test messages. 

      Use My Account option fills in the credentials for the account you are logged in to your Inone panel. 

      If you do not load user information, you should type in the identifiers for the channels manually. Instead of the end user, the credentials you enter will receive these messages from the channels.

      2. To load a specific user's information, you should enter one of the following identifiers of the user: Email address, phone number, profile ID, UUID (unique user identifier), or UDID (unique device identifier). Enter the value for the identifier of your choosing, and click the Load User Information button to see the credentials in the channel list below.

      Once you load your user information, make sure the credentials for all channels are correct to test your messages since you will receive the messages instead of the end user.

      You can also enter your credentials for the channels in your journey manually. After you enter your credentials, check the “I give Insider permission to use these credentials to test this Journey and send messages.” box to test your journey, and click the Test Journey button.

      4. Wait for an end user

      1. Now you will wait for an end user that meets the starter element to enter your journey.

      2. When an end user enters the journey, you can start testing it. As you select the end user on Automated Test List, you can view the steps that the end user takes in your journey.

      3. As you test your user, you will receive messages from the channels in your journey. 

      5. Follow the channel live actions

      As you opt in to the channels in your journey, you can receive the messages when you test your journey. You need to take the required action needed to let the end user continue in the journey if you select the On Click, On Reply, On View, or On Close live actions other than On Send. For example, if your App Push channel element has On Click as the live action, you need to click the push notification you receive on your device to let the end user continue on the journey.

      See below for the actions you need to take to let your end users proceed to the next journey element:

      ChannelLive ActionRequired Action
      Web PushOn ClickClick the web push notification.
      Web PushOn CloseClose the web push notification.
      EmailOn ClickOpen the email to click any link/button in the message.
      EmailOn ViewOpen/view the email message.
      SMSOn ClickClick the SMS message.
      WhatsAppOn ReplyOpen the WhatsApp message and reply with a message.
      WhatsAppOn ClickOpen WhatsApp and click the message.
      App PushOn ClickClick the app push notification
      InAppOn ViewOpen the InApp message or scan the QR code on the pop-up message.
      OnsiteOn ViewVisit your website to see the Onsite message or click the test link on the pop-up message.
      Google Ads-You cannot add or remove users from the selected audience via Google Ads channel in the Automated Test..
      Facebook-You cannot add or remove users from the selected Facebook Custom Audience via Facebook channel in the Automated test.
      Call an API-You cannot create a Call an API request in the Automated Test.

      6. See test details

      Once the end user completes the journey and you complete the test, you will see your test results under Test Details on the Automated Test modal. The details include the elements the user followed in the journey, and whether they matched the respective paths.

      7. Test as another user

      To test your journey as another user and receive the messages they would receive in the journey, click the Test Another User button on the Automated Test modal.


      Was this article helpful?


      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses