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 JMeter tests.

Test Plan

Test Plan is the root element of the JMeter scripts and houses the other components, such as Threads, Config Elements, Timers, Pre-Processors, Post-Processors, Assertions, and Listeners. It also offers a few configurations of its own.

Firstly, it allows you to define user variables (name-value pairs) that can be used later in your scripts. It also allows us to configure how the Thread Groups it contains should run; that is, should Thread Groups run one at a time? As test plans evolve ...

Get Performance Testing with JMeter 2.9 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.