Software Testing / Learning brief
Tom builds one spec for forty API tests
In simple terms / 01
What this means in plain language
Tom puts shared settings in a specification, and Mei extracts an id and adds a schema check.
Complete lesson / 02
Understand the full idea, step by step
Analogy: a restaurant order form. A good order form has your table number and your allergies already printed. You tick what you want and the kitchen checks the plate against the form.
You do not write your allergies every time.
A specification is that form. Tom, the tester at Daily List, a to-do list app, prints the base address 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.
Using Rest Assured specifications and schema checks. The people and app are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.
Sources for this brief — 2 sources
- Market practice
Usage guide (the Rest Assured project wiki) ↗ — Rest Assured project · Rest Assured wiki: the path syntax for reading a reply follows Groovy rules, a schema check is added with the JSON schema validator module, and a specification can be reused across tests (search excerpt, page not opened)
Primary sections opened in full on 8 November 2026: specification reuse, defaults, extraction after validation, JSON paths, JSON Schema settings/version selection and header logging. Current examples use 6.3.0. Older Draft 4 examples remain on the same page; the newer-version section must also be read. No publisher image is copied by this correction.
- 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.