Software Testing / Learning brief

Tom reads a scripted call

What this means in plain language

Leo shows Tom a script that creates a Daily List task through its programming interface and checks the replies. A phone-call story of status codes, a carried value and a table of cases.

Understand the full idea, step by step

A call centre has a script. Ask the same questions in the same order. Mark each answer right or wrong. Anyone can run the call, and the notes look the same each time.

Leo shows Tom a script for Daily List, a to-do list app. It talks to the app the way another program would, and it marks every reply.

Evidence & review

REVIEWED 2026-10-18

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.

application programming interface (API) automation scripts as taught in this academy, with an invented app. The Python script and toy service were run for real.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The call script is a teaching picture. No Java or Postman was run.

Sources for this brief — 7 sources
  1. Market practice

    Quickstart (Requests documentation) ↗ — Python Requests · Read the status code, call json() to decode the body, raise_for_status() raises on 4xx and 5xx codes, and a decoded body does not mean the call succeeded (search excerpt, page not opened)

    Shows reading the status code, calling json() to decode the body, raise_for_status() for error codes, and that a decoded body does not mean the call succeeded. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-11-06

    Primary publisher body opened and relevant sections read on 6 November 2026; selected-section reading, not a claim every page or external link was read. See docs/research/v16-testing-automation-literacy-audit-20261106.md for exact sections, version and limitations.

  2. Market practice

    How to parametrize fixtures and test functions (pytest documentation) ↗ — pytest · The parametrize marker defines several argument sets so one test function runs once per set (search excerpt, page not opened)

    Says the parametrize marker defines several argument sets so one test function runs once per set, and that fixtures can also be parametrized. Practitioner or vendor guidance, not a standard unless stated. · 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.

  3. Market practice

    Usage (Representational State Transfer (REST) Assured library wiki) ↗ — Representational State Transfer (REST) Assured project (GitHub wiki) · given, when and then chains with Hamcrest matchers; REST Assured's JSON path follows Groovy GPath, not Jayway JsonPath (search excerpt, page not opened)

    Per the search excerpt, a Java library for testing web APIs with a given, when, then layout: given holds the request set-up, when sends the request and then checks the reply. Practitioner guidance, not a standard. · Checked 2026-11-06

    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.

  4. Market practice

    JSONPath: query expressions for JSON (Request for Comments 9535) ↗ — IETF · JSONPath is a query language for picking values out of JSON (search excerpt, page not opened)

    RFC 9535, February 2024, defines JSONPath query expressions for selecting JSON values. Its published status is Proposed Standard on the IETF Internet Standards Track; this is distinct from an Internet Standard maturity designation. Technical conformance depends on the selected implementation and standard scope. · Checked 2026-11-07

    Original 18 October 2026 record was based on search excerpts. On 7 November 2026 the RFC Editor publication page, abstract and Status of This Memo were opened to verify Proposed Standard/Standards Track status. This taxonomy update does not certify a complete syntax, implementation or errata review; lesson-specific source locators identify separately read technical sections.

  5. Market practice

    HyperText Transfer Protocol (HTTP) response status codes (Mozilla developer docs) ↗ — Mozilla (developer documentation) · HTTP response status codes: 2xx success, 4xx client error, 5xx server error (search excerpt, page not opened)

    Per the search excerpt, status codes come in five classes: informational, success, redirection, client error and server error. Pages for 400, 401, 403, 404 and 500 describe each. · 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.

  6. Market practice

    Write scripts to test API response data in Postman (Postman Learning Center) ↗ — Postman · Postman test scripts check response data (search excerpt, page not opened)

    Per the search excerpt, a test is written with a name and a function; the test fails if any check inside fails. Checks use the Chai expect style. 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.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HEREReading an API automation scriptRead a short script that calls an application programming interface (API), picks values out of the reply, chains requests and runs a table of cases, in Python or Java.Opens at L0 Explain simply · about 20 min

Also covered in Reading an automated check.

Related briefs