Book Image

JMeter Cookbook

By : Bayo Erinle
Book Image

JMeter Cookbook

By: Bayo Erinle

Overview of this book

Table of Contents (16 chapters)
JMeter Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Performance tips to scale JMeter


When you need to simulate a large load in test runs—for instance, more than a couple of hundred users—it is important to follow certain measures to ensure you get the best out of JMeter. Though there is no one-size-fits-all approach to determine how much load can be put on a certain machine, as this depends on the type of application, network settings, machine resources, and several other factors, we can still adhere to certain guidelines to get the most out of JMeter regardless of the nature of your tests or applications under test.

How to do it…

In this recipe, we will point out some guidelines that will help you get more performance out of JMeter. Perform the following steps:

  1. You need to know the approximate capacity/load for machine(s) which use to perform your tests can handle for a given application under tests:

    • A machine with 4GB RAM and a quad-core 2.4 GHz processor, running JMeter with 1GB of heap, can usually run 200-250 users before starting to deteriorate...