
This video helps to get an entire overview of the course.
Familiarize yourself with the duration and size assertions to measure the response time of the server and the size in bytes.
• Add the conditions to validate the actual and expected response time as well as response size
• Understand how to measure the performance based on these conditions
• Explore how to add different conditions as par industry requirements to sampler (request)
Understand how to validate HTML syntax of the server response data using HTML assertion.
• Explore the errors and warning threshold limits
• Learn how to capture the errors in the error text file
• Add conditions to validate the HTML syntax of the response that we have received from the server
Understand if the XML data has the XML document format and how to validate the received response against XML schema.
• Understand if it includes DTD, schema, or any other validation
• Understand the conditions where we need to validate XML and XML schema assertions
• Learn to generate the required files in XSD format and how to use XML files for validation
Understand how to compare the pattern string against the various fields of the received response.
• Understand various section of the response which can be validated
• Learn to specify which section of the response we want to validate and add pattern against it
• Explore different patterns that can be matched against the received response as well as adding various conditions for the validations
Explore ways to validate well-formedness of the document using XPath assertion and to validate JSON document. Example, Boolean expression, and null values with the help of JSON assertion.
• Explain how to add different conditions such as validate XML, ignore whitespaces
• Look at how to validate if the document is in the JSON format
• Understand the use of Tidy (parser tolerant) option and using Invert assertion for JSON validation
Explore ways to validate status of the previous sampler programmatically using Groovy script.
• Learn to add decision flows or advance logic functions using script in JSON assertion
• Explore options to create the code in different programming languages
• Explore with a sample script in Groovy
Understand various ways to control the order of executions of samplers with the help of Simple, Once only and Loop controllers.
• Explore how to use each of these controllers for your test
• Learn how to add conditions in controllers in order to execute as per the requirements
• Study about the include and exclude the patters in samplers (requests)
Explore the usage of Random and Random order controllers with the help of an example.
• Add various conditions to control the order of execution of samplers using these controllers
• Understand the difference between Random and Random order controller
• Explore how to add load on a server using these controllers
Explore how to execute set of operations in sequential manner.
• Learn to set up Interleave controller and add conditions
• Use Interleave controller for multiple iterations in a test plan
• Understand how to read the results of the execution and validate the sampler’s response
Explore how to control execution of the sampler based on the percentage or the total number to the requests that we sent to the server.
• Understand how to add Throughput controller for samplers with the help of an example
• Explore adding different conditions such as total executions and percent executions
• Learn to measure the performance based on the added conditions and the execution results
Understand how to put a load on a server by sending sampler requests for a fixed amount of time using Runtime controller.
• Explore the different parameters available to add the load on the server
• Work around with the adding complexities while increasing user count or number of loops for the execution
• Learn how to read and analyze the results while sampler continues to hit the server with a load
Explore how to add conditions IF and While to decide whether the samplers should get executed infinitely or just once based on the specified conditions.
• Learn to add If condition using a sample expression
• Explore options to add validate not only to the parent sampler but to the children requests as well
• Learn to parameterize test and retrieve values of these variables in If and while controllers
Explore how to use Switch, Module and Include controllers to switch the execution, create a module and to include a specific sampler request during the test plan execution.
• Add different conditions for each of these controllers
• Learn to execute sampler requests with an example of each of these controllers
• Learn to analyze the test execution results based on the added conditions
Understand how to extract a particular pattern from website using Regular Expression Extractor and then use ForEach controller to validate the sampler request for the extracted pattern.
• Learn to use Regular Expression Extractor with the help of an example to extract all the links and use array in the regular expression to validate the data
• See how to add ForEach controller for the samplers and use the extracted pattern to validate the data
• Understand how to analyze the test execution results
Understand how to use XPath Extractor in order to validate XPath of a selected element by adding ForEach controller for the samplers.
• Learn to add XPath expression to validate an element’s XPath
• Understand how BeanShell Listener can be helpful to print the details on the log viewer
• Understand how use ForEach controller in order to execute the samplers (requests) as per the requirements
Understand how to record live actions with the help of Recording controller.
• Understand the prerequisites before recording users’ actions. Example: Setting up browser or adding certifications and so on
• Learn how to setup recording controller, to include or exclude the selected patterns from the recording samplers
• Explore how to start and stop recording, reorganize and execute the recorded sampler requests
Explore an option to configure and setup an SMPT sampler request to mail server to generate an automated email from JMeter.
• Understand how to use SMTP sampler to know the test execution results, specific parameter or variable values
• Explore how to use docker container to setup email server
• Understand how to configure an SMTP sampler with email server and run a sample test
Explore how to extend the functionality of SMTP sampler request that we have learned in the previous video with the help of a sample script.
• Learn to auto generate email for the selected test plan
• Know about the call parameters or variables in the email message or body
• Learn to setup email with the server details and start receiving emails
Learn to setup JDBC sampler request in JMeter to fetch data from MySQL database.
• Add MySQL database in docker container on your local machine
• Create database, table, and insert some data in newly created database
• Learn to Setup JDBC sampler with configuration details to be able to connect to the MySQL database
Understand how configuration works to fetch data from newly created MySQL database in docker container and setup for your sample test.
• Understand how JDBC connection is setup to access the database
• Explore different types of queries that can be executed to retrieve the result from database
• Understand how to view the test execution results
Understand how to upload or download files from FTP server using FTP sampler in JMeter.
• Learn to create FTP server in the docker container
• Learn to configure and setup FTP sampler request
• Explore options to upload and download files to and from an FTP server
Understand how to execute OS commands using OS process sampler. Then understand how to view the values in variables using Debug sampler. And finally understand how to setup a condition based on which you can decide which sampler request to execute.
• Configure all three sampler requests in JMeter
• View add conditions which controls the execution of sampler requests
• See how to analyze test execution results for all three samplers
Understand how to execute OS process, Debug and Flow control Action samplers can be used in your test plan.
• Learn to add a sample script for each of these three samplers
• Look at the way to analyze test execution results
• Understand when to use each of these three samplers in your test plan with the help of an example
Understand what are the prerequisites and dependencies that are needed for Selenium integration with JMeter.
• Understand different components that is required to download
• Install all the required applications, software, and place files in the required location
• Setup environment variables and configuration settings to be able to run the code
Understand how to create a sample JUnit test in Selenium using WebDriver and run a sample test. Then learn how to extract the code as a jar file.
• Create your first JUnit test in Selenium using WebDriver (FirefoxDriver)
• Learn to execute JUnit test and view the test execution result
• See how to export the sample JUnit test as a jar file
Learn to setup environment for JMeter to run the JUnit test, specifically the extracted jar file.
• Configure JUnit sampler
• Understand how access the JUnit class and method from JUnit sampler in JMeter
• Identify the relevant classes and methods and setup to run the code
Understand what libraries are supported by JMeter and what should we add in Selenium JUnit sample test.
• Setup the code and add all the required libraries
• Run a sample test script in JUnit sampler
• Add a load and run the Selenium JUnit test in JUnit sampler
Explore the in-built functionality in JMeter which enables the execution of a WebDriver script using WebDriver sampler.
• Install the plugin manager and then the required plugin for WebDriver sampler
• Create a sample test plan with FireFoxDriver config and set it up for a sample test
• Create a WebDriver sampler and configure it to launch a webpage in browser
Explore an option to extend the functionality and add more complex logic to the script as per the test requirement.
• Understand how we can add more complex logic to the sample WebDriver script
• Access the web elements using the sample WebDriver script and perform some operation
• Understand how to validate the test execution result
Learn how to execute test using headless browser with the help of HTMLUnitDriver.
• Understand how to write a sample script for HTMLUnitDriver in Selenium
• Know how to export the test to be able to run in JUnit
• Learn to setup and run the test in JMeter using JUnit sampler without launching the browser
Learn the basics about BeanShell components in JMeter, implement a simple script and learn to declare variables and retrieve data.
• Study the different components of BeanShell in JMeter
• Learn to declare variables and define user defined variables and retrieve their values
• Define basic script with the help of an example and capture and view the test execution result in the log viewer
Learn about the Post and PreProcessors in BeanShell and their usage. Also learn the execution sequence of BeanShell components, listeners, samplers, and so on in the test plan.
• Explore PreProcessor and its usage
• Explore PostProcessor and its usage
• Understand the test execution sequence when test plan has different components
Explore how to set up a test to execute a sample script after the sampler has been executed and its response has been generated. We will be using that response data to in the BeanShell PostProcessor and learn to validate and capture the test execution results in the file format using BeanShell PostProcessor.
• Learn to add a sample script in BeanShell PostProcessor to retrieve and print the variable values
• Add a condition to match the response from the sampler and validate using the login in BeanShell PostProcessor
• Learn to capture the test execution result in the file so that it can be used for the further analysis
Explore to add conditions using BeanShell PreProcessor based on which it will decide to execute the following sampler request or not.
• Learn to setup BeanShell PreProcessor in test plan
• Add a simple logic which determines whether the following sampler should get executed or not
• Learn to add negative condition to analyze the test execution details
Explore an option to generate values dynamically during the test execution and add some complex logic to use those values in our test to perform certain operations repetitively.
• Learn to record a sample test which uses the variable defined at the test plan level
• Learn to generate dynamic values using BeanShell sampler
• Setup sampler so that it uses the dynamically generated values to perform the test operation as defined
Understand the various reporting features such as visual representation of data, capture the test execution results or errors in the file, logs and so on, provided by JMeter using listeners.
• Understand the role of listeners in JMeter and their types
• Learn how to view test execution results in the visual format as well as in the table format with the help of listeners
• Modify the conditions to view the selected results in the listeners
Explore the listener view results tree and different formats in which you can analyze and view the test execution results. It also gives an option to capture the different parts of the request or the response that has been sent and received to and from the server, respectively.
• Learn to add View Results Tree sampler in test plan
• Learn about the different formats in which the test execution details can be viewed
• Learn about the different parts of the server request or the response data that can be analyzed further
Explore how to view combined test execution results for all the samplers by aggregating it using the aggregate report listener.
• Understand the different between the view results in table vs aggregate report listener
• Understand how to read the results generated by aggregate report listener
• Explore options to write the results in the file format, or filtering it based on the requirements in the JMeter such as view only errors or success samplers and so on
Understand the various components and its organization in our test plan in JMeter. It helps once we have identified test scenarios, we can add preconditions and configure it as per the test conditions/requirements. Understand its role and how it affects our test.
• Understand the usage of different components in JMeter which helps in setting up the preconditions, timers to delay the executions
• Understand the importance of creating a baseline test and the different components that can be added in the test plan
• Understand the usage of assertions, PreProcessors or PostProcessors, to validate or reuse the results in the baseline test
Understand configuration settings that can be added in JMeter and then the execution sequence of its components such as listeners, assertions and so on.
• Understand how to configure test as per the requirements using controller, assertions, samplers and so on
• Understand how to add validations to the test using BeanShell samplers and assertions
• Understand how to validate the test execution results
Get to know about the baseline test and its importance. This video will show the usage of it and help you to create a benchmark by designing, while performing a performance test using JMeter.
• Create a skeleton test plan which acts as the baseline test
• Understand different components that can be added to ensure the test coverage as per the requirements
• Add the validation criteria for the test as per specified in the requirement and run to make sure it generates the result as expected
Understand how the distributed architecture works in JMeter as well as roles of master and slave machines in load distribution and then in testing.
Learn what distributed architecture is and how it works in case of JMeter
Explore different players involved in distributed testing architecture
Get to know how JMeter kicks off the test
Explore how master, slave and the test website are configured and connected in distributed architecture.
Understand how JMeter distributes the load
Study how master, slave and testing website are connected
Understand why we need to distribute the load
Understand the config details to setup distributed test on master and slave machines such as set up SSL for RMI, starting servers, configuring the IP addresses of master and slave machines and so on.
Learn to setup properties file to enable it for distributed testing
Retrieve the IP addresses of required slave machines and start servers on slave and master machines
Check the details in JMeter for slave machines and their IP addresses, select the slave machine and run the test
Understand how to execute JMeter test using command prompt.
Create and run the test in JMeter and check its test execution details
Launch command prompt and navigate to the location, use the command to run the JMeter test
Compare the test execution details
Understand how to capture the test execution results when the test has been executed using the command prompt.
Learn the commands to capture test execution details in the file
Read the test execution details in the JTL file
Covert the file in the more readable format to analyze the data further
Learn how Taurus can be used to design, test, and analyze test execution results.
Understand prerequisites such as installation and setting up the Taurus
Create a YAML script to run the test
Understand the commands to run the test and analyze the test results in Taurus
Understand how Taurus is helpful in monitoring and capturing the test execution and how to view the test execution details in the command prompt as well as in the Taurus window.
Create a YAML script for JMeter test. Modify the test in the JMX file as per the requirement
Use the command in Taurus to execute the YAML file for the JMeter test
Check the test execution details on the Taurus window and monitor the performance as it starts putting the load on the server
Explore an option to execute multiple JMeter scripts using Taurus.
Create a YAML file for multiple tests to run the scripts simultaneously and modify JMX files as per the test needs
Run the YAML file from the Taurus
Verify the test execution details on the command prompt as well as on the Taurus window
Understand the option in Blazemeter to analyze the test execution results.
Create YAML file and modify the JMX files as per the test needs
Learn the commands to run the test and view the results in the graphical format
Analyze the test execution results in the Taurus window as well as in Blazemeter in the visual format
Understand an option provided Taurus to view the test execution results in non-GUI as well as in GUI mode i.e. in Taurus window, JMeter and Blazemeter also view the logs.
Modify the YAML and JMX files as per the test needs, and run it from the Taurus
Understand how its connected to the JMeter and run the test from JMeter
Check the test execution details in JMeter, Taurus window, Blazemeter on the command prompt and log file
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.
About the Author
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.