Software Testing / Learning brief
Tom runs his first k6 load script
In simple terms / 01
What this means in plain language
Tom installs k6, writes a short script, runs it with three virtual users and reads the summary table.
Complete lesson / 02
Understand the full idea, step by step
Analogy: a dress rehearsal with volunteer shoppers. Before opening day a shop invites volunteers to walk in together and buy things. The owner watches the queue and notes how long each shopper waits.
A k6 first script file (a short JavaScript file that says what the pretend users do) is the rehearsal plan. k6 (a free load testing tool from Grafana Labs) follows it. A k6 virtual user count (how many pretend users act at once) is the crowd. The k6 summary output (the table printed at the end) is the owner's notes.
PLAIN WORDS · 1 in this section
- grafana
- a company that makes tools for watching and testing software
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.
Hands-on steps for this tool. The people and the 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 — 3 sources
- Market practice
Running k6 and Install k6 (Grafana k6 documentation) ↗ — Grafana Labs · Grafana k6 docs: k6 run script.js runs a script, the flags --vus and --duration set the crowd and the length, the same settings can sit in an exported options object, packages exist for Linux, Mac and Windows, a Docker image exists and k6 version confirms the install (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. 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.
- Market practice
Built-in metrics (Grafana k6 documentation) ↗ — Grafana Labs · Grafana k6 metrics page: http_req_duration is a trend metric for total request time, http_req_failed is a rate metric, and checks give a pass rate without stopping the test (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. 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.
- 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.