Testing tips

Testing best practices for validating prompt delivery and user state in Recurly Engage.

These recommendations help you test prompts accurately and reliably using the Test Users segment. They also cover reset and propagation considerations.
Available on all Recurly plans

Definition

This guide outlines the steps and considerations for effectively testing prompt configurations, including allowlisting test users, running reset workflows, and allowing time for changes to propagate.

Key benefits

Reliable validation Confirm that prompts render correctly under production-like conditions.
Efficient troubleshooting Quickly reset and re-test user states to isolate issues.
Consistent results Mitigate network and caching delays for standardized test outcomes.

Key details

Set up test users

You can add specific user IDs to the Test Users segment, which lets you test prompts that are visible only to users in this group. See Test users for instructions on configuring your Test Users.

Test cases

When you run test cases, we recommend the following.

Allow SDK initialization

Wait at least five seconds after launching the app before testing. Network latency can delay prompt retrieval.

Reset and retest

1

Reset the Test User

Reset the Test User through the web interface.

2

Launch and close the app

Launch the app, wait a few seconds, and then close it. This ensures the software development kit (SDK) fully resets the user state.

3

Relaunch and test

Relaunch the app, wait a few seconds, and then perform your test.

Allow for propagation delay

Changes such as pausing or starting prompts may take a few minutes to propagate. Keeping the test app open helps reduce the delay and stabilizes test conditions.




Did this page help you?