Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Performance Testing with JMeter, 2nd Edition

You're reading from   Performance Testing with JMeter, 2nd Edition Test web applications using Apache JMeter with practical, hands-on examples

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784394813
Length 164 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

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 evolve over time, you'll often have several thread groups contained within a test plan. This option allows you determine how they run. By default, all thread groups are set to run concurrently. A useful option when getting started is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime