Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 4 of 5

Error, volume, recovery

9 min

Listen to this lesson

0:00 / 15:20

Happy-path tests prove an interface works on a good day. Production has bad days: malformed messages, month-end peaks, partner outages, expired certificates, a queue blocked behind one bad entry. Resilience tests prove the interface fails safely, copes with volume, and recovers without losing or duplicating business transactions. They are the tests most often cut when time runs short, and the ones whose absence shows first in hypercare.

Error tests

Error tests feed deliberately bad input and check the handling, not just the failure. The expected result has five parts: no wrong business document is created, the message shows as failed in the right monitor, the error text names the problem in business terms, the right owner is alerted, and the same message can be reprocessed after correction. Change exactly one thing per negative message, so you know which validation fired.

An error test passes only when all five parts of the expected result hold, not when the message merely fails.
The Sign-Off Table · thesignofftable.com/academy/sap-int-302
Error testContoso exampleExpected handling
Invalid valueUnknown product number from Great Lakes Fleet ServicesRejected with a clear message; routed to Maria's team; reprocessable
Missing mandatory fieldNo ship-to in the orderRejected or defaulted exactly as specified
DuplicateSame customer PO number sent twiceSecond message detected; no second sales order
Out of sequenceOrder change arrives before the orderHeld, rejected or processed as specified, never silently wrong
Unmapped codeNew unit code not in the value mappingFails visibly at Contoso, not days later at the partner

Error tests for Contoso's order interfaces.

Volume and performance tests

Volume tests replay realistic peaks: Contoso's month-end order surge, the Thursday payment run, the Monday morning backlog after a weekend. Use production statistics to set volumes, and include message size, not just count; one order with 500 items behaves differently from 500 orders with one item. Measure end-to-end time, not just middleware time, and watch for queues that grow and do not drain. Agree pass marks before the test, such as "all month-end orders in S/4HANA within 20 minutes of receipt".

Recovery tests

  1. BaselineOrders flow normally from CMQ to Lakeside's test intake through the test tenant.
  2. Inject the failureLakeside's test SFTP server is stopped for 45 minutes while orders keep coming.
  3. ObserveMessages retry with backoff; nothing is lost; the alert fires when retries pass the agreed threshold.
  4. RestoreThe server comes back; queued orders deliver in order.
  5. ReconcileCount sent equals count received; no duplicates; times recorded.
A recovery test for a receiver outage on Contoso's supplier order interface.
The Sign-Off Table · thesignofftable.com/academy/sap-int-302

Recovery tests simulate failure on purpose: receiver down, middleware unavailable, Cloud Connector restarted, a certificate replaced with an expired one in the test tenant, an S/4HANA queue blocked by a failing entry. Each one must show three things: the failure is detected and alerted, nothing is lost, and normal processing resumes without duplicates. Coordinate with Sam's Basis team for infrastructure failures, and with the partner for outages on their side.

A recovery test with an expired certificate must show detection, no loss and a clean resumption without duplicates.
The Sign-Off Table · thesignofftable.com/academy/sap-int-302
Error testsBad values, missing fields and duplicates produced inside Contoso's systems
Partner rejection testsPartner rejects a message; rejection returns and is visible at Contoso
Contoso recovery testsMiddleware, Cloud Connector, queue or certificate failures on Contoso's side
Partner outage testsPartner system or route down; retries, alerts and catch-up
Covering the four kinds of resilience test for each critical interface.
The Sign-Off Table · thesignofftable.com/academy/sap-int-302

Operational tests

The last group proves the interface can be run by the people who will run it: alerts reach named owners, the reprocessing procedure works as written when followed by someone who did not write it, the daily reconciliation finds a planted gap, and cutover steps (stop, drain, reconnect, smoke test) work in the mock conversions and dress rehearsal.

What would you do?

Time is short before the final test cycle. Grace proposes cutting recovery tests for the supplier order interface because "Integration Suite retries automatically anyway." How should Priya respond?

Key points
  • Error tests check handling: safe, visible, understandable, alerted, reprocessable.
  • Volume tests use production peaks, message sizes and agreed pass marks.
  • Recovery tests inject failures and prove detection, no loss and clean resumption.
  • Operational tests prove alerts, reprocessing, reconciliation and cutover steps work for the real operators.

Check your understanding · not graded

Lesson check

  1. 1. Which test proves an interface recovers after a receiver outage?

  2. 2. Where should volume test figures come from?

  3. 3. What three things must every recovery test show?

  4. 4. Who should run the reprocessing procedure in an operational test?