Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

A practical beginner's guide to automated testing and performance measurement for your websites

  • 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

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.

Learn to load-test your website, test its functional behaviour, and measure its performance by implementing the features of Jmeter.

Subscriber Reviews

Average Rating: 2 out of 5 rating Based on 2 Ratings

"Not especially useful" - by Pavel on 11-JUN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Very short, better than the online docs but not much in the way of advanced usage.
Report as Inappropriate

"Pretty light on details" - by CaptRespect on 12-MAY-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
There isn't a whole lot to jmeter, but there is even less to this book.  With the exception of the web proxy stuff, everything in this book can be easily gleaned from the jmeter docs.

Maybe the book is just outdated for 2011, but
I was hoping for more details on jmeter's scripting capiblities and some examples of how to work with beanshell or javascript in jmeter.  It also doesn't go over any of the jmeter property funtions which are pretty confusing.

Even the content on what to test is pretty light.  Some guidelines what a good load is for a webserver would have been good, especially since it is so easy to overwhelm a server with jmeter.

Report as Inappropriate

Table of Contents

 Index