Book description
70 insightful and practical recipes to help you successfully use Apache JMeter
In Detail
Performance testing is critical to the success of any software product launch and continued scalability. No matter the size of the user base of an application, it is crucial to deliver the best user experience to consumers. Apache JMeter is an excellent testing tool that provides an insight on how applications might behave under load, allowing organizations to focus on making adequate preparations for the delivery of quality, robust, and foolproof applications to stakeholders.
This hands-on guide will equip you with the all the skills you need to effectively use JMeter to test web applications and supporting services. With over 50 carefully selected recipes, you will learn how to take full advantage of JMeter for all your testing needs, overcome any challenges you face, and optimize the knowledge you already have.
What You Will Learn
- Numerous ways to record test plans or handcraft them from scratch
- Successfully test supporting application services and resources such as RESTful, SOAP, JMS, FTP, and data stores
- Effectively monitor application and infrastructure resources during a performance test
- Use existing cloud services for distributed testing and rolling your own cloud infrastructure when needed
- Develop custom JMeter plugins from scratch and use existing ones to extend JMeter's functionality
- Deliver quality products by successfully integrating JMeter into your continuous delivery workflow
- Tune JMeter for better overall performance
- Build realistic, comprehensive, and maintainable test plans
Table of contents
-
JMeter Cookbook
- Table of Contents
- JMeter Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. JMeter Fundamentals
- Introduction
- Executing a test script
- Recording a script via HTTP(S) Test Script Recorder
- Recording scripts via the Chrome browser extension
- Converting HTTP web archives (HAR) to JMeter test plans
- Viewing and analyzing test results
- Feeding data into a script
- Using timers
- Managing HTTP user sessions
- Testing Single Page Applications (SPAs)
- Testing AJAX-centric applications
-
2. Handling Responses
- Introduction
- Using Regular Expression Extractor
- Using Regular Expression Tester
- Using CSS/jQuery Extractor
- Using XPath Extractor
- Dealing with file downloads
- Handling XML responses
- Handling JSON responses
- Handling HTML responses
- Using Response Assertion
- Using Duration Assertion
- Uploading files with your scripts
- 3. Building Robust Test Plans with Controllers
- 4. Testing Services
- 5. Diving into Distributed Testing
- 6. Extending JMeter
- 7. Building, Debugging, and Analyzing the Results of Test Plans
-
8. Beyond the Basics
- Introduction
- Continuous Integration with JMeter
- Testing with different bandwidths
- Using the HTTP Cache Manager component
- Using script languages within test plans
- Writing Test scripts through Ruby DSL
- Understanding JMeter properties
- Monitoring servers while executing tests (using VisualVM)
- Monitoring servers while executing tests (using YourKit Profiler)
- Monitoring servers while executing tests (using New Relic)
- Performance tips to scale JMeter
- A. Installing the Supporting Software Needed for this Book
- Index
Product information
- Title: JMeter Cookbook
- Author(s):
- Release date: October 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783988280
You might also like
video
Mastering JMeter 5.0
JMeter has become an industry-standard tool for conducting functional, load, performance, and regression tests on web …
book
Performance Testing with JMeter - Second Edition
Test web applications using Apache JMeter with practical, hands-on examples In Detail This book is a …
book
Pro Apache JMeter: Web Application Performance Testing
Quickly ramp up your practical knowledge of Apache JMeter for software performance testing and focus on …
book
Performance Testing with JMeter 3 - Third Edition
A practical guide to help you undertand the ability of Apache jMeter to load and performance …