JMeter Top most asked Interview Questions | JMeter refresher by Raghav Pal |

Automation Step by Step March 1, 2022
Video Thumbnail
Automation Step by Step Logo

Automation Step by Step

@raghavpal

About

Simple Basic Beginners Step-by-Step tutorials ❤️ I create videos on Automation, Testing, DevOps, CI and related tools, technologies and platform Raghav is a teacher and founder of AutomationStepByStep.com He was an Automation Architect and has led multiple teams of Automation and DevOps Engineers. For over a decade, Raghav witnessed, worked, and delivered multiple Automation Testing Projects and worked with some awesome people in this industry ► https://automationstepbystep.com/ Some topics covered: - Jenkins - JMeter - Selenium - Appium - Cypress - Playwright - Katalon Studio - API Testing - Postman - Docker - Kubernetes - Other DevOps topics Words from Raghav We often need someone to hold our hand and help us take the first few steps before we learn to walk and run. I am on a mission to spread education and make it available to anyone willing to learn Never Stop Learning Raghav All education here is FREE FOR ALL, FOREVER Share with as many people as you can in your lifetime

Video Description

JMeter Complete Course - https://youtu.be/SoW2pBak1_Q 00:00 Start 00:39 What is JMeter 01:17 Features of JMeter 02:52 How to setup JMeter on windows & mac os 06:53 Overview of GUI & Features 08:21 How to prepare for a Performance Test 12:51 Test Plan 14:10 Thread Group 16:21 Controllers 16:39 Samplers 18:30 Logical Controllers 19:27 Listeners 23:52 Command Line 26:13 Assertions 28:19 Config Elements 30:04 Timers 32:40 Pre-Processors & Post-Processors 33:37 Test Fragment 34:23 Non-Test Elements 35:36 Execution Order 36:54 Best Practices #JMeterMostAskedInterviewQuestions Module & Include Controller - https://youtu.be/jKiZ1efpE5w Config Elements 1 - https://youtu.be/F8q61fu2nJM Config Elements 2 - https://youtu.be/nEPeVA8bjU8 What is JMeter: Tool or Application for performance testing Free & Open Source Built with Java Features of JMeter: Completely free for performance testing of a variety of applications Web | API | FTP | DB | LDAP Option for Recording Inbuilt components for adding assertions & reporting Extensible using plugins JMeter is a server-side performance testing tool How to setup JMeter: 1 - Check java is installed java -version 2 - Download JMeter 3 - Unzip 4 - Start JMeter bin/jmeter.bat (win) bin/jmeter.sh (mac/linux) Overview of GUI & Features How to prepare for a Performance Test: Get approvals & authorizations Application & Environment Requirements for the test - What to test, Scenarios Test Data Expected behaviour or performance OR Baseline Reporting Format Test Plan: is a like a project where all the elements of the performance test are added It saves as a .jmx file Inside JMeter the Test Plan stores & displays the elements of the test in a tree view A minimal test will consist of the Test Plan, a Thread Group & one or more Samplers Thread Group: A Thread Group is a collection of threads Every JMeter test plan starts with this element Each thread represents one user using the application under test In a thread group element, we can define the No of users (threads) Ramp up & down Loops / iterations Controllers: JMeter has two types of Controllers - Samplers & Logical Controllers Samplers: Tell JMeter to send requests to a server & wait for a response They are processed in the order they appear in the tree Each sampler (except Flow Control Action) generates one or more sample results Logical Controllers: determine the order in which Samplers are processed let you customize the logic that JMeter uses to decide when to send requests Listeners: Components that show the result of the samplers Tree | Table | Graphs also provide means to view, save, read saved test results Listeners are processed at the end of the scope in which they are found Listeners can use a lot of memory if there are a lot of samples To minimize the amount of memory needed, use the Simple Data Writer Command Line On cmd prompt Goto the location of JMeter bin folder jmeter -n -t “location of imx file” -l “location of result file csv” Assertions: Assertion = Check or Validation Check Actual = Expected processed after every sampler in the same scope Config Elements: to set up defaults & variables for later use by samplers processed at the start of the scope in which they are found, i.e. before any samplers in the same scope Timers: to add delay (pause) before sampler request By default, JMeter thread executes samplers in sequence without pausing If more than 1 timers are used in Thread Group, JMeter will take the sum of the timers to pause can be added as children of samplers or controllers Pre-Processors: executes prior to a Sampler Request modify the settings of a Sample Request Or update variables Post-Processors: executes after a Sampler Request to process the response data, to extract values from it Test Fragment: special type of controller used with the Include Controller & Module Controller not executed unless it is referenced by either a Module Controller or an Include_Controller. This element is purely for code reuse within Test Plans Non-Test Elements: HTTP Mirror Server HTTP(s) Test Script Recorder Property Display Execution order: Configuration elements Pre-Processors Timers Sampler Post-Processors (unless SampleResult is null) Assertions (unless SampleResult is null) Listeners (unless SampleResult is null) Best practices 1. Always do performance testing on a separate env - not used for other activities 2. Run your tests with the same infrastructure, network stats etc. - consistent results | compare with baseline 3. Create more realistic test - add think time 4. Add some ramp up, Do not start directly with 1000 users 5. Always have a baseline to compare your test 6. JMeter checks the server performance & does not care for browser render time 7. Focus on the areas that need performance testing based on user scenario 8. Always document your results Share this with everyone If my work has helped you, consider helping an animal near you, in any way you can Never Stop Learning Raghav

