TOPIC 62/6215 MINNOT STARTED

When a third-party service is down: what you can still test

Confirm the cause, sort tests by what they need, use a stand-in, test the silence and report what was held.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: The cardboard fire engine. A school play uses a real fire engine in one scene. On the day, the fire engine is called to a real fire. The show must go on, so the children practise the scene with a cardboard engine. They also practise what to do if the engine never arrives.

Where this picture stops: A cardboard engine is plainly fake. A stand-in can look so real that people forget it is not.

Apps lean on other companies' services in the same way. A third-party service is a service run by someone else that your app calls, such as one that takes card payments or sends text messages. When it goes down, the app's own tests can start to fail, though nothing in the app has changed.

At Daily List, Leo has added text-message reminders. The messages come from a service run by another company. On Wednesday that service goes down. Tom, the tester, has 20 tests to run, and 9 of them need the service.

Tom does three things. First an : he sorts the tests into those that need the real service and those that do not. Next he uses a stand-in, a pretend version of the service that gives fixed answers, for the tests that can use one. And he runs failure-path checks, which test what the app does when the service does not answer.

Tom finds a problem. When the service is silent, the app shows a spinning wheel forever. That is a real bug, found because the service was down.

All names and events here are made up for teaching. SYNTHETIC / TRAINING ONLY.

PLAIN WORDS · 1 in this section
outage
a time when a service is not working

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Testing when an outside service the app depends on is down: confirm the cause, sort the tests by what they need, use a stand-in for those that can, test what the app does when the service is silent, and report what could not be checked.

  1. Confirm the cause
  2. Split the tests
  3. Use a stand-in
  4. Test the failure paths
  5. Report what was held
A day with the outside service down

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The real fire engine that is called awayThe third-party service that goes down
The cardboard engine for rehearsalThe stand-in
Choosing which scenes need the real engineThe outage split
Practising what to do if the engine never arrivesThe failure-path check
A cardboard engine of an old modelA stand-in that has drifted from the real service

WHERE THIS PICTURE STOPS

  • A cardboard engine is plainly fake. A stand-in can look so real that people forget it is not.
  • A school play has one engine. An app may rely on many services, each with its own failures.
  • A real fire is not under the school's control. A test run may be able to switch a stand-in to fail on purpose, which a real service cannot.

HOOK

Confirm it, split it, stand in, then test the silence.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Five steps: a status-page check and one hand request, the , stand-in tests, failure-path checks, and a note of what was held.

What each part of the trick stands for
In the trickWhat it stands for
ConfirmCheck the status page and one request by hand
SplitDo the outage split
Stand inRun the tests that can use a stand-in
SilenceRun failure-path checks
ReportSay what was held and what is at risk

TELL A FRIEND

When an outside service is down, confirm it is the cause, sort tests by what they need and use a stand-in where you can. Test what the app does when the service is silent, and report what was held.

OFTEN MIXED UP WITH Service virtualisation with WireMock. That lesson shows how to build a with a tool. This lesson covers what a tester does on the day the real service is down.

PRACTISE AND KEEP

Sources for this topic — 5 sources
  1. Market practice

    Gracefully Handling Third Party API Failures (StackAbuse) ↗ — StackAbuse · Handling failures of third-party APIs gracefully: expect timeouts and errors, decide what the app does when the service does not answer, and test those cases (search excerpt, page not opened)

    Developer tutorial on handling failures of third-party APIs: expect errors and timeouts, decide what the app does and test it. Practitioner view, not a standard. · Checked 2026-11-17

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Sometimes it's better for tests to hit the real API (Code with Jason) ↗ — Code with Jason · Whether tests should call the real third-party service is decided case by case: live calls can be slow, can hit rate limits and can change real data (search excerpt, page not opened)

    Developer blog arguing that sometimes tests should hit the real API, and that the choice depends on cost, risk and how reliable the service is. One developer's view, not research. · Checked 2026-11-17

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Test Double (Martin Fowler bliki) ↗ — Martin Fowler · Martin Fowler, Test Double, 17 January 2006. Passage defining the general term and the distinct roles of stubs and mocks opened 22 November 2026.

    Defines test double and the dummy, fake, stub, spy and mock kinds. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Simulating faults (WireMock documentation) ↗ — WireMock · WireMock documentation on per-stub fixed delay and fault simulation, opened 22 November 2026. Tool behavior supports controlled test cases without establishing provider behavior.

    The WireMock pages on faults describe a fixed delay in milliseconds on a response. They also describe a fault setting on the response with values such as an empty response, a malformed chunk and a connection reset. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail. V27 supplement, 6 November 2026: relevant primary page sections actually opened; implementation-specific current product guidance, not universal standard. See full V27 audit for version and access scope.

    WireMock topic review, 8 November 2026: Per-stub fixed delays and bad responses. Current official page opened 8 November 2026; delays are milliseconds and connection faults differ from status replies.

  5. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Foundation Level syllabus v4.0.1: test levels and test types differ in what they need, and a test environment may use stand-ins for parts that are not available. Section numbers were not rechecked in this session

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.

    Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.

    The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.

    The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.

    7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.