JMeter
All articles
About the course
Apache JMeter is a Java program that sends requests to a server and records what came back: the response code, the time it took, the bytes, and whether an assertion held. It does not need a browser and it does not need a display: a plan is an XML file, and a run is one command. That is why a course about it can show every number it talks about.
The course below is a chain of numbered lessons in the order a plan is built. Each one takes one element, shows it in a whole plan, runs the plan headless in this container and prints what the run wrote. JMeter 5.6.3 runs on OpenJDK 21.0.13.1, and the target is a small Python server on 127.0.0.1 that the course writes and starts itself. There is no network: a lesson that would need a remote site, a browser or Docker says so and shows the steps instead of pretending it ran them.
The numbers a run prints — throughput, average, the percentiles, the milliseconds of one sample — change with every run, and the lessons say which lines vary. The counts do not: how many samples a plan sends, how many of them failed and which response code came back are the same on every machine, so those are the numbers the lessons and their checks rely on.
The performance testing hub puts JMeter next to the other tools, Locust is the Python one, and API testing covers the HTTP a plan sends. The older JMeter overview is kept as it was, and the install pages for Linux and Windows are linked from the install lesson.
Related
- Performance testing: what a load test is for, and the tools that do it.
- Locust: load tests written in Python.
- API testing: the requests a plan sends, checked by hand first.
- Groovy: the language of a JSR223 element, with its own course.