You May Also Like

Upgrade Your Aerial Footage

AI-recommended products based on this video

Loading...
DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production
Best Seller

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

(59)
$99.00
FREE delivery Tue, Oct 7
500+ bought in past month
Loading...
DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production
Best Seller

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

(59)
$99.00
FREE delivery Tue, Oct 7
500+ bought in past month
Loading...
DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production
Best Seller

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

(59)
$99.00
FREE delivery Tue, Oct 7
500+ bought in past month
Loading...
SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

(71,074)
$21.99$16.59
FREE delivery Sun, Aug 10 on your first order
500+ bought in past month
Loading...
SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN
Best Seller

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

(71,074)
$29.99$26.61
FREE delivery Sun, Aug 10 on your first order
4K+ bought in past month
Loading...
SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

(77,138)
$379.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Frizzlife M3005 Replacement Filter Cartridge Set (4 Pack) for SK99,SP99,SK99 New and SP99 New Under Sink Water Filter System

Frizzlife M3005 Replacement Filter Cartridge Set (4 Pack) for SK99,SP99,SK99 New and SP99 New Under Sink Water Filter System

(1,648)
$69.99
FREE delivery Tue, Sep 23
200+ bought in past month
Loading...
UKF8001 Refrigerator Water Filter Replacement, Compatible with Everydr0p Filter 4, EDR4RXD1, UKF8001P, 4396395, 46-9006, UKF8001AXX-200, UKF8001AXX-750, 3 Pack

UKF8001 Refrigerator Water Filter Replacement, Compatible with Everydr0p Filter 4, EDR4RXD1, UKF8001P, 4396395, 46-9006, UKF8001AXX-200, UKF8001AXX-750, 3 Pack

(164)
$33.24
Prime
Loading...
ICEPURE UKF8001 Compatible with Whirlpool EDR4RXD1, 4396395, Maytag UKF8001, UKF8001AXX, EveryDrop Refrigerator Water Filter 4, RFC0900A, UKF8001AXX-200, UKF8001P, 469006, PUR, Puriclean II, Pack of 3

ICEPURE UKF8001 Compatible with Whirlpool EDR4RXD1, 4396395, Maytag UKF8001, UKF8001AXX, EveryDrop Refrigerator Water Filter 4, RFC0900A, UKF8001AXX-200, UKF8001P, 469006, PUR, Puriclean II, Pack of 3

(12,844)
$31.49
FREE delivery Tue, Sep 23 on your first order
500+ bought in past month
Loading...
AQUA CREST UKF8001 Replacement for EveryDrop® Filter 4, Whirlpool® EDR4RXD1, 4396395, Maytag UKF8001P, UKF8001AXX-750, Puriclean II, 46-9006, 6 Month 300 Gallon Refrigerator Water Filter (Pack of 3)

AQUA CREST UKF8001 Replacement for EveryDrop® Filter 4, Whirlpool® EDR4RXD1, 4396395, Maytag UKF8001P, UKF8001AXX-750, Puriclean II, 46-9006, 6 Month 300 Gallon Refrigerator Water Filter (Pack of 3)

(1,936)
$35.99
FREE delivery Tue, Sep 23
100+ bought in past month
Loading...
DJI Osmo Action 4 Standard Combo, 4K/120fps Waterproof Action Camera with a 1/1.3-Inch Sensor, Stunning Low-Light Imaging,10-bit & D-Log M Color Performance, Long-Lasting 160 Mins, Outdoor Camera

DJI Osmo Action 4 Standard Combo, 4K/120fps Waterproof Action Camera with a 1/1.3-Inch Sensor, Stunning Low-Light Imaging,10-bit & D-Log M Color Performance, Long-Lasting 160 Mins, Outdoor Camera

(3,962)
299.00
PrimeFREE delivery Saturday, June 14
500+ bought in past month