Software Testing / Learning brief

Tom runs one collection on two servers

What this means in plain language

Tom moves a collection between servers with variables, and Mei adds a script and a data file.

Understand the full idea, step by step

Analogy: a radio with presets. A radio has buttons for your stations. Press one and it tunes in at once. Change the preset and the same button plays a new station.

You do not rebuild the radio.

Variables are the presets. Tom, the tester at Daily List, a to-do list app, changes one setting and the same requests run on a new server.

Evidence & review

REVIEWED 2026-10-31

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 Postman variables, scripts and Newman. 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 — 4 sources
  1. Market practice

    Store and reuse values using variables (Postman docs) ↗ — Postman · Postman docs: variable scopes run from global through collection, environment and data to local, and the narrowest scope wins when a name appears twice (search excerpt, page not opened)

    Postman documentation on variable scopes, from broadest to narrowest, and which value wins. Vendor documentation. 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.

    Verification supplement, 6 November 2026: Actual current v12 page opened: global/collection/environment/data/local scope precedence; local variable value distinct from local scope; shared values used by some cloud features. 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.

  2. Market practice

    Write pre-request scripts to add dynamic behavior (Postman docs) ↗ — Postman · Postman docs: a pre-request script runs before a request is sent, for example to set variable values, and a collection-level script runs before every request in it (search excerpt, page not opened)

    Postman documentation on scripts that run before a request is sent. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-10-31

    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

    Write scripts to test API response data (Postman docs) ↗ — Postman · Postman docs: test scripts run after the response arrives and check things such as status, structure and field values (search excerpt, page not opened)

    Postman documentation on test scripts that check a response. Vendor documentation. Practitioner guidance, not a standard. · Checked 2026-10-31

    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. 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 HEREPostman: variables, scripts and running a collection from the command lineMake one collection work for many servers and many sets of data. Learn variable scopes, pre-request and test scripts, the collection runner and Newman.Opens at L0 Explain simply · about 16 min

Related briefs

Tom runs the script with one user first

An assistant drafts a Daily List load script that runs cleanly. Tom runs it with one user, spots that everyone shares one account, and then refuses a bottleneck claim that has no number behind it.

READ BRIEF