Search icon CANCEL
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
Master Apache JMeter - From Load Testing to DevOps

You're reading from   Master Apache JMeter - From Load Testing to DevOps Master performance testing with JMeter

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher
ISBN-13 9781839217647
Length 468 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Bruno Demion (Milamber) Bruno Demion (Milamber)
Author Profile Icon Bruno Demion (Milamber)
Bruno Demion (Milamber)
Antonio Gomes Rodrigues Antonio Gomes Rodrigues
Author Profile Icon Antonio Gomes Rodrigues
Antonio Gomes Rodrigues
Philippe Mouawad Philippe Mouawad
Author Profile Icon Philippe Mouawad
Philippe Mouawad
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

About the Book 1. Quick Start with JMeter FREE CHAPTER 2. JMeter Overview 3. Designing a Test Case 4. Important Concepts in JMeter 5. Preparing the Test Environment (Injectors and Tested Systems) 6. Being Productive with JMeter 7. Load Testing a Website 8. Load Testing Web Services 9. Load Testing a Database Server 10. Load Testing Message-Oriented Middleware (MOM) via JMS 11. Performing a Load Test 12. Visualizing and Analyzing the Load Testing Results 13. Integration of JMeter in the DevOps Tool Chain

Structure of a Test Case

A test case can be divided into three parts.

Figure 3.25: Structure of a test case

Ramp-Up

A load test often has a so-called "ramp-up" period.

This period corresponds to the gradual arrival of virtual users on the target system.

A warm-up period allows both the target server and the injectors to:

  • Warm up the just in time (JIT) compiler of the java virtual machine (JVM) injectors
  • Warm up the JIT of the (JVM)/common language runtime (CLR) of the tested application
  • Retrieve/initiate resources (database connections, brokers queues, and so on)
  • Fill caches
  • Initiate the mechanism of autoscaling
  • Distribute loads in a uniform manner (load balancer and so on) and so on

Ramp-up is configured with the Thread Group parameters.

Figure 3.26: Ramp-Up

The arrival rate of users is calculated as follows:

  • The ramp-up time divided by the number of units (VUs)

Example for 300 seconds duration with 100 users:

  • Frequency...
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