JMeter Full Course Masterclass | Step by Step for Beginners | Raghav Pal |
Automation Step by Step Automation Step by Step
511K subscribers
946,423 views
0

 Published On Feb 9, 2021

https://automationstepbystep.com/
QUIZ - https://forms.gle/XnwhyWNdUsg4giZ36
00:00 Introduction
00:51 What is JMeter
02:56 Download & Setup (Windows|Mac)
10:06 GUI Overview
18:36 1st JMeter Test
28:58 Listeners
45:20 Assertions
58:46 HTTP Test Script Recorder

01:13:03 How to use Recording Templates
01:14:49 Blazemeter Recorder
01:23:41 Getting data from CSV file
01:35:49 Config Elements - HTTP Web Test
01:47:49 JMeter Config Elements
01:58:30 Command Line
02:10:41 HTML Reports from CMD & GUI
02:32:43 JMeter’s Plugin Manager
02:42:05 REST API Testing in JMeter
03:00:30 SOAP API Testing in JMeter
03:18:26 How to record API in JMeter - https://bit.ly/3ha5kPu
03:18:28 Functions and Variables

03:28:47 Message from Raghav

03:29:28 Interview FAQs

03:29:33 JMeter history
03:29:37 What is JMeter
03:29:44 Who created JMeter - stefano mazzocchi
03:29:52 How JMeter works
03:29:58 What is Thread Group
03:30:07 What is Sampler
03:30:14 Execution order of JMeter components
03:30:23 What is Listener
03:30:29 What is Assertion
03:30:35 What is Distributed Load Testing
03:30:41 How to manage resource requirements, out of memory issues in JMeter
03:30:50 What is the max user load or threads JMeter can handle
03:30:56 What is Co-relation in JMeter
03:31:00 How to manage cache and cookies in JMeter
03:31:06 What are Timers in JMeter

#jmeterbeginnertutorials
FREE - https://automationstepbystep.com/

NOTES

What is JMeter

Performance test application
Build using Java
Free & Open Source
Recording
CLI
Reports

How to install JMeter
Windows | Mac | Linux

1 Check java is installed on your system
java -version
2 Download JMeter
3 Unzip and keep Jmeter folder at any locatio
4 Start JMeter
Windows - jmeter/bin - jmeter.bat
| Mac - open terminal - jmeter/bin - sh jmeter.sh

JMeter GUI Overview

How to create first Jmeter Test

1 Start JMeter
2 Create a TestPlan
3 Create a Thread Group (Users)
4 Add a Sampler (Http)
5 Add Listeners
6 Run the Test

JMeter Listeners (Reporting)
Used for Reporting

listener = elements that gather information about the performance test
used to view results/metrics of the test

Latency = time to first byte

0ms—————————1000ms—————————2000ms
0ms —————————————————————— 2000 ms

1 View Results in Table
2 View Results Tree
3 Aggregate Report
4 Graph Results
5 Summary Report
6 Simple Data Writer

Assertions
Assertions = checks on the Request/Response

1 Response Assertion
2 Duration Assertion
3 Size Assertion
4 HTML Assertion
5 XML JSON Assertion
6 XPATH Assertion

JMeter HTTP(s) Test Script Recorder
What
Why
When
How

How to record your test on JMeter
How to add & use Test Script Recorder
How to add & use Recording Controller
How to use proxy on Firefox, Chrome and System
How to add SSL Certificate
How to do Request Filtering
How to use Recording Template

How to use Blazemeter to Record JMeter Tests

1 Create Blazemeter Account
2 Get Blazemeter Extension
3 Login to Blazemeter
4 Record test
5 Save JMX
6 Add JMX in JMeter and Run

JMeter - How to get data from CSV File
Config Element - CSV Data Set Config

1 Add CSV Data Set Config
2 Create a csv file and add data
3 Refer the csv file in JMeter’s csv data set config
4 Refer values from csv file using syntax ${variableName}
5 Run and validate

JMeter Config Elements - for HTTP (Web Test Plan)
Elements that are executed before the sampler requests at the same level
Configuration elements can be used to set up defaults and variables for later use by samplers. Note that these elements are processed at the start of the scope in which they are found, i.e. before any samplers in the same scope

Demo app - https://opensource-demo.orangehrmlive...

How to run JMeter from command line
GUI consumes memory, slower
integrate with any external process CI CD

How to run JMeter test from command line
How to log results
How to see command line help and options
How to run from any location on your system (add in Path env variables)

Step 1 - Open Command line > Goto JMeter’s bin folder
Run command

Windows
jmeter -n -t “location of your test file” -l “location of results file”

Linux / Mac
sh jmeter -n -t “location of your test file” -l “location of results file”

How to extend JMeter | JMeter Plugins Manager

Easy & Quick way to:
Find plugins
Install
Uninstall
Upgrade

Plugins - https://jmeter-plugins.org/wiki/Start/

1: Download plugins manager jar from https://jmeter-plugins.org/wiki/Plugi...
2: Add the jar file in jmeter lib/ext folder and restart JMeter
3: Check JMeter plugins manager is added

Functions & Variables
What are functions
What are variables
How to use functions and variables

Functions - methods used to populate fields in any other element of test plan

Syntax
${__funcName}
${__funcName(var1, var2, ….)}

Variables - containers that can store values, which can be referred in any element within a thread
${varName}

Never Stop Learning
Raghav Pal
https://automationstepbystep.com/

show more

Share/Embed