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

Lesson 3 of 5

Failure analysis

18 min

Listen to this lesson

0:00 / 10:31

After a release, a suite of 250 tests can produce 40 failures overnight. Analyzing each from scratch takes days; the release window does not have days. Structured failure analysis turns a pile of red into a short list of causes, each with an owner, within the first morning. The ISTQB syllabus describes the core of it: inspect test logs, performance data, setup and teardown; run a few isolated tests; and remember the cause can be in the test, the system under test, the framework, the hardware or the network.

Capture the right evidence every run

Analysis is only as good as the evidence the run left behind. Build evidence capture into the framework so nobody has to reproduce a failure just to see what happened.

Test logStep-by-step actions, inputs, timings and the exact assertion that failed.
Screen evidenceScreenshot or short recording at the point of failure, with personal data minimized.
Service evidenceRequest and response for API steps, including status codes and error payloads.
Data evidenceKeys created, reserved or discovered during setup, and their key attributes.
System evidencePointers to SAP logs for the time window: short dumps, application log, job log, gateway error log.
Evidence layers a failed SAP test should leave behind.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-303

On the SAP side, the usual places to look are well known to any Basis or ABAP team: short dumps in ST22, the system log in SM21, application logs in SLG1, background jobs in SM37, update errors in SM13, and for OData services the gateway error log /IWFND/ERROR_LOG. A framework that records the system, client, user and exact timestamps of each failed step makes these searches quick.

Where to look in SAP once the framework tells you the system, client, user and timestamp of the failed step.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-303

Group by signature first

Before analyzing individual tests, group failures by signature: the failing step, the error message and the object involved. Forty failures often collapse into five or six signatures. One signature with twenty tests is almost never twenty defects; it is usually a shared helper, a changed navigation path, a missing role or an environment problem.

  1. CollectExport all failures with step, message, object, timestamp and run id.
  2. GroupCluster by signature; sort clusters by size.
  3. Check run-wide signalsEnvironment checks, pool levels, refresh or upgrade events in the window.
  4. Analyze one per clusterPick the clearest example; reproduce in isolation if needed.
  5. Classify and assignData, environment, test or defect; assign an owner and a due time.
  6. VerifyRerun the affected cluster after the fix; close or reopen.
A structured morning triage of a failed regression run.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-303
Signature at Contoso after the feature pack stackTestsClassificationOwner
Launchpad tile "Create Sales Orders" not found18Test: tile title changed in the new catalogAutomation engineer
Authorization error on new app in test user role9Environment: role not updated in CMQSecurity team
Field "Incoterms Location 1" mandatory6Defect: custom validation clashes with new standard field logicKenji's team
Stock shortage for CMC-RTR-2004Data: replenishment job failed during upgradeAutomation engineer
Timeout at goods issue post3Unclear: reproduce in isolationAutomation engineer with Basis

Example triage board: 40 failures, five signatures.

Read failures and passes

The ISTQB syllabus also asks you to check unexpected passes, and to verify that the assertions are in place, because missing assertions give inconclusive results. After an upgrade, a test that suddenly passes faster than ever may have skipped a step because a popup no longer appears; check that it still asserts the business outcome. When a release changes behavior on purpose, the right fix is to update the expected result, with the process owner's agreement, and record why.

A pass after an upgrade is checked too: a faster run may mean a skipped step, and only the business assertion proves the outcome.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-303
  1. Did the system behave as the new release intends?Yes → update the test and its expected result, with process owner agreement · No → continue
  2. Does the failure reproduce manually with valid data?Yes → log a defect with the evidence package · No → continue
  3. Is the environment or data at fault?Yes → route to Basis, security or the data owner · No → fix the test itself
Deciding between updating the test and logging a defect.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-303

What would you do?

After the upgrade of CMQ, six order-to-cash tests fail because a new mandatory field appears on the sales order screen. SAP's release information describes the field as a deliberate change. Maria confirms the business will fill it. What is the right action?

Key points
  • Capture test, screen, service, data and system evidence on every run.
  • Group failures by signature before analyzing individual tests.
  • Check run-wide signals such as environment health, pool levels and upgrade events first.
  • Time-box analysis per cluster and escalate with an evidence package.
  • Intended changes mean updating the test and expected result with process owner agreement.

Check your understanding · not graded

Lesson check

  1. 1. Twenty tests fail with the same message after an upgrade. What is the most likely conclusion?

  2. 2. Where would an analyst look for ABAP short dumps that occurred during a failed run?

  3. 3. A test now passes in half its usual time after an upgrade. What should the team check?

  4. 4. A release changes a behavior on purpose and Maria agrees the business will adapt. What happens to the failing tests?