A delivery report that could never say failed

A booking system could not record a failed WhatsApp confirmation for four months. Why a status that cannot fail is not a status.
Case study

A delivery report that could never say failed

Not one failed message in four months of reports. That was the clue.

For owners and operations leads at appointment-based service businesses, and the teams that build their booking software.

A customer agreed a price and a date and never heard back, and every screen said he had been told. A car-services business we are related to confirms bookings by WhatsApp. A confirmation failed nine seconds after it was sent and the system kept it as sent. In four months the delivery report never recorded a single failure.

  • Automotive services
  • Booking platform with WhatsApp confirmations
  • Clients
  • Money
  • Reputation
Two BetterQA pens on a closed laptop beside a BQA mug and a phone
The numbers
0 failuresrecorded in four months of booking confirmations
4 monthsof delivery reports that could not record a failure
2 of 5status values the column ever held
0failed messages recorded, ever
9 sbetween the send and the provider reporting the failure
At stake

What was at risk

Clients

A customer who agreed a price and a date and heard nothing

A confirmation failed nine seconds after sending and was kept as sent. The customer never heard back, while every screen said he had been told.

Money

Bookings that quietly lose the customer

Of the confirmations stored as sent, nobody can say how many arrived, because the evidence only existed in log retention. Each one that did not is a job at risk of a no-show or a lost sale.

Reputation

A report nobody could trust

For four months the status column could only say sent or delivered. A report that cannot show failure cannot be used to find one.

Rules

Standards and rules in play

  • The provider's status vocabularyThe messaging provider's status names are group-prefixed. The report path compared bare group names, so every failure branch was dead while the delivered branches worked.
  • One rule in one placeThe send path already read the status group correctly. The report path held a second, wrong copy of the same rule.

Customer contact details are personal data under GDPR, and messaging providers publish status rules that an integration must match exactly. This page describes testing, not a compliance audit.

Method

How we tested it

Test level
System integration testing: the booking service, the messaging provider's status reports and the stored booking record, checked together.
Test types
Functional; confirmation and regression testing: four new tests failed against the old mapping and pass after the fix.
Test basis
The rule that a failed message must show as failed, and the provider's documented status vocabulary.
  • TechniqueState transition testingA message moves from sent to delivered or to failed. The failed transition could never fire, because its branch compared the wrong name.
  • TechniqueError guessingIn production the status column held only two of its five possible values. The absence of failed was the clue.

Terms as in the ISTQB CTFL 4.0 glossary.

Findings

What we found, and what it costs

High

A failed confirmation was stored as sent

What it costs youThe customer is not told, the business believes they were, and nobody finds out until the customer complains.

High

The delivery report could not record a failure at all

What it costs youFour months of data cannot answer how many confirmations were lost. That cannot now be reconstructed.

Medium

The status rule existed twice and the report copy was wrong

What it costs youTwo copies of one rule drift apart; this one drifted into a silent failure.

The fix was proved with four new tests that fail against the old mapping and pass after it.

Outcome

What changed

The report now reads the same status group as the send path, so failed, pending and read states are recorded. How many of the earlier confirmations were lost cannot be recovered.

What this means for you: If your system sends confirmations to customers, check that it can record a failure, and look at which values its status column has ever held.
Check

What to check in your own product

  1. Confirm a failed send can be stored as failed, not kept as sent.The customer is not told, the business believes they were, and nobody finds out until the customer complains.
  2. Compare the status names your provider sends with the ones your code matches.The report path compared bare group names, so every failure branch was dead while the delivered branches worked.
  3. Check the report and the send path read the status through one rule.Two copies of one rule drift apart; this one drifted into a silent failure.

Can your system record that a message failed?

We check that failure states exist in your data, not only that messages go out. The first month is a trial.

Talk to our team
Share the Post: