JMeter Beginner Tutorial 2 - How to create first Jmeter Test
Вставка
- Опубліковано 30 вер 2024
- FREE tutorials - automationstep...
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
Free Courses - automationstep...
Jmeter Beginner Tutorial - 2 :
How to create first Jmeter Test
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 - To Run the Test
_______ ONLINE COURSES TO LEARN _______
FREE Courses - automationstep...
Udemy Discounts - automationstep...
GitHub - github.com/Rag...
Udemy - www.udemy.com/...
Training schedule - automationstep...
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb
Protractor - bit.ly/2KtqVkU
TestProject - bit.ly/2DRNJYE
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN
----------- MOBILE TESTING -----------
Appium - bit.ly/2ZHFSGX
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
Kubernetes - bit.ly/2MJIlMK
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
GitLab - bit.ly/2kQPGyQ
----------- PROGRAMMING -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C
JAVASCRIPT - bit.ly/2KJDZ8o
----------- IDE -----------
Visual Studio Code - bit.ly/2V15yvt
----------- MAVEN -----------
Maven - bit.ly/2NJdDRS
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
NeverStopLearning
Raghav
---------- Connect with Raghav -----------
Website - automationstep...
LifeCharger -
Udemy Courses - www.udemy.com/...
Facebook - / automationstepbystep
Twitter - / automationsbs
UA-cam - / automationstepbystep
You can support my mission for education by sharing this knowledge and helping as many people as you can.
Call for training at your location - raghav.qna@gmail.com
Free online courses - automationstepbystep.com/online-courses/
awesome sir hats off 🙏teachers like you are unbelievable 👏 god bless 😇
Thanks a lot Vivek. Humbled.
@@RaghavPal pleasure sir ☺️
@@RaghavPal Thanks Raghav. You're really doing amazingly for a lot of us. God bless. Please what should happen if an invalid path is supplied?
I still get 200 OK response even when I enter gibberish in th 'Path' field so I am wondering if there's something I am doing wrongly. Please assist.
is it possibile to do the functionality testing using J meter, we normally use SOAP tool for the functionality testing is it possible to use the J meter instead of SOAP??????????????????????????????????????????????????????
Hi Arjun, logically Yes, you can use JMeter for functionality testing, However its a performance testing tool and may not be customized for functionality testing, But if you find it useful you can go ahead
Loving these videos!! Wish I had found these before the start of COVID. Question, and if it's premature and explained in subsequent videos? If so, just say so and I'll carry on watching. So assuming the pass/fill is set on the HTTP response (200)? If so, how can you check the server response? Let's say I have a login frame on my main page called main.html. If I put in invalid credentials, the page main.html comes back with an HTTP 200 but error text (invalid or whatever). Another scenario would be the credentials are correct, main.html comes back with HTTP but text saying 'success' or whatever. Many thanks!!
LOL. Just started 3rd chapter. I guess the word I was looking for was 'assertion' hahahahahaha.
Hi, you can handle these with Assertions, there is a video on that. You can find all my work here - automationstepbystep.com/
Hi raghav,iam only one tester i my company now am doing performance testing ur videos are simple super....i want to know how can i test the inside webpages iam giving url in path webfield but i have a doubt whether it is excuting or not defaultly giving path as (//////@@@@@hgugkuyguig231546)it is excuting i want to know this
Hi Sai, you can use assertions to validate the response of any request. Please see the video on assertions.
tq very much bro..thumps up
This is very well explained, being a beginner for performance testing, i just finished watching 4 or 5 of your lectures in a row and feel like i m already ready for performance testing ,keep up the good work.thanks again
Rani, this is great to know. Keep watching and learning.
Sir for this video i did same as you but i am getting status as false so i am not getting what to do further
Try to add assertion and see what is the issue.
Thank you very much for your interesting and easy video courses!
Hi, Can you use JMeter to test a desktop application?
You can, but it will check only the network communications i.e. server end performance and not client end. Check this - ua-cam.com/video/8jqFKPHEZZE/v-deo.html
thankyou for speaking clearly and for the good sound quality ( this doesnt always happen with videos like these), the content was also very helpfull and informative! thanks !
I am so glad to know that Bruce. Thanks for watching.
Raghav I started watching your Jmeter videos and practicing along too. Blessings n thanks.
Wonderful Deepti, can check all here - automationstepbystep.com/
Fantastic tutorial very well thought out and to the point, helped me a lot testing my blockchain API for my dissertation.
So happy to know this Chris
i dont have default work bench whht o do
plz help
Hi Akhil, its fine, workbench was deprecated since ver 4.0. Watch this ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Excellent video! Thanks for sharing and keep it up...
You're welcome Gman
Hi Ragahav..
JMETER_.bat file is missing in J meter 4.0 Version. As you have mentioned right click on the J meter. bat and choose the RUN as administrator. In case of 4.0 what i have to do.
check if you have ApacheJmeter.jar file. Can use that, Else try downloading again
Hi Raghav, What is the best practice for Jmeter like Recording or creating manually page by page? And one more thing how to identify the HTTP Request used for the Application after recording? After recording we will get extra HTTP Requests right.
Hi Sarath, In case you have some limited static pages, You can just create HTTP Sampler and add the requests. Else you can do a quick recording and then check the recorded scripts, Here you may have to disable some scripts(samplers) as it records everything. Usually you can check by only keeping html pages and run and check if it works for you.
Hello Raghav- Howe u r doing good. Actually when I tried to download Apache Jemter from my laptop it shows the following, ptext:e84dfe57397ca5bd9ed5d38c85a1081373b047ff9d41658a64a09dcf8329c25aaa7c23b5bba1b492c3d12edce7f141504baba8071b05df760303c1873ee46ddb *apache-jmeter-5.3.zip. Please help to get this installed.
Hi, when and where exactly do you get this. You just need to get the zip file from binaries section here jmeter.apache.org/download_jmeter.cgi
Great Tutorial!! but jmeter.bat file is missing.
Hi Monsuru, if you have ApacheJMeter.jar file, you can use that.
@@RaghavPal Thanks Raghav, I will try that. I am just trying to get hands on in Automation and some performance testing tools. You are a Great Teacher!!!
Thanks Monsuru, you can check all tutorials here - automationstepbystep.com/online-courses/
I am a beginner in performance testing and this tutorial is very well explained. Thanks Raghav.
Note: Workbench has been dropped from UI, you can now use Non Test Elements as immediate children of Test Plan.
thanks for adding
@@RaghavPal 🙂🙂
when i am running my test plan , its failing , Error : Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Address family not supported by protocol family: connect
Kindly help
Hi Asmita, pls check the url you are using. Are you using any proxy?
Hi Raghav, Your teaching is quite good, but can you explain me that how to test the web application from localhost. URL is like 172.168.X.X/ABC/... or you can explain the settings to run this....
Hi Vansh, You can see these - ua-cam.com/video/fNiuSoJ0RaQ/v-deo.html&list=PLhW3qG5bs-L-zox1h3eIL7CZh5zJmci4c&index=30
Hi am new to Jmeter, I am learning Jmeter by watching ur videos,so now I have tried Jmeter Http request in Ubuntu OS,
Servername/IP: www.google.co.in and just i gave start,but I got a error.
Error count:1
Data type("text"|"bin"|""):text
Response Code: Non HTTP response code: java.net.SocketException
Response Message: Non HTTP response message: Connection reset
Could you pls help me to resolve this issue.
Hi Roselin, In the protocol field give https. In server name give google.com . bit.ly/2x1AyB9
can you make a tutorial for testing a payment gateway page, verifying the Hash as well
I will plan Anamika
Dear Raghav Pal !
It is very annoying when you keep repeating the word wrongly as 'dekstop' instead of saying correctly, 'desktop'. Please correct it. It is small but very annoying ommission.!!!!!!!!!!!!!!!!!
Otherwise, it is a great service you are doing to the community.
I take your feedback and will work on this
Hello Raghav,
Thank you so much for your tutorial, that's really helpful.
However, I'm preparing my first performance test about HomePahe, when I run it , no result is available in the view Results in table and no error is displayed. can you help me please?
I'm using Jmeter(5.2.1)
Thanks in advance
Hi, pls check logs like this - ua-cam.com/video/ZkRYdHYH2N8/v-deo.html&feature=emb_logo
You will find a triangular button on the top right of jmeter for logs. Logs are displayed at the bottom.
Hello, Sir! A clear explanation as always! I wonder how you recorded a video since I noticed you are switching from Windows Mac? Or are these images?
Remote machines Balzhan
Hi Raghav, How to pass the url which looks like localhost:8080/abcxyz-abc... where my application is hosted on 8080 port and url is formed as above.... Thanks Very Much in Advance
hi Vamshi, you should be able to give your domain and port as shown in the video. In your case:
Server name or IP : localhost or ip of your machine
Port : 8080
Path : /abcxys
Try it out. Hope your JMeter is on the same machine or is able to connect directly to the url
Hi Raghav, Amazing explanation anybody can understand easily...Thank you so much
I am glad you found it helpful Divya, keep learning.
Hi Raghav, I am getting this below mentioned error.Could you please help me with this :
While i am testing the performance of webServer by using API calls. Application is based on Meteor app so can i do testing of this type of application by using record play action or shall i do API testing?
Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Socket operation on nonsocket: connect
Hi Fatema, although i will need to see the application and calls, but you should be able to do this with jmeter, even api calls can be sent in jmeter. You can watch more related videos here - automationstepbystep.com/online-courses/
I am getting 500 error in results sometimes. Why ?? I followed the same process.
500 is server error, Can try with a diff application
Hi Raghav, very nice tutorial and thanks for your effort for making this tutorial understandable very easily . You are very patient and clear at every step to explain. Keep it up n appreciate a lot. Keep posting new tutorials. All the best..🙂
Amol, i am glad it helped you, Keep watching and learning.
Yes. very much like it. Thanks for simple and straight to points video.
glad to know this Janmejay
Hi Raghav, While practicing, my results had around 50% error. Would you kindly assist me in fixing it?
You will need to check the errors and see the cause.. logs can help you
@@RaghavPal The issue was with the protocol. The website I chose utilized the https protocol, but Jmeter uses the http protocol by default. Upon updating the port to 443, everything functioned flawlessly.
I came error in this formate ?Non HTTP response code: java.net.SocketException Non HTTP response message: Connection reset now how can I solve this error
Hi, check your response. May be your request parameters are incorrect
you can place subtitles to the videos
Hi Anibal, for most of the videos subtitles are generated automatically. For some due to audio issues, there may not be subtitles. I will take care of this in future videos.
@@RaghavPal thanks for the info
Hi Raghav,How will i decide server name or IP when i am doing testing of my website on local server?
for example my website is :- 59.91.124.170/Dev/SARBOnline/Login/Password.aspx
Hi Sanjay, so here
server name or ip is - 59.91.124.170
And path is - /Dev/SARBOnline/Login/Password.aspx
Hi raghav bro...I have one doubt.can we use jmeter if login generating tokens using cognito(cloud service)...??? if jmeter can not then please suggest any tool that test such kind of login pages..bcz if jmeter strucks at login page there is no point of testing remaining pages...thanks in advance plz
Hi, I have not tried and will need to check. You can get more help online meanwhile
Raghav Sir, What if i put Ramp up period = 20, thread group=10 and loop = 40.. would it make new user add every half a second?
For Users=10 and Rampup=20. It will add 1 user every 2 seconds. Loop=40 means the complete cycle will repeat 40 times
Hi Raghav,
@raghavPal
where can i get certification after attending your all lecture.? is this course is available on Udemy?
Hi Abhilash, I keep some of my work as Udemy. Pls check this - automationstepbystep.com/udemy-discounts/
I couldn't find Jmeter.bat file. Can I use ApacheJmeter Executable jar file to open Jmeter and work on it ?
yes Shiva, can use that
Hi Raghav Sir, we have a web application created in HTML, CSS & Blazor technologies at front end but NOT JavaScript. So when performing Performance Testing using Blazemeter recording, the script does not render correctly. It only gives CSS as response and request has ONLY login and logout links, there is no information of Headers too.
I tried with Mozilla Firefox too where changing the proxy and tried to record but had no success, as the website could not load in the proxy settings, so there was no script recorded at all.
This is going to be our first release of the website to public but wanted to give a performance testing before it.
Could you please guide us or assist us on how to overcome this issue please of recording and getting the scripts?
Ashish
Since Blazor applications do not rely on JavaScript for rendering, traditional script recording methods may not capture the interactions accurately.
Here are some steps and considerations to help you overcome the issue of recording scripts for performance testing your Blazor web application:
1. Identify Dynamic Elements: Blazor applications often use dynamic elements that are rendered on the client-side. Ensure that the performance testing tool can capture and handle these dynamic elements correctly.
2. Custom Scripting: Since traditional script recording may not work well with Blazor applications, you may need to consider creating custom scripts using tools like JMeter or Gatling. This involves manually creating HTTP requests to simulate user interactions.
3. Use Developer Tools: You can use browser developer tools (like Chrome DevTools or Firefox Developer Tools) to monitor network requests and responses while interacting with your Blazor application. This can help you understand the API calls and interactions needed for scripting.
4. API Testing: If your Blazor application interacts with APIs, consider focusing on API testing for performance evaluation. Tools like Postman or JMeter can be used to simulate API requests and measure performance.
5. Headless Browser Testing: Consider using headless browsers like Puppeteer or Selenium with headless mode to interact with your Blazor application programmatically. This can help in automating interactions for performance testing.
6. Manual Testing: In the absence of automated script recording, you may need to perform manual performance testing by simulating user interactions and measuring response times for critical workflows.
7. Consult with Blazor Experts: Reach out to the Blazor community or experts who have experience with performance testing Blazor applications. They may provide insights and best practices specific to Blazor technology.
8. Consider Third-Party Tools: Explore performance testing tools that specialize in testing Single Page Applications (SPAs) or Blazor applications. These tools may offer better support for capturing interactions in such applications.
By following these steps and considering the unique aspects of Blazor applications, you can enhance your performance testing approach and gain insights into the performance of your web application before its public release.
@@RaghavPal Thanks a Ton for providing a such a detailed guidance and assistance. I will follow the same as you suggested and will try to get the results out.
You are the best, I really mean it.
Hi Raghav, video was helpful
Can you please tell me, how to integrate testlink with jmeter
Hi Riya, please check if this helps you
stackoverflow.com/questions/37308866/integration-issue-with-testlink-jenkins-and-jmeter
wiki.jenkins.io/display/JENKINS/Integrating+TestLink++Jenkins++JMeter
good but please make an full vdo for jmeter for interview purpose
sure Akash, will make it.
I have installed Jmeter into my windows machine. I opened "jmeter.bat". But the Jmeter window is not showing the workbench section in the left panel.
Hi Manish, workbench is deprecated. Watch this - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
you said at the end "Hope you like it". Raghav, I absolutely loved it, haven't seen an easier video!
So happy to see this Shoubhik
Hi Raghav. I am not able to test using public sites like lifecharger, but i am able to test my company's internal sites. How to overcome this issue, do i need to set any proxy?
Hi, you must be using some proxy or vpn that is restricting public sites, You can talk to your networks team on this.
Hi followed the steps shown in this video, i got below error when i clicked on run after following all the steps. Can anyone help me
'Error occured starting thread group: Users, error message:invalid duration 0 set in thread group:users,see log file for more details
Hi Tanuja, you have set Thread count to 0. Pls see the video again and follow step by step
I had inserted Number of Thread (Users) : 500 ; but it stopped at the number of user 495 .how to understand the loop is over?
Hi Samira, let me know your thread settings
thankyou were helpfull videos? my jmeter is not showing workbench option when started
Hi Daniya, Workbench is deprecated since JMeter 4.0. See - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
dankie
Dit is 'n plesier
Hi Raghav, Workbench is not displayed in my JMeter.Let me know the reason.
Hi Bhaanu,
Workbench is deprecated since JMeter 4.0. See - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
What actually we tested with this HTTP Request?
Sorry about my nood question.
We tested, when multiple users will be using this app and will be on this webpage, what will be the server performance (response time etc)
Thank you very much. Keep making videos.))
Sure I will. Thanks for you message
@@RaghavPal thank you very much. I am your young student
kindly try and update this video cant test JMeter properly watching from video 3
I will, can watch JMeter Masterclass - ua-cam.com/video/SoW2pBak1_Q/v-deo.html
Hello Raghav,
i understood what i had to do, and it works good
however, i could not understand what is the nature of this test
?
what exactly am i testing in here
?
am i trying to simulate loading test with couple of users enterting
same web-site at same time or is it something else
?
please advise
Hi Shavit, what you mentioned is correct. we are checking upto how much load an application can support without hanging.
View results in table,u have only one sample,but for me its going and going,now it's 111 and its going on.....
Hi Binu, this will depend on your configuration of thread group
Hi I'm not getting .bat file so directly opened the jamer application but i dodnt get the workbench folder
Hi,
Workbench is deprecated since JMeter 4.0. See - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
good
thanks David
sir actually . i didn't get WorkBench Button after open the jemeter . Please tell me sir how to fix that problem
Hi Rakesh, Workbench is deprecated since JMeter 4.0. See - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Hi raghav, your tutorials are very clear with very good explanation.If you don't mind,I would like to know the infrastructure you use for recording (mike,screen recording tool) so i can try same for my channel. Thanks in advance.
I use my headphone built-in mic and record with QuickTime
@@RaghavPal Thank you Raghav :)
very good
I am facing the error while running the Jmeter 3.3 with java version 8
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.net.ConnectException
Response message: Non HTTP response message: Connection timed out: connect
Please let me know what can be the solution.
JMeter should work on java 8. The message does not show if its problem with java 8. Can you check your test and requests
hello .Same issue i am facing with jmeter 3.3 with java version 8
Raghav, I am trying to follow step by step what you are doing in u r videos. But my http request is not showing any result. I am using same url what you used
Hi Kranti, can you try with some other application.
Hi Raghav
i have installed 5.4.3 Version of Jmeter on the Windows machine and there is no Thread properties option in this version please let me know whar i have to do
HI Shibaaz, Pls check if this video helps you,
ua-cam.com/video/SoW2pBak1_Q/v-deo.html
It is on a later ver
Very well explained..Thank you Raghav :)
I am glad Mayuri, it helped.
Very well explained...plz explain how to pass JSON data in jmeter
Thanks for watching Anjali, You will find videos on JSON in the JMeter playlists here - automationstepbystep.com/online-courses/
Hi Thank u so much for the explanatory video.
Can u pls help me to figure out more. When i run test plan i got result of warning messages. what inference should i conclude from that???
Hi Lalimol, what does the message say
Hi Raghav, need help...in my reports i m not getting green status, it is showing red cross mark. Also user count at top right corner is not increasing like your video. Rows added in results but top count remain 0/10
Response code:Non HTTP response code: java.net.MalformedURLException
Response message:Non HTTP response message: unknown protocol: scratchpads.eu
Hi Sachin, looks like you are not getting correct response. Pls check if your request configuration is correct
@@RaghavPal Where we request configuration is set? as i am facing the same problem
Hi raghav- I am beginner for jmeter and try to implement login for one of my website but not sure how to set cookie data. Can you help me.
Hi Ranchhod, i suggest you use Templates to do this. It will by default create these components for you.
Watch - ua-cam.com/video/V0cSlGpi-mA/v-deo.html&list=PLhW3qG5bs-L-zox1h3eIL7CZh5zJmci4c&index=20
Hello Raghav i have a question, how do we know how much users the server will handle, i marn how do we know what is the breaking point
Hi, you will need to keep on increasing the load to find the breakpoint, Now here you will have to be realistic, you should give some breathing time (think time) and mimic real world conditions
Here are some links to help:
stackoverflow.com/questions/65841745/find-out-if-a-server-can-handle-100-users-in-one-minute-using-jmeter
www.dotcom-monitor.com/wiki/knowledge-base/how-to-find-web-application-breaking-point/
sqa.stackexchange.com/questions/9782/how-to-determine-breaking-point-of-my-application-when-performance-testing-from
Hi Raghav,
I have a question. Is it possible for jmeter to test thru parallel testing?
Ex. If I have 10 users, these 10 users will send job at the same, not one at a time.
Yes, and that is what performance testing is about, that multiple users are using the application at the same time
@@RaghavPal wow, this is what i am looking for! Sorry I'm just new in Jmeter Tool.
As what I understand your demo, if you put 10 users, it will perform test one at a time. I just based my observation with the summary report wherein it capture logs one at a time per user.
this may look sequential as we have a single request, Generally all the users will start at the same time based on the ramp up period set
hello sir, wht patch should i mention if i want to test all my pages of website. like bout us page, contact us page and gallery page etc.. what to mention in server and path .? please tell me
Hi Nikhil, you can just create multiple http samplers and add your urls there. Can watch more videos here - automationstepbystep.com/online-courses/
Thank u ... only ur explaination is very useful for me rather than other youtubers....now im very clear about jmeter
Thanx Raghav!I m not to run the script successfully. Followed the video instructions. Indicates red tag under Test results .should I enable root certificate. Plz reply
Hi Urmila, see the logs . ua-cam.com/video/ZkRYdHYH2N8/v-deo.html
@@RaghavPal thank u v much
Useful video but not working with 'https' websites ......
Hi, you will have to add https in the http protocol box
great explanation.Very simple and clear ...
thanks
thanks for watching Vinay. Keep learning.
Below is the sampler result i get:
Thread Name: Users 1-7
Sample Start: 1969-12-31 19:00:00 EST
Load time: 0
Connect Time: 0
Latency: 0
Size in bytes: 758
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 758
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.net.MalformedURLException
Response message: Non HTTP response message: unknown protocol: lifecharger.org
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Hi Shayni, the issue looks with the url you are using. Just confirm you are giving the domain and path as shown in the video. Also try with some other url.
Thanks Raghav, looks like there are some UI changes in 3.2 version of Jmeter.
yes, hope you are able to run your test.
Hi
Sir after opening the jmeter i don't get workbench option below Test Plan
HI Nawaz, workbench is now deprecated, check this - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Hi,
I have been trying to do as you said but I am getting warnings for everything. you can see the warning as below. Can you let me know what is the problem.
Thread Name: User1 1-51
Sample Start: 2018-03-13 11:20:32 EDT
Load time: 1
Connect Time: 1
Latency: 0
Size in bytes: 2159
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 2159
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Address family not supported by protocol family: connect
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Hi Sowmya, looks like you did not get a valid response. What is the url you are using in HTTP Request sampler
its Google.com. And i got it resolved. Thank you. I had to add a link in the command prompt for solving that.
Great, glad you resolved it.
it is the best tutorial hats off it realy helped
Glad to know this Anu
hi Raghav i m using jmeter 5.0 and workbench is not showing any option for it
Hi Abhishek, workbench is deprecated since ver 4.0
You should create a video "How To Create a complete Load testing Project via JMeter from scratch to End/Reports" and that report we can share with our client and team - > looking forward to that
I will do that Haider.
Hi Raghav sir, I want to create a POC for performance testing but I do not know how, where and what to start with. Can you help me with this please and help me with one of the demo web application that I can use. I want to start performance testing for one my project's web application, so need to showcase the BU that it is important to start performance testing as early in the project phase.
Ashish
For creating a POC (Proof of Concept) for performance testing your web application, Here's a breakdown of the steps involved:
1. Setting the Goal:
- Define the scope: Decide on the specific functionalities or areas of your web application you want to test for performance. This could be login process, checkout flow, specific pages, etc.
- Identify bottlenecks: Are there any known performance issues you're aiming to investigate or quantify?
- Measure success: How will you define a successful POC? Is it reduced response times, increased throughput, or identifying specific performance problems?
2. Choosing Tools and Approaches:
- Free vs. Paid Options: Start with free tools like JMeter or Locust for basic load testing. Paid options like LoadRunner or K6 offer more features and scalability.
- Load Testing vs. Stress Testing: Consider if you want to simulate realistic user loads or push your application beyond its limits.
- API vs. UI Testing: Decide if you want to test directly at the API level or simulate user interactions with the UI.
3. Implementing the POC:
- Install and configure the chosen tools.
- Develop test scripts: Define different user scenarios with varying loads and actions.
- Run the tests: Execute the scripts and observe the results.
- Analyze and report: Gather metrics like response times, throughput, error rates, and resource utilization. Present findings in a clear and concise report.
4. Choosing a Demo Web Application:
- Open-source options: Use readily available, well-documented applications like:
spring-petclinic.github.io/
5. Showcase Value to Business Users:
- Focus on business impact: Translate technical results into meaningful terms like "faster logins leading to improved user experience" or "increased user capacity translating to higher revenue potential."
- Recommend next steps: Based on the POC findings, propose strategies for further performance testing, improvements, and monitoring.
Additional Tips:
- Start small and focus on a specific aspect of performance testing within your project.
- Involve developers and business stakeholders early in the process.
- Use clear and concise communication to explain technical findings and their impact.
- Continuous performance testing is crucial. Integrate performance testing into your development cycle for lasting impact.
I hope this helps you get started with your POC
@@RaghavPal Thank you so much for explaining in so detailed manner and guiding me in the right way with examples, it really means a lot and helps a lot to me in going with the POC of my project. ❤
Hello Raghav,
I am not getting the graph result or table result.
I checked the log file and this is what i got:
2018/08/05 02:20:27 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
Please help
Hi Pawan, any other info from logs. that will help in troubleshooting
Automation Step by Step - Raghav Pal I am not getting any other info.. The test is running but I am not getting the result
just check in jmeter bin folder
sir i want to know one thing, if we have a url of user page and admin , so if we want to test the whole admin portal,so what we do for this? test every page url of admin or user ? and only test byone url of whole portal?
hi Diksha, JMeter will only test the page that you provide in HTTP Sample request. You will have to add all the pages. Also for generic testing of websites you can use free tools like - nibbler.silktide.com/en_US. I have also added some info for web testing here ua-cam.com/play/PLhW3qG5bs-L8r3wdQ3evX9mIZpHuwiDAj.html
okay thanks :-)
Hello I’m learning the course now so how would you advise me to with the current situation or opportunities after learning this course?
Sagar
Please send me all details,, what courses have you completed.. what are you looking for
I’m learnt this performance testing course and I’m watching this playlist for my better understanding. And I was looking for the role for the same
Hi Raghav - I just started with my installation. I am getting this error couldn't save test plan to file c:\apache-jmeter 5.3\New Folder\MyLearning.jmx(The system cannot file the path specified).
Hi Srinivas, Did you try saving at a diff location
@@RaghavPal I tried other than Dracula mode
Not sure if it has to do with the mode perspective
Hi Raghav,
I am getting below warning on both Jmeter 4.0 and 2.9:
hread Name: Thread Group 1-1
Sample Start: 2018-05-28 22:07:49 IST
Load time: 191
Latency: 0
Size in bytes: 1982
Headers size in bytes: 0
Body size in bytes: 1982
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.net.UnknownHostException
Response message: Non HTTP response message: No such host is known (lifecharger.org)
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Hi Ayushi, what are the parameters you have used in your request. Just cross check again with the video. Hope you have given the protocol field correctly. Try again
please add more English sub in all videos. My listening skills is not good enough, I missed some point in your content.
Hi Khue, the subtitles are generated automatically for most videos. In some videos where its not generated, i will have to manually create and upload. It will take some time.
When I open JMeter then there is no option of Workbench.. What to do now? Please reply.
Workbench is deprecated since JMeter 4.0. See - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Hai ragav ,I have installed J meter in windows but there is no work bench
Hi Abhi, yes its removed, check this video - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Thanx Raghav for this Great Tutorial, unfortunately I am facing an issue of "Warning" in the result. Rather it's displaying Red X, I am trying hard but still it's displaying Red. I am using Jmeter version 4 and Java 1.8T
below is what i see in log
2018-04-14 19:04:11,924 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2018-04-14 19:04:11,924 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2018-04-14 19:04:11,924 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2018-04-14 19:04:12,211 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Users
2018-04-14 19:04:12,211 INFO o.a.j.e.StandardJMeterEngine: Starting 20 threads for group Users.
2018-04-14 19:04:12,211 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2018-04-14 19:04:12,211 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=20 ramp-up=20 perThread=1000.0 delayedStart=false
2018-04-14 19:04:12,212 INFO o.a.j.t.JMeterThread: Thread started: Users 1-1
2018-04-14 19:04:12,214 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2018-04-14 19:04:12,214 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2018-04-14 19:04:13,212 INFO o.a.j.t.JMeterThread: Thread started: Users 1-2
2018-04-14 19:04:14,226 INFO o.a.j.t.JMeterThread: Thread started: Users 1-3
2018-04-14 19:04:15,217 INFO o.a.j.t.JMeterThread: Thread started: Users 1-4
Hi Lavanya, from these logs there is no error, can you check again and get the logs of error part
Now workBench is dropped by UI, you should update the JMeter videos to new version
Hi Duc, yes I will create new videos soon. For workbench and other features I created this - ua-cam.com/video/iaJGle6m9Wc/v-deo.html
Hi Raghav! I am getting this error all the time! Can you pls suggest me ways to resolve this?
Thread Name: Users 1-1
Sample Start: 2017-09-27 10:00:09 CEST
Load time: 21004
Connect Time: 21004
Latency: 0
Size in bytes: 2133
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 2133
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.net.ConnectException
Response message: Non HTTP response message: Connection timed out: connect
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Hi Reshmi, looks like its not able to access. Can you also check the logs
Please elaborate the difference between Stop and Shutdown button.
Hi Payal, Shutdown will gracefully stop all running threads and then stop, Stop will stop the test abruptly
Stop is stop immediate - threads are killed
Shutdown means stop gradually - threads exit at next opportunity, ie
when current samplers have finished
Hi Raghav,
A very nice tutorial...
was just trying a sample test you suggested and continuously getting below error;
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
Is it coming for all request? Are you using any proxy to connect to internet? or firewall
Also check the request you created is correct
Hii, Am adding listeners after sampler but not able to see the result in that I have done same steps as u have mentioned in this video. Please help.
not sure why , can you send me your tree structure. Can try putting listener at Thread Group level.
Hope your test is created properly
i have recorded blazeDemo site using Jmeter and while replaying getting below error:
Failed to parse HTML: Unexpected close in declaration block
please suggest
Within blazemeter, goto edit script and check the close declaration, try removing and saving it
You can also use this tool - ua-cam.com/video/bYw-SKE-4Mk/v-deo.html
@@RaghavPal thanks for the quick reply and all these informative videos. i have recorded script through Http Test script recorder in that i was facing above mentioned issue, not through blazemeter extension. anyhow will try to record it through blazemeter.
ok, can try using the jmx tool that I mentioned above
I request one time explain scripting load and excution in jmeter sir and also reporting sir please
Sure Sai, I will do it
Hi Raghav, I have done as said in the above video nut i am getting this error. Able to access the same through internet.
Thread Name: Users 1-1
Sample Start: 2019-07-16 11:39:50 IST
Load time: 48
Connect Time: 48
Latency: 0
Size in bytes: 2249
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 2249
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.net.UnknownHostException
Response message: Non HTTP response message: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server (lifecharger.org)
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Hi Sarath, looks like some issue with your request sampler. Pls show me the data you have added in http request sampler