Performance Testing with JMeter 2.9


Performance Testing with JMeter 2.9
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.39
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Create realistic and maintainable scripts for web applications
  • Use various JMeter components to achieve testing goals
  • Removal of unnecessary errors and code compilation
  • Acquire skills that will enable you to leverage the cloud for distributed testing
  • Effectively monitor server resources during performance testing
  • Extend JMeter functionality by installing plugins

Book Details

Language : English
Paperback : 148 pages [ 235mm x 191mm ]
Release Date : July 2013
ISBN : 1782165843
ISBN 13 : 9781782165842
Author(s) : Bayo Erinle
Topics and Technologies : All Books, App Testing, Application Development, Java, Open Source

Table of Contents

Preface
Chapter 1: Performance Testing Fundamentals
Chapter 2: Recording Your First Test
Chapter 3: Submitting Forms
Chapter 4: Managing Sessions
Chapter 5: Resource Monitoring
Chapter 6: Distributed Testing
Chapter 7: Helpful Tips
Index
  • Chapter 1: Performance Testing Fundamentals
    • The incident
    • The aftermath
    • Performance testing
    • Performance testing and tuning
      • Baselines
      • Load and stress testing
    • JMeter to the rescue
    • Up and running with JMeter
      • Installation
        • Installing the Java JDK
        • Setting JAVA_HOME
        • Running JMeter
        • Tracking errors during test execution
        • Configuring JMeter
    • Summary
    • Chapter 2: Recording Your First Test
      • Configuring the JMeter HTTP proxy server
      • Setting up your browser to use the proxy server
        • Using a browser extension
        • Changing the system settings
        • Running your first recorded scenario
      • Anatomy of a JMeter test
        • Test Plan
        • Thread Groups
        • Controllers
        • Samplers
        • Logic controllers
        • Test fragments
        • Listeners
        • Timers
        • Assertions
        • Configuration elements
        • Pre-processor and post-processor elements
      • Summary
      • Chapter 3: Submitting Forms
        • Capturing simple forms
          • Handling checkboxes
          • Handling radio buttons
          • Handling file uploads
          • Handling file downloads
          • Posting JSON data
          • Reading JSON data
            • Using the BSF PostProcessor
          • Handling the XML response
        • Summary
          • Chapter 5: Resource Monitoring
            • Basic server monitoring
              • Setting up Apache Tomcat Server
                • Configuring Tomcat users
                • Setting up a monitor controller in JMeter
            • Monitoring the server with a JMeter plugin
              • Installing the plugins
              • Adding monitor listeners to the test plan
            • Summary
            • Chapter 6: Distributed Testing
              • Remote testing with JMeter
                • Configuring JMeter slave nodes
                  • Configuring one slave per machine
                  • Configuring the master node to be tested against one slave per machine
                  • Configuring multiple slave nodes on a single box
                  • Configuring the master node to be tested against multiple slave nodes on a single box
              • Leveraging the cloud for distributed testing
                • Obtaining your access key, secret key, and key pair
                • Launching an AWS instance
                • Executing the test plan
                • Viewing the results from the virtual machines
              • Summary
              • Chapter 7: Helpful Tips
                • JMeter properties and variables
                • JMeter functions
                • The Regular Expression tester
                • The Debug sampler
                • Using timers in your test plan
                  • The Constant timer
                  • The Gaussian random timer
                  • The Uniform random timer
                  • The Constant throughput timer
                  • The Synchronizing timer
                  • The Poisson random timer
                • The JDBC Request sampler
                  • Setting up an H2 database
                  • Configuring a JDBC Connection Configuration component
                  • Adding a JDBC Request sampler
                • A Dummy sampler
                • The JSON Path Extractor element
                • Handling RESTful web services
                • Summary

                Bayo Erinle

                Bayo Erinle is an author, software craftsman, technology enthusiast, and senior software engineer with over ten years experience in designing, developing, testing, and architecting software. He has worked in various spectrums of the IT field, including government, finance, and health care. As a result, he has been involved in the planning, development, implementation, integration, and testing of numerous applications, including multi-tiered, standalone, distributed, and cloud-based applications. He is always intrigued by new technology and enjoys learning new things. He currently resides in Maryland, US, and when he is not hacking away at some new technology, he enjoys spending time with his wife, Nimota, and their three children, Mayowa, Durotimi, and Fisayo.

                Code Downloads

                Download the code and support files for this book.


                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sample chapters

                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                Frequently bought together

                Performance Testing with JMeter 2.9 +    Getting Started with Oracle WebLogic Server 12c: Developer’s Guide =
                50% Off
                the second eBook
                Price for both: €31.60

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                What you will learn from this book

                • Set up and prepare Apache JMeter for testing
                • Record test scenarios or create them from scratch
                • Test RESTful web services
                • Effectively monitor resources during a performance test
                • Maintain and manage user sessions
                • Distributed testing using Vagrant, Puppet, and AWS
                • Extend JMeter functionality through plugins
                • Understand and effectively use JMeter components to achieve testing needs
                • Build realistic, comprehensive, and maintainable test plans
                • Capture form submissions and appropriate handle server responses

                In Detail

                Performance testing with JMeter 2.9 is critical to the success of any software product launch and continued scalability. Irrespective of the size of the application’s user base, it’s vital to deliver the best user experience to consumers. Apache JMeter is an excellent testing tool that provides an insight into how applications might behave under load enabling organizations to focus on making adequate preparations.

                Performance Testing with JMeter 2.9 is a practical, hands-on guide that equips you with all the essential skills needed to effectively use JMeter to test web applications using a number of clear and practical step-by-step guides. It allows you take full advantage of the real power behind Apache JMeter, quickly taking you from novice to master.

                Performance Testing with JMeter 2.9 begins with the fundamentals of performance testing and gets you acquainted with JMeter. It will guide you through recording realistic and maintainable scripts.

                You will acquire new skills working with tools such as Vagrant, Puppet, and AWS, allowing you to leverage the cloud to aid in distributed testing. You will learn how to do some BeanShell scripting and take advantage of regular expressions, JMeter properties, and extension points to build comprehensive and robust test suites. Also, you will learn how to test RESTful web services, deal with XML, JSON, file downloads/uploads, and much more. Topics like resource monitoring, distributed testing, managing sessions, and extending JMeter are also covered.

                Performance Testing with JMeter 2.9 will teach you all you need to know to take full advantage of JMeter for testing web applications, dazzle your co-workers, and impress your boss! You will go from novice to pro in no time.

                Approach

                Performance Testing With JMeter 2.9 is a standard tutorial that will help you polish your fundamentals, guide you through various advanced topics, and along the process help you learn new tools and skills.

                Who this book is for

                This book is for developers, quality assurance engineers, testers, and test managers new to Apache JMeter, or those who are looking to get a good grounding in how to effectively use and become proficient with it. No prior testing experience is required.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Resources
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software