For the complete documentation index, see llms.txt. This page is also available as Markdown.

Testing & UAT

Testing an Open Loyalty implementation end to end — test data, functional and failure scenarios, webhooks, performance and user acceptance — before go-live.

Each module checklist in this guide ends with validation scenarios. This page turns them into a test plan and adds what cuts across modules: test data, failure and retry tests, webhooks, performance, and business sign-off.

Environments and test data

  • Test on staging. It has lower throughput and no SLA, and shouldn't hold real personal data — see Environments & access.

  • Create test members with a recognisable identifier range and domain (e.g. loyalty card numbers 9990000001…, emails at a domain you own). Give them the profiles your scenarios need: birthdays today, members in each tier, members in each segment, migrated and new members.

  • For data migration, rehearse with an anonymised copy of production data — see Data migration.

  • Keep a list of the test members and what each one is for; reset or recreate them between test rounds.

Functional scenarios

Start from the Validation list on each module checklist you're implementing, and turn each line into a test case with inputs and the expected result:

Area
Validation lists

Before sending test traffic for a campaign, check its outcome with campaign simulation. Time-based rules (birthdays, anniversaries, monthly leaderboard prizes, expiry) need test members whose dates fall inside the test window — plan them in advance.

Failure and retry scenarios

These catch the bugs that only show up in production traffic:

Scenario
Expected result

The same transaction is sent twice (retry after a timeout)

Recorded once; the second gets the duplicate document number 400, which the integration treats as success

The same custom event is sent twice

Processed once; duplicate eventId 400 handled as already processed

A balance adjustment is retried

Added once; duplicate externalTransferId rejected

Open Loyalty returns 429 or 5xx

The integration retries with backoff and logs the payload

A 400 validation error

Not retried; logged with the payload for fixing

A profile update made in the channel

No update loop between channel, Open Loyalty and CRM

A webhook endpoint is down for an hour

Missed events are recovered by reconciliation

A fortune wheel draw fails

Retried on the same spin; no second spin bought

Webhooks

  • Subscribe staging webhooks to a staging endpoint and run every member journey: check each expected event arrives once, with a valid signature, and updates CRM.

  • Send a request with a wrong signature and confirm it's rejected.

Performance

  • Staging isn't sized for load tests. If your launch or campaigns will produce peaks — a promotion, a migration, a push notification to all members — estimate requests per second and request a performance test and, if needed, a limits increase from Open Loyalty support in advance.

  • Load-test your own integration layer and webhook endpoint too; they're usually the bottleneck.

User acceptance

  • Business owners run the member journeys on staging through the real channels — join, earn, see the balance, redeem, receive messages — and confirm the experience and the numbers.

  • Marketing confirms every campaign, reward and message against the agreed rules.

  • Record sign-off per journey, and list anything accepted as a known issue or moved after go-live.

Checklist

Last updated

Was this helpful?