Software Testing / Learning brief
Tom presses the lift button twice
In simple terms / 01
What this means in plain language
Lily's train network is slow, so the app sends her upgrade twice. A lift story shows how a retry key and a few repeat tests keep the result to one charge, even when messages come twice or late.
Complete lesson / 02
Understand the full idea, step by step
You press the lift button. Nothing seems to happen, so you press it again. The lift must still come once, and it must not break.
Lily is on a slow train. She taps Upgrade, and the app sends the request twice because no answer came back. Tom wants to know that she is charged once.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Idempotency and webhook testing as taught in this academy, with an invented app and invented people. The key and event names are made up.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts or registry entries. The lift is a teaching picture.
Sources for this brief — 5 sources
- Market practice
RFC 9110 — HTTP Semantics ↗ — IETF · HTTP semantics define safe and idempotent methods;
PUTandDELETEare idempotent andPOSTis not (registry source, not opened in this run)Internet Standard, June 2022, obsoleting RFC 7230 through 7235.
Cited for method semantics only. "Idempotent" in RFC 9110 is a property of a method: that repeating the request has the same intended effect on the origin server. It is not the same claim as "this payment cannot be duplicated", which is a scheme-level guarantee with its own documents.
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 in full from the HTTP Working Group's own publication mirror at httpwg.github.io.
- Market practice
The Idempotency-Key HTTP Header Field — active Internet-Draft 08 (22 October 2026) ↗ — Internet Engineering Task Force · An Internet-Draft describes an Idempotency-Key header that makes
POSTorPATCHfault-tolerant, with a unique key such as a UUID that must not be reused with a different payload; status unconfirmed (search excerpt, page not opened)Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
- Market practice
Handle duplicate webhooks that arrive out of order (OneUptime blog) ↗ — OneUptime · Store each event identifier first to drop repeats, guard against stale events with a conditional update on a revision, make the business action safe to repeat; one provider does not guarantee delivery order (search excerpt, page not opened)
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.
- Market practice
The PaymentIntent lifecycle (Stripe documentation) ↗ — Stripe · Check payment status on the server and fulfil an order only when the payment has succeeded (search excerpt, page not opened)
Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.