JMeter step by step: correlation, data files and command-line runs
Make a JMeter test behave like real users: capture a changing value such as a token and reuse it, feed each virtual user its own data, and run the test from the c…
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a rehearsal before a busy shop opens. Each actor gets a different shopping list. One actor finds a ticket on the door and must show that same ticket at every counter. The director watches from the back, not from the stage, so the crowd is not disturbed.
Tom is a tester at Daily List, a to-do list app. He rehearses the opening with fifty actors.
What it is: Apache JMeter is a free load tool you install on a computer. This topic is three slices of it, not the whole tool. Correlation copies a value that changes every run, such as a , from one answer into the next request. A gives each pretend user a different row, such as a different email. A command-line run starts the test with the window closed. JMeter is not the API (application programming interface). The API is Daily List. JMeter is the crowd that calls it. The window is for building the plan. It is a poor place to run the crowd.
Why it matters: A script that reuses one expired token, or one user, fails for the wrong reason. Tom then cannot tell Mei whether Daily List is slow or the script is stale. Correlation, a data file and a are what make the result trustworthy.
PLAIN WORDS · 2 in this section
- rehearses
- practises ahead of time
- reuses
- uses again
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Configure extraction, and CLI.
- Capture
- Feed
- Run
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A shopping list for each actor | A data feed per user |
| A ticket found on the door | A correlated token |
| The director at the back of the hall | A command-line run |
| The crowd | Virtual users |
WHERE THIS PICTURE STOPS
- CSV values update at iteration start according to sharing and EOF settings.
- Recycling can reuse accounts; a short row can retain a previous field.
- A token must be captured and validated before the dependent request.
HOOK
List, ticket, back of the hall.
TELL A FRIEND
A rehearsal: list, ticket, back of the hall.
OFTEN MIXED UP WITH JMeter: assertions, data files and reports. That topic adds assertions, data files and reports. This one matches changing values and runs the test from the .
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Implementation-specific
Component Reference (Apache JMeter user manual) ↗ — Apache Software Foundation · Current Apache JMeter component reference, CSV Data Set Config/JSON Extractor/Response Assertion: per-iteration read, sharing/recycle/EOF, short-row retained variables, extraction and assertions; opened 6 November 2026.
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.
- Implementation-specific
Generating the dashboard report (Apache JMeter user manual) ↗ — Apache JMeter · Apache report dashboard: input saved fields, -g/-o, empty/new output folder, configurable percentiles and estimator difference; opened 6 November 2026.
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.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.