Free Sample
+ Collection

Apache JMeter

Emily H. Halili

A practical beginner's guide to automated testing and performance measurement for your websites
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847192950
Paperback140 pages

About This Book

  • Test your website and measure its performance
  • Master the JMeter environment and learn all its features
  • Build test plan for measuring the performance
  • Step-by-step instructions and careful explanations

Who This Book Is For

The ideal readers or users of this book are experienced or novice testers who have been testing manually and now would like to automate their tests. Those testers who are already automating their testing using other tools or testing software may also want to use this book as they look for alternatives. This book would also be a good point for test Managers/Leaders to start doing research on the test automation tool that may best suit their testing needs and of course, their budget

JMeter's target audience is the testing community, which is generally not the hangout of developers or technical people. Almost anything one would like to do in HTTP testing will be supported by JMeter without requiring any programming.

The user need not have much technical knowledge to work with JMeter. It has a simple-to-use and intuitive drag-and-drop style GUI that helps any non-technical user to get started.

Table of Contents

Chapter 1: Automated Testing
Why Automate Testing?
To Automate or Not to Automate—Some Hints
How Much Does it Cost?
Chapter 2: Introduction to JMeter
The Humble Beginning
The Features—What JMeter Can Do for You
The Look-How-Easy-to-Use GUI
The Requirements
Chapter 3: Getting Started
Installing JMeter
Running JMeter
Chapter 4: The Test Plan
What Is a Test Plan?
Elements of a Test Plan
Building a Test Plan That Tests Web Sites
Chapter 5: Load/Performance Testing of Websites
Preparing for Load Testing
Using JMeter Components
Running the Test Plan
Interpreting the Results
Remote Testing with JMeter
Monitoring the Server's Performance
Chapter 6: Functional Testing
Preparing for Functional Testing
Using JMeter Components
Running the Test
Chapter 7: Advanced Features
Extending the Web Test Plan
Testing a Database Server
Testing an FTP Server
Chapter 8: JMeter and Beyond

What You Will Learn

  • Why automating tests is so useful, and how it will help you to improve performance of your web sites and applications
  • Installing, setting up the environment, and running JMeter
  • Planning automated tests to provide a thorough insight into application performance, bottle necks, and load bearing capabilities
  • Building a test plan to test your websites
  • Test web, database, FTP servers and more – so you can get a detailed insight into which parts of your application are holding up performance
  • Build more complex test elements using regular expressions and functions
  • Capture, process, and analyse test results

In Detail

A bad response time on a website can drive away visitors and prospective customers. To measure what a website can handle, there should be a way to simulate and analyze different load scenarios—this is where a load-testing tool like JMeter comes in. JMeter is a powerful desktop performance tool from the Apache Jakarta project, written in Java, for load-testing web pages, web applications, and other static and dynamic resources including databases, files, Servlets, Perl scripts, Java Objects, FTP Servers, and more.

JMeter works by acting as the "client side" of an application, and measures response time. As such, it's one half of the testing arsenal; the other half consists of a tool to watch metrics on the server side, such as thread counts, CPU loads, resource usage, and memory usage. Although it can't behave like a browser to measure rich client-side logic such as JavaScripts or Applets, JMeter certainly measures the performance of the target server from the client's point of view. JMeter is able to capture test results that help you make informed decisions and benchmark your application.

This book introduces you to JMeter (version 2.3) and test automation, providing a step-by-step guide to testing with JMeter. You will learn how to measure the performance of a website using JMeter.

While it discusses test automation generally, the bulk of this book gives specific, vivid, and easy-to-understand walkthroughs of JMeter's testing tools showing what they can do, and when and how to use them.


Read More