Thanks for taking your time to explain this. I am about to create a new video where I analyze the impact of infrastructure on latency and your video really help me get up to speed into load testing. Now that I watched everything, I can now build on top of it. Thanks again for saving me time of frustration I would be facing if I had to read the documentation.
hi mate great lecture, am still not clear on how to organise a suite of tests that cover the different types of testing ie load,stress,spike how do you structure your framework? also when executing are we running in a cloud machine or a local laptop?
To organize your JMeter test suite for load, stress, and spike testing, follow this structure: Test Plan Structure Separate Test Plans: Create individual test plans for each type (e.g., Load_Testing.jmx, Stress_Testing.jmx, Spike_Testing.jmx). Folder Organization: Load Testing/ - Load_Testing.jmx - Load_Testing_Results.jtl Stress Testing/ - Stress_Testing.jmx - Stress_Testing_Results.jtl Spike Testing/ - Spike_Testing.jmx - Spike_Testing_Results.jtl Execution Options Local Laptop: Pros: Easy setup, no costs. Cons: Limited resources, may not reflect real-world scenarios. Cloud Machine: Pros: Scalable resources, better simulation of real-world conditions. Cons: Additional costs, more setup required. Example Test Plan Snippet # Load Testing Test Plan ## Thread Group - Threads: 100 - Ramp-up: 10 min - Loop count: 1 ## HTTP Request Defaults - Server: example.com - Protocol: http - Method: GET - Path: / ## Listener - Results file: Load_Testing_Results.jtl -
Hello Raghav Sir, here in performance testing we use threads as users who will be hitting the website and test it in that way, but let there is only one user who has thousands of records for a particular website and when retrieving the data for that particular user, it takes huge load of time, how and what approach we can go with to test the process please? For e.g. A single amazon customer has thousands of orders and want to retrieve them all or a Pluralsight user who has ran through thousands of courses and want to render them all once.
Ashish To test a scenario where a single user retrieves a large amount of data in JMeter, follow these steps: Set Up a Thread Group: Create a Thread Group with one thread (representing one user). Set an appropriate ramp-up period. Define the Test Scenario: Use HTTP Request samplers to define the requests for fetching data (e.g., orders or courses). Parameterize Requests: Use a CSV Data Set Config if needed to simulate different requests based on the user's data. Add Listeners: Include listeners like "View Results Tree" or "Aggregate Report" to collect and analyze results. Run in Non-GUI Mode: Execute the test in non-GUI mode to handle larger loads efficiently. Monitor Performance: Observe resource usage during the test to identify performance bottlenecks. Analyze Results: Review response times, throughput, and errors to assess system performance under load This approach will help you effectively evaluate how well the application performs when a single user retrieves extensive datasets -
@@RaghavPal Sir, can you please make a video of this process if possible as it will give me more clarity in setting up the test plan in a more concise way, and it will help me in giving a POC to the team too??
@@RaghavPal No problem Sir, was just checking. A small request, is there a possibility to create a section of videos where how to run JMeter test plan, Postman collection in Microsoft Azure DevOps pipelines and how to extract the test report/results data on UI and in HTML format please?
Oh just seeing this. So happy for this, you are a great mentor and tutor I must say. Thank for all you have done so far in the testing world. Ever since I started my testing journey, I have never joke with any of your videos. Thanks for putting this together I believe more update are coming from your end
I agree with you @DGlobal_analyst. I wish there is a channel like this for Devops. I really want to explore that niche Does anyone has an idea for devops?
@@RaghavPal am currently doing selenium with java.. but cant find much jobs now in the market should i skip to cypress or playwright? Or try selenium with C#. Which one would you chose Raghav
Nahas Here's a concise comparison of your options: Cypress Pros: Fast execution, real-time reloading, user-friendly, JavaScript-focused Cons: Limited to Chromium-based browsers, only supports JavaScript Playwright Pros: Multi-language support (Java, JavaScript, Python), cross-browser testing, fast execution, modern API Cons: Newer tool, smaller community than Selenium Selenium with C# Pros: Familiar framework, multi-language support. Cons: Smaller job market, more setup required for C# In general I will suggest you can plan to learn all these to increase the chances of jobs -
Yes, you just need to run JMeter tests using command line and can integrate with CI CD process, you can also find some plugins for JMeter on CI tools like jenkins
if you need to link performance tests with external processes in CI CD pipleline, will have to go with command line. Anyways it has to run in a chain with automatic trigger.. how exactly are you going to do that with GUI
Great teacher, great video!
Also, glad you fixed all the microphone issues from the old videos of JMeter.
Thank you very much!
Great to hear.
Thanks for taking your time to explain this. I am about to create a new video where I analyze the impact of infrastructure on latency and your video really help me get up to speed into load testing. Now that I watched everything, I can now build on top of it. Thanks again for saving me time of frustration I would be facing if I had to read the documentation.
Most welcome
Thank you Raghav for your efforts
Most welcome Narasimha
hi mate great lecture, am still not clear on how to organise a suite of tests that cover the different types of testing ie load,stress,spike how do you structure your framework?
also when executing are we running in a cloud machine or a local laptop?
To organize your JMeter test suite for load, stress, and spike testing, follow this structure:
Test Plan Structure
Separate Test Plans: Create individual test plans for each type (e.g., Load_Testing.jmx, Stress_Testing.jmx, Spike_Testing.jmx).
Folder Organization:
Load Testing/
- Load_Testing.jmx
- Load_Testing_Results.jtl
Stress Testing/
- Stress_Testing.jmx
- Stress_Testing_Results.jtl
Spike Testing/
- Spike_Testing.jmx
- Spike_Testing_Results.jtl
Execution Options
Local Laptop:
Pros: Easy setup, no costs.
Cons: Limited resources, may not reflect real-world scenarios.
Cloud Machine:
Pros: Scalable resources, better simulation of real-world conditions.
Cons: Additional costs, more setup required.
Example Test Plan Snippet
# Load Testing Test Plan
## Thread Group
- Threads: 100
- Ramp-up: 10 min
- Loop count: 1
## HTTP Request Defaults
- Server: example.com
- Protocol: http
- Method: GET
- Path: /
## Listener
- Results file: Load_Testing_Results.jtl
-
@@RaghavPal thanks a lot this was very helpful
Thanks for the contents.
Can you please provide a session on Integrating Jmeter with Taurus to view results and reporting in windows?
I will check on this
@@RaghavPal Thanks
Thank you sir for this informative video. Sir, Do you provide the live training? I mean I want to learn Jmeter in Detailed.
Not taking live classes now, Can learn from here - automationstepbystep.com/
@@RaghavPal Thank you so much.
Hello Raghav Sir, here in performance testing we use threads as users who will be hitting the website and test it in that way, but let there is only one user who has thousands of records for a particular website and when retrieving the data for that particular user, it takes huge load of time, how and what approach we can go with to test the process please?
For e.g. A single amazon customer has thousands of orders and want to retrieve them all or a Pluralsight user who has ran through thousands of courses and want to render them all once.
Ashish
To test a scenario where a single user retrieves a large amount of data in JMeter, follow these steps:
Set Up a Thread Group:
Create a Thread Group with one thread (representing one user).
Set an appropriate ramp-up period.
Define the Test Scenario:
Use HTTP Request samplers to define the requests for fetching data (e.g., orders or courses).
Parameterize Requests:
Use a CSV Data Set Config if needed to simulate different requests based on the user's data.
Add Listeners:
Include listeners like "View Results Tree" or "Aggregate Report" to collect and analyze results.
Run in Non-GUI Mode:
Execute the test in non-GUI mode to handle larger loads efficiently.
Monitor Performance:
Observe resource usage during the test to identify performance bottlenecks.
Analyze Results:
Review response times, throughput, and errors to assess system performance under load
This approach will help you effectively evaluate how well the application performs when a single user retrieves extensive datasets
-
@ Thanks a lot for defining and detailing in such a great way, Sir.
@@RaghavPal Thanks a lot for explaining in such a detailed and descriptive manner and making sure each area is covered is really remarkable, Sir.
@@RaghavPal Sir, can you please make a video of this process if possible as it will give me more clarity in setting up the test plan in a more concise way, and it will help me in giving a POC to the team too??
will plan in some time
Sir, please post Masterclass videos for Loadrunner, Neoload, Dynatrace and TOSCA
As soon as possible Hari
Hello Raghav sir, is there any plan of doing a tutorial on “Performance Tuning for SQL server” please??
Not very soon Ashish
@@RaghavPal No problem Sir, was just checking.
A small request, is there a possibility to create a section of videos where how to run JMeter test plan, Postman collection in Microsoft Azure DevOps pipelines and how to extract the test report/results data on UI and in HTML format please?
I will plan a series on Azure, hope to cover it there Ashish
@@RaghavPal Thank you so much for considering my request, Sir.
Fantastic
Thanks
Oh just seeing this.
So happy for this, you are a great mentor and tutor I must say.
Thank for all you have done so far in the testing world.
Ever since I started my testing journey, I have never joke with any of your videos. Thanks for putting this together
I believe more update are coming from your end
I agree with you @DGlobal_analyst.
I wish there is a channel like this for Devops. I really want to explore that niche
Does anyone has an idea for devops?
Wow, thank you..
Sir Please teach Splunk, appdynamics, agile concept
I will plan Jeevitha
Dear Raghav could you help with TOSCA Tricentis Master Class please?
I will check and plan
Does Tosca have scope?
Yes
@@RaghavPal am currently doing selenium with java.. but cant find much jobs now in the market should i skip to cypress or playwright? Or try selenium with C#. Which one would you chose Raghav
Nahas
Here's a concise comparison of your options:
Cypress
Pros: Fast execution, real-time reloading, user-friendly, JavaScript-focused
Cons: Limited to Chromium-based browsers, only supports JavaScript
Playwright
Pros: Multi-language support (Java, JavaScript, Python), cross-browser testing, fast execution, modern API
Cons: Newer tool, smaller community than Selenium
Selenium with C#
Pros: Familiar framework, multi-language support.
Cons: Smaller job market, more setup required for C#
In general I will suggest you can plan to learn all these to increase the chances of jobs
-
Is It possible to automate JMeter on CI/CD
Yes, you just need to run JMeter tests using command line and can integrate with CI CD process, you can also find some plugins for JMeter on CI tools like jenkins
@@RaghavPal Sir Is it possible from GUI mode and in devOps (DevAzure)
Thanks for providing us helpfull vdo's
if you need to link performance tests with external processes in CI CD pipleline, will have to go with command line. Anyways it has to run in a chain with automatic trigger.. how exactly are you going to do that with GUI