JMeter Cookbook
eBook - ePub

JMeter Cookbook

  1. 228 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

JMeter Cookbook

About this book

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.

Trusted byĀ 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Year
2014
Edition
1
eBook ISBN
9781783988280

JMeter Cookbook


Table of Contents

JMeter Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. JMeter Fundamentals
Introduction
Executing a test script
How to do it…
How it works…
There's more…
An example of running in non-GUI mode
Recording a script via HTTP(S) Test Script Recorder
How to do it…
How it works…
There's more…
Changing the machine system settings
See also
Recording scripts via the Chrome browser extension
How to do it…
How it works…
There's more…
Converting HTTP web archives (HAR) to JMeter test plans
How to do it…
How it works…
There's more…
Viewing and analyzing test results
How to do it…
How it works…
There's more…
Feeding data into a script
How to do it…
How it works…
There's more…
Using timers
How to do it…
How it works…
There's more…
Managing HTTP user sessions
How to do it…
How it works…
There's more…
Testing Single Page Applications (SPAs)
How to do it…
How it works…
There's more…
Testing AJAX-centric applications
How to do it…
How it works…
There's more...
2. Handling Responses
Introduction
Using Regular Expression Extractor
How to do it…
How it works…
There's more…
Using Regular Expression Tester
How to do it…
How it works…
There's more…
Using CSS/jQuery Extractor
How to do it…
How it works…
There's more…
Using XPath Extractor
How to do it…
How it works…
There's more…
Dealing with file downloads
How to do it…
How it works…
There's more…
Handling XML responses
How to do it…
How it works…
There's more…
Handling JSON responses
How to do it…
How it works…
There's more…
Handling HTML responses
How to do it…
How it works…
There's more…
See also
Using Response Assertion
How to do it…
How it works…
There's more…
Using Duration Assertion
How to do it…
How it works…
There's more…
Uploading files with your scripts
How to do it…
How it works…
There's more…
3. Building Robust Test Plans with Controllers
Introduction
Using Transaction Controller in test plans
How to do it…
How it works…
There's more…
Using Loop Controller in test plans
How to do it…
How it works…
There's more…
See also
Leveraging ForEach Controller in test plans
How to do it…
How it works…
There's more…
See also
Using Interleave and Random Controller in test plans
How to do it…
How it works…
There's more…
Using Runtime Controller in test plans
How to do it…
How it works…
There's more…
4. Testing Services
Introduction
Testing REST web services
How to do it…
How it works…
There's more…
See also
Testing SOAP web services
How to do it…
How it works…
There's more…
See also
Testing FTP services
How to do it…
How it works…
There's more…
Testing relational databases
How to do it…
How it works…
There's more…
Testing NoSQL databases
How to do it…
How it works…
There's more…
See also
Testing JMS services
How to do it…
How it works…
There's more…
See also
5. Diving into Distributed Testing
Introduction
Testing applications with JMeter's master-slave setup
How to do it…
How it works…
There's more…
See also
Testing internal applications using JMeter and Vagrant
How to do it…
How it works…
There's more...
Testing external facing applications using JMeter, Vagrant, and AWS
How to do it…
How it works…
There's more…
Testing external facing applications using Flood.IO
How to do it…
How it works…
There's more…
See also
Testing external facing applications using BlazeMeter
How to do it…
How it works…
There's more…
See also
6. Extending JMeter
Introduction
Using REST Sampler
How to do it…
How it works…
There's more…
See also
Using Ultimate Thread Group
How to do it…
How it works…
See also
Using Throughput Shaping Timer
How to do it…
How it works…
See also
Using Console Status Logger
How to do it…
How it works…
Using Dummy Sampler
How to do it…
How it works…
There's more…
Developing custom JMeter plugins
How to do it…
How it works…
There's more…
See also
Testing WebSocket-enabled applications
How to do it…
How it works…
There's more…
See also
7. Building, Debugging, and Analyzing the Results of Test Plans
Introduction
Using the View Results Tree listener
How to do it…
How it works…
There's more…
See also
Using the Aggregate Report listener
How to do it…
How it works…
See also
Debugging with Debug Sampler
How to do it…
How it works…
Us...

Table of contents

  1. JMeter Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access JMeter Cookbook by Bayo Erinle in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.