
- 166 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Performance Testing with JMeter 3 - Third Edition
About this book
A practical guide to help you undertand the ability of Apache jMeter to load and performance test various server types in a more efficient way.About This Book• Use jMeter to create and run tests to improve the performance of your webpages and applications• Learn to build a test plan for your websites and analyze the results• Unleash the power of various features and changes introduced in Apache jMeter 3.0Who This Book Is ForThis book is for software professionals who want to understand and improve the performance of their applications with Apache jMeter.What You Will Learn• See why performance testing is necessary and learn how to set up JMeter• Record and test with JMeter• Handle various form inputs in JMeter and parse results during testing• Manage user sessions in web applications in the context of a JMeter test• Monitor JMeter results in real time• Perform distributed testing with JMeter• Get acquainted with helpful tips and best practices for working with JMeterIn DetailJMeter is a Java application designed to load and test performance for web application. JMeter extends to improve the functioning of various other static and dynamic resources. This book is a great starting point to learn about JMeter. It covers the new features introduced with JMeter 3 and enables you to dive deep into the new techniques needed for measuring your website performance.The book starts with the basics of performance testing and guides you through recording your first test scenario, before diving deeper into JMeter. You will also learn how to configure JMeter and browsers to help record test plans.Moving on, you will learn how to capture form submission in JMeter, dive into managing sessions with JMeter and see how to leverage some of the components provided by JMeter to handle web application HTTP sessions. You will also learn how JMeter can help monitor tests in real-time.Further, you will go in depth into distributed testing and see how to leverage the capabilities of JMeter to accomplish this. You will get acquainted with some tips and best practices with regard to performance testing. By the end of the book, you will have learned how to take full advantage of the real power behind Apache JMeter.Style and approachThe book is a practical guide starting with introducing the readers to the importance of automated testing. It will then be a beginner's journey from getting introduced to Apache jMeter to an in-detail discussion of more advanced features and possibilities with it.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Helpful Tips - Part 1
Dummy Sampler
- Open JMeter.
- From the menu bar, click on Options | Plugin Manager.
- Click the Available Plugins tab from the JMeter Plugins Manager pop-up window.
- Check the Dummy Sampler checkbox.
- Click the Apply Changes and Restart JMeter button at the bottom right corner.
- Add a Thread Group element to the test plan by right-clicking on Test Plan and navigating to Threads | Thread Group.
- Add a Dummy Sampler element by right-clicking on Thread Group and navigating to Add | Sampler | jp@gc - Dummy Sampler. For the contents of the Response Data, add the following HTML snippet:
<html> <head> <title>Welcome to Debug Sampler</title> </head> <body> This is a test </body> </html>
- Add a View Results Tree listener by right-clicking on Thread Group and navigating to Add | Listener | View Results Tree.
- Save the test plan.
- Execute the test:

Debug Sampler

JDBC Request Sampler
Setting up the H2 database
- Download a distribution from http://www.h2database.com/html/download.html.
- Extract the archive to a location of your choice. We will refer to this as H2_HOME.
- From the command line, go to the H2_HOME/bin folder.
- Start the H2 database server by issuing either of these commands:
-
- On Unix, issue the following:
./h2.sh
-
- On Windows, issue th...
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Preface
- Performance Testing Fundamentals
- Recording Your First Test
- Submitting Forms
- Managing Sessions
- Monitoring Tests in Real-Time
- Distributed Testing
- Helpful Tips - Part 1
- Helpful Tips - Part 2
Frequently asked questions
- 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.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app