Anatomy of a JMeter test
With the samples we have explored so far, we have seen a similar pattern emerging. We have seen what mostly constitutes a JMeter test plan. We'll use the remainder of this chapter to explore the anatomy and composition of the JMeter tests.
Test plan
This is the root element of the JMeter scripts and houses the other components such as Threads, Config Elements, Timers, PreProcessors, PostProcessors, Assertions, and Listeners. It also offers a few configurations of its own.
First off, it allows you to define user variables (name-value pairs) that can be used later in your scripts. It also allows the configuration of how the thread groups that it contains should run, that is, should thread groups run one at a time? As test plans ...
Get Performance Testing with JMeter - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.