Mastering JMeter 5.0

Video description

JMeter has become an industry-standard tool for conducting functional, load, performance, and regression tests on web applications. It scales web development by helping you measure and analyze application performance.

In this course, you’ll learn to invoke key features of the latest version of this testing tool to achieve peak performance for your web applications, all the while improving the testing team’s productivity by developing realistic and scalable test plans and automation.

You'll start by mastering assertion types and scripts. Then you'll immerse yourself in the world of logic controllers and apply them to scripting. You'll get to grips with samplers, which help you send a request to the web server. You'll learn advanced scripting, work with test controllers, design test plans, and much more.

By the end of this course, you will be able to use JMeter 5.0 for performance and load testing.

What You Will Learn

  • Understand various types of assertion and master assertion scripts
  • Learn and implement various logic controllers to make your scripts robust and efficient
  • Understand how to use a range of samplers to send requests to the web server under test
  • Integrate JMeter with Selenium to extend the web testing capabilities in your workplace
  • Discover advanced scripting in Java with Beanshell for JMeter
  • Build scalable and maintainable test plans
  • Understand master-slave configurations and the importance of the client-server architecture
  • Automate web performance testing by utilizing JMeter s non-GUI mode
  • Employ Blazemeter to extend your JMeter scripts on the cloud
  • Monitor and understand performance metrics by analyzing test reports

Audience

This course is ideal for intermediate-to-experienced testers who want to take their performance testing skills up a notch. The course also provides a good implementation guide for advanced testers keen to integrate JMeter with other testing tools such as Selenium.

Working knowledge of JMeter is assumed.

About The Author

Afsana Atar: Afsana Atar is an accomplished test engineer with over 10 years' extensive experience in software testing. She extends her thought leadership to teams in a variety of domains from digital advertising, education, and healthcare to financial sectors, including banking, insurance, and trading.

She has worked for various organizations including Google, IBM, Principal Financial Group, and The Children’s Hospital of Philadelphia. Currently, she works for Susquehanna International Group, a financial trading firm.

Afsana is a Certified Scrum Master (CSM), an Agile scrum practitioner, and part of the scrum alliance community. She has managed and worked on projects worth over a million dollars in various capacities ranging from Quality Assurance Engineer to QA Manager. She believes in sharing her experiences with the testing community to help foster greater learning and innovation.

Table of contents

  1. Chapter 1 : Basic Scripting - Assertions
    1. The Course Overview
    2. Duration and Size Assertions
    3. HTML Assertions
    4. XML and XML Schema Assertions
    5. Response Assertion
    6. XPath and JSON Assertions
    7. JSR223 Assertions
  2. Chapter 2 : Intermediate Scripting - Logic Controllers
    1. Simple, Once Only, and Loop Controllers
    2. Random and Random Order Controllers
    3. Interleave Controller
    4. Throughput Controller
    5. Runtime Controller
    6. If and While Controllers
    7. Switch, Module, and Include Controllers
    8. ForEach Controller with Regular Expression Extractor
    9. ForEach Controller with XPath Extractor
    10. Recording Controller
  3. Chapter 3 : Sampler (Requests)
    1. SMTP Sampler
    2. SMTP Sampler Script
    3. JDBC Sampler
    4. JDBC Sampler Script
    5. FTP Sampler
    6. OS Process, Debug, and Flow Control Action Sampler
    7. OS Process, Debug and Flow Control Action Sampler - Script
  4. Chapter 4 : Integration of Selenium with JMeter
    1. Selenium Integrating with JMeter
    2. Integrating with Selenium WebDriver - Script
    3. Setting Up JUnit Test Cases into JMeter
    4. Integrating with Selenium WebDriver Using JUnit Sampler
    5. WebDriver Set Sampler - Extending WebDriver Browser Based Test
    6. WebDriver Set Sampler - Script
    7. Selenium JMeter Test Case Example – HTMLUnit Driver
  5. Chapter 5 : Advanced Scripting
    1. BeanShell Scripting Basics and Variables
    2. Advanced Post and PreProcessors
    3. BeanShell PostProcessor
    4. BeanShell PreProcessor
    5. Generating Dynamic Values with BeanShell Sampler
  6. Chapter 6 : Overview of Test Controller
    1. Listeners
    2. The View Results Tree
    3. Aggregate Report
  7. Chapter 7 : Designing Test Plan
    1. Workload Designing
    2. Script Validation
    3. The Baseline Test
    4. Master Slave Configuration
    5. Importance of Client Server Architecture Mechanism
    6. Step-by-Step Example to Run Tests on Slave from Client Machine
  8. Chapter 8 : JMeter Validations in Non-GUI Mode Testing
    1. Commands to Run Tests on Non-GUI Mode
    2. Monitoring Results in Non-GUI Execution
    3. Test Executing Using Taurus
  9. Chapter 9 : Execution and Reporting
    1. Monitoring Tests
    2. Test Results Collaboration
    3. Test Results Analysis
    4. Test Execution in the GUI Mode

Product information

  • Title: Mastering JMeter 5.0
  • Author(s): Afsana Atar
  • Release date: June 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781838640880