
What is Performance Testing?
Why do Performance Testing?
Types of Performance Testing
Common Performance Problems
Performance Testing Process
Performance Testing Metrics: Parameters Monitored
Example Performance Test Cases
Performance Test Tools
Introduction & Usage of JMeter
Step 1 - Start Jmeter
Step 2 - Create a TestPlan
Step 3 - Create a Thread Group (Users)
Step 4 - Add a Sampler (Http)
Step 5 - Add Listeners
Step 6 – Run Test Plan
Step7 – Save Test Plan
1.Response Assertion
2.Duration Assertion
3.Size Assertion
4.HTML Assertion
5.XML Assertion
6.XML Schema Assertion
7.XPATH Assertion
8.JSON Assertion
1.View Results in Table
2.View Results Tree
3.Graph Results
4.Aggregate Report
5.Aggregate Graph
6.Summary Report
7.Simple Data Writer
Constant Timer
Uniform Random Timer
Gaussian Random Timer
BeanShell Timer
BSF Timer
JSR223 Timer
Logic Controllers - Loop Controller
Simple Controller
Modular Controller
Test Fragment
Include Controller
Demo Site:
Registration
http://blazedemo.com/register
Login
http://blazedemo.com/login
Flight Booking
http://blazedemo.com/
Random Controller
Random Order Controller
Demo Site:
Registration
http://blazedemo.com/register
Login
http://blazedemo.com/login
Flight Booking
http://blazedemo.com/
Logic Controllers - Interleave Controller
Logic Controllers- Throughput Controller (Build a Distributed Load Test)
Step1: Add Oracle JDBC driver jar to JMeter lib folder then restart JMeter
Step2: Add Thread Group in JMeter
Step 3 - Add JDBC Connection Configuration | Provide the details of our DB
Step 4 - Add JDBC Request
Step 5 - Add Listeners
Step 6 - Run and validate
Step 1 : Create Test Plan and save it (and close)
Step 2 : Open command line and change dir to jmeter/bin
Step 3 : Execute command:
– To create report at the end of the test
jmeter -n -t “location of the jmeter script” -l “location of result file” -e -o “location of the output folder”
– Create report from a standalone csv file
jmeter -g “location of csv file” -o “location of output folder”
Step 4 : Analyse HTML (Dashboard) Reports
Sample FTP website : https://dlptest.com/ftp-test/
Step 1 : Add a FTP Request Sampler
Step 2 : Add FTP connection parameters
FTP URL: ftp.dlptest.com
FTP User: dlpuser@dlptest.com
Password: 5p2tvn92R0di8FdiLCfzeeT0b
Step 3 : Test a FTP GET and validate (get file from ftp server to local system)
Step 4 : Test a FTP PUT and validate (transfer file from local to ftp server)
(WinSCP client is used in this demo for physical validation of file transfer.
You can use other FTP clients like FileZilla..)
Course Introduction: Mastering JMeter for Performance and API Testing
Welcome to our comprehensive course on JMeter, the most popular and open-source performance testing tool in the industry. Whether you are a beginner looking to understand the fundamentals or an experienced tester aiming to enhance your skills, this course is designed to take you through the ins and outs of JMeter, empowering you to conduct efficient performance testing and API testing for personal and enterprise projects.
Course Contents:
1) Overview on Performance Testing
Introduction to performance testing and its significance
Understanding key concepts and terminology in performance testing
2) Introduction & Usage of JMeter
Exploring the basics of JMeter and its applications
Understanding how JMeter fits into the performance testing landscape
3) How to Install JMeter on Windows
Step-by-step guide to installing JMeter on Windows operating system
4) How to Install JMeter on Mac
Comprehensive installation instructions for JMeter on Mac OS
5) JMeter Elements (Thread Group, Samplers, Listeners & Configuration)
Deep dive into essential JMeter components and their roles in performance testing
6) First JMeter Test
Practical hands-on session creating your first performance test with JMeter
7) Assertions in JMeter
Understanding and implementing assertions for result validation in JMeter tests
8) Listeners in JMeter
Exploring various listeners to analyze and interpret test results effectively
9) Timers in JMeter
Utilizing timers for controlling the pacing and timing of test execution
10) Logic Controllers - Loop Controller - Implementing loop controllers for repetitive test scenarios
11) Logic Controllers - Recording Controller - Capturing and replaying user interactions for realistic load testing scenarios
12) Logic Controllers - Simple, Module & Include Controllers - Managing test structure and modularizing components for reusability
13) Logic Controllers - Random & Random Order Controllers - Introducing randomness to simulate real-world scenarios in tests
14) Logic Controllers - Interleave Controller - Controlling the order of execution to mimic user behavior accurately
15) Logic Controllers - Throughput Controller (Build a Distributed Load Test) - Building distributed load tests for scalability assessment
16) How to Create a JDBC Test Plan (Load Test on Database) - Setting up and executing load tests on databases using JMeter
17) How to Create Assertions for JDBC Test Plan (Load Test on Database) - Validating database responses with assertions for accuracy
18) How to Run JMeter from Command Line (non-GUI mode) & View Results - Executing tests in non-GUI mode for efficiency and result analysis
19) How to Create HTML Reports from Command Line (non-GUI mode) - Generating comprehensive HTML reports for test analysis
20) How to Test FTP Upload and Download (FTP Request Sampler) - In-depth exploration of FTP request sampler for file transfer testing
21) JMeter PreProcessor & PostProcessor - Understanding and using preprocessors and postprocessors for test setup and cleanup
22) JMeter Plugins Manager - Extending JMeter functionality with plugins for enhanced testing capabilities
23) Correlation with Regular Expression Extractor - Mastering correlation techniques for dynamic data handling in tests
24) API Web Services Testing in JMeter - Leveraging JMeter for API testing with practical examples
25) Parameterization/Working with CSV File - Dynamically parametrizing test data for realistic scenarios
26) Functions & Variables - Exploring built-in functions and variables in JMeter for advanced scripting
27) Templates in JMeter - Creating and utilizing templates for efficient test scenario replication
And much more...