Raghav is great! Thank you so much for your detailed explanations of how to use JMeter. Following your training has worked much better with my style of learning. I really do appreciate all your effort to transfer your knowledge to us.
What is difference between elements under test plan directly VS as a sub child indrectly. Eg. java request under test plan directly vs under thread group ( means under test plan hierarchy indirectly).
these are diff levels, you can have multiple thread groups in a test plan, So if a request/element is added in a test plan, it will get executed as part of the test plan run, else you can add it inside a thread group and run the thread group
Dhana In JMeter, the Keystore Configuration is a type of Config Element that allows you to specify a keystore containing certificates and private keys to be used for SSL/TLS connections. This is particularly useful when testing applications that require mutual authentication or client-side certificates The Keystore Configuration element is used to define the keystore that JMeter will use to establish SSL/TLS connections. You can configure the keystore by specifying the following properties: Keystore File The path to the keystore file, which can be in JKS (Java KeyStore) or PKCS12 format. Keystore Type The type of keystore, which can be either JKS or PKCS12. Keystore Password The password used to access the keystore. Key Alias The alias of the key to be used for the SSL/TLS connection. Here is an example of how you can configure the Keystore Configuration element in JMeter: Keystore Configuration + Keystore File: path/to/keystore.jks + Keystore Type: JKS + Keystore Password: mypassword + Key Alias: mykey By configuring the Keystore Configuration element, you can specify the keystore and certificates to be used for SSL/TLS connections, allowing JMeter to establish secure connections with the application under test. Additionally, you can also specify the truststore configuration, which defines the trusted certificates that JMeter will use to verify the identity of the server. Truststore File The path to the truststore file, which can be in JKS (Java KeyStore) or PKCS12 format. Truststore Type The type of truststore, which can be either JKS or PKCS12. Truststore Password The password used to access the truststore. Here is an example of how you can configure the Truststore Configuration element in JMeter: Truststore Configuration + Truststore File: path/to/truststore.jks + Truststore Type: JKS + Truststore Password: mypassword By configuring both the keystore and truststore, you can establish secure SSL/TLS connections with the application under test, allowing you to test scenarios that require mutual authentication or client-side certificates. -
Great work sir, very nice of you to share this quality content. By the way do you have an idea how to encrypt credentials on HTTP authorization manager?
Hi, Don't have a direct ans. This info can help bz.apache.org/bugzilla/show_bug.cgi?id=34321 www.jmeter-archive.org/How-to-mask-encrypt-values-sent-as-an-HTTP-request-parameter-td3200142.html
@@RaghavPal You mentioned we had learned how to use curly brackets in one of the previous videos. But I have been watching all the video on the beginner series but haven't come across that video
Hi Javlon, it may be in Functions & Variables, I do not remember very well as it has been some time I created this playlist, You can check all here automationstepbystep.com/
Hi Raghav. Thanks for all the nice videos. I am following them and hope to brush-up jmeter in sometime. But I am facing a problem that the orangeHRM site is not accepting Admin/admin123 credentials. Can you tell any other such real-life like login application?
Hi Amir, You can use post-processor extractor elements. this will help ua-cam.com/video/7-NcyZuUQnw/v-deo.html ua-cam.com/video/3w0x6u4-6ng/v-deo.html stackoverflow.com/questions/34463412/how-to-save-response-in-a-variable-in-jmeter
Hi Veena, for counters check this - www.blazemeter.com/blog/how-use-counter-jmeter-test The random variable config element is used to generate random numeric values within a range of specified minimum and maximum values. - it can be used whenever you need to generate any random values for e.g. You have a test where the input data is a number and you want to use a diff random number everytime. In this scenario instead of using a csv file or another way of hard coding, you can use this. examples.javacodegeeks.com/enterprise-java/apache-jmeter/jmeter-random-variable-example/
hi raghav, i am not able to save my test plan on jmeter and according to this video when i click on browse i get the following error on my log ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger what should i do thanks
sir in this video for csv data set config, my second test also got failed. dont know the reason as it is not able to authenticate username and pwd. I tried to put usernname and pwd in HTTP authorization manager but that did not worked also ..its still failing ...my all encoding field is also checked..
@@RaghavPal sir Raghav when i add plazemeter-citrex plugin it opened the template but i did sow one option for citrix , and the other options didnt appeard. are there be another issue ? thanks
hi raghav,i recorded website actives form bad boy and exported jmx file .now when i import the same file in jmeter getting this error:-CannotResolveClassException: node and Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException: node
@@RaghavPal 2020-06-12 15:17:58,460 INFO o.a.j.s.FileServer: Set new base='D:\apache-jmeter-5.3\bin\JMeter Workspace' 2020-06-12 15:17:58,475 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2020-06-12 15:17:58,475 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2020-06-12 15:17:58,481 INFO o.a.j.p.j.s.JavaSampler: Created class: org.apache.jmeter.protocol.java.test.JavaTest. Uses tearDownTest: 2020-06-12 15:17:58,482 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*) 2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group. 2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error 2020-06-12 15:17:58,901 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false 2020-06-12 15:17:58,902 INFO o.a.j.t.ThreadGroup: Started thread group number 1 2020-06-12 15:17:58,902 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2020-06-12 15:17:58,905 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1 2020-06-12 15:17:58,906 INFO o.a.j.s.FileServer: Stored: D:/apache-jmeter-5.3/bin/JMeter Workspace/testdata1.csv 2020-06-12 15:17:59,228 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1 2020-06-12 15:17:59,229 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1 2020-06-12 15:17:59,229 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test 2020-06-12 15:17:59,229 INFO o.a.j.s.FileServer: Close: D:/apache-jmeter-5.3/bin/JMeter Workspace/testdata1.csv 2020-06-12 15:17:59,230 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
Hi raghav, I've recorded the jmeter script from blaszemeter plugin and imported and JMETER and ran the script. I'm consistently getting login failure due to "Csrf token validation failed" . Can you please explain how to resolve this issue ?
Hi, I have dedicated my life to the mission of education. I keep 90% of all my teaching free for everyone so all can get this knowledge and share further. Can see here - automationstepbystep.com/online-courses/
Good morning sir - Sir i have a query that i have e mailed you on your mail id (raghavpal.automation@gmail.com) along error screen shot and csv file. Issue Description - while retrieving the data from csv file tool shows the first name last name instead of my name i.e Amit sharma that i have saved in csv file.
@@RaghavPal Ok Sir - the thing is while i saved my csv file with inserting some details like first name and last name and after onwards when i am executes the command through j meter it shows Request ${firstname} ${lastname} instead of the name that i have saved in my csv file i.e first name is Amit and last name is sharma ok one more thing sir going forward in case we need to share the error screen shot so how can we share?
Hi Amit, I will need to check how you have setup the CSV data set config. You can email me raghav.qna@gmail.com. I do not generally recommend emails as, the response on mails can get delayed
Raghav is great! Thank you so much for your detailed explanations of how to use JMeter. Following your training has worked much better with my style of learning. I really do appreciate all your effort to transfer your knowledge to us.
Great to know this Susan, Wish you all the best. Never Stop Learning
Hi Raghav! Can you please elaborate all the config elements discussed in this video with some demo examples/urls for better understanding?
I will plan for this Kshipra
@@RaghavPal Thanks!!
What is difference between elements under test plan directly VS as a sub child indrectly. Eg. java request under test plan directly vs under thread group ( means under test plan hierarchy indirectly).
these are diff levels, you can have multiple thread groups in a test plan, So if a request/element is added in a test plan, it will get executed as part of the test plan run, else you can add it inside a thread group and run the thread group
Hi Raghav..
Can you explain about config elements>keystore configuration in detail
Thank you
Dhana
In JMeter, the Keystore Configuration is a type of Config Element that allows you to specify a keystore containing certificates and private keys to be used for SSL/TLS connections. This is particularly useful when testing applications that require mutual authentication or client-side certificates
The Keystore Configuration element is used to define the keystore that JMeter will use to establish SSL/TLS connections. You can configure the keystore by specifying the following properties:
Keystore File
The path to the keystore file, which can be in JKS (Java KeyStore) or PKCS12 format.
Keystore Type
The type of keystore, which can be either JKS or PKCS12.
Keystore Password
The password used to access the keystore.
Key Alias
The alias of the key to be used for the SSL/TLS connection.
Here is an example of how you can configure the Keystore Configuration element in JMeter:
Keystore Configuration
+ Keystore File: path/to/keystore.jks
+ Keystore Type: JKS
+ Keystore Password: mypassword
+ Key Alias: mykey
By configuring the Keystore Configuration element, you can specify the keystore and certificates to be used for SSL/TLS connections, allowing JMeter to establish secure connections with the application under test.
Additionally, you can also specify the truststore configuration, which defines the trusted certificates that JMeter will use to verify the identity of the server.
Truststore File
The path to the truststore file, which can be in JKS (Java KeyStore) or PKCS12 format.
Truststore Type
The type of truststore, which can be either JKS or PKCS12.
Truststore Password
The password used to access the truststore.
Here is an example of how you can configure the Truststore Configuration element in JMeter:
Truststore Configuration
+ Truststore File: path/to/truststore.jks
+ Truststore Type: JKS
+ Truststore Password: mypassword
By configuring both the keystore and truststore, you can establish secure SSL/TLS connections with the application under test, allowing you to test scenarios that require mutual authentication or client-side certificates.
-
@@RaghavPal thank you for the detailed explanation.
Nice video.... but it is better for us if you use light theme of jmeter in all tutorials
Noted Nawaz, I cannot change the already created videos, but will try this on new videos
Hi Raghav, In the previous videos I didnt come across Format for Refereing the variables. Please, do explain it once.
I will check and add
i just tried same as your methood to login OrangeHRM but i found 7 result are passed and 7 are failed
please let me know where i was wrong
Ali, will be difficult to say without looking at your tests and setup.. I will suggest to check all the steps again and also see some online examples
Thank you so much Raghav for the amazing videos! God bless you
You're welcome Sunil, Thanks for the wishes
Very good stuff. Thanks!
Most welcome
What if we need random number upto infinity or else 64bit or else 32 bit should we just skip value as blank or should we have to specify maximum value
can try, can check the documentation too, OR use randomNum function
Great work sir, very nice of you to share this quality content. By the way do you have an idea how to encrypt credentials on HTTP authorization manager?
Hi, Don't have a direct ans. This info can help
bz.apache.org/bugzilla/show_bug.cgi?id=34321
www.jmeter-archive.org/How-to-mask-encrypt-values-sent-as-an-HTTP-request-parameter-td3200142.html
In which video did we learn how to use curly brackets ?
Hi Javlon, where is it referred
@@RaghavPal You mentioned we had learned how to use curly brackets in one of the previous videos.
But I have been watching all the video on the beginner series but haven't come across that video
Hi Javlon, it may be in Functions & Variables, I do not remember very well as it has been some time I created this playlist, You can check all here automationstepbystep.com/
@@RaghavPal bro how can I get in touch with you ?
Can write here or if something personal can email me
Any video to learn how to refer variable?
Hi Payal, you can check in JMeter playlists here - automationstepbystep.com/
Hi Raghav. Thanks for all the nice videos. I am following them and hope to brush-up jmeter in sometime. But I am facing a problem that the orangeHRM site is not accepting Admin/admin123 credentials. Can you tell any other such real-life like login application?
HI Rupesh, I checked this with credentials Admin | admin123 and it is working
If you still face issues can use any other website
How can we save data from the response and save it in a variable?
Hi Amir, You can use post-processor extractor elements. this will help
ua-cam.com/video/7-NcyZuUQnw/v-deo.html
ua-cam.com/video/3w0x6u4-6ng/v-deo.html
stackoverflow.com/questions/34463412/how-to-save-response-in-a-variable-in-jmeter
Hi Sir,Can you please tell me a real time use of counter and random variable config element.
Hi Veena, for counters check this - www.blazemeter.com/blog/how-use-counter-jmeter-test
The random variable config element is used to generate random numeric values within a range of specified minimum and maximum values. - it can be used whenever you need to generate any random values for e.g. You have a test where the input data is a number and you want to use a diff random number everytime. In this scenario instead of using a csv file or another way of hard coding, you can use this. examples.javacodegeeks.com/enterprise-java/apache-jmeter/jmeter-random-variable-example/
hi raghav, i am not able to save my test plan on jmeter and according to this video when i click on browse i get the following error on my log
ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger
what should i do
thanks
Hi Himanshu, pls check if this helps stackoverflow.com/questions/57190107/jmeter-why-get-error-when-try-to-save-test-plan/57194888
@@RaghavPal hi Raghav this worked!! Thank you
sir in this video for csv data set config, my second test also got failed. dont know the reason as it is not able to authenticate username and pwd. I tried to put usernname and pwd in HTTP authorization manager but that did not worked also ..its still failing ...my all encoding field is also checked..
Hi Neha, will have to see your setup
sir Raghav , cannot open template option,pls any help?
Hi Hazim, can be some diff in new version, Can check with this video - ua-cam.com/video/SoW2pBak1_Q/v-deo.html
@@RaghavPal sir Raghav when i add plazemeter-citrex plugin it opened the template but i did sow one option for citrix , and the other options didnt appeard. are there be another issue ? thanks
not sure on that, will need to check online
hi raghav,i recorded website actives form bad boy and exported jmx file .now when i import the same file in jmeter getting this error:-CannotResolveClassException: node and Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException: node
Hi Deepak, badboy is not stable, you can try JMeter HTTP Test Script recorder or Chrome blazemeter extenstion. ua-cam.com/video/zn1DSUZ6t64/v-deo.html
Sir , how to use
HtmlUnit Driver Config Elements
Hi Sagar, I will check and will try to create a session. For now you can take help from here - jmeter-plugins.org/wiki/HtmlUnitDriverConfig/
can you please let me know how i can connect Mysql server with SSH in jmeter?
Hi Amit, I have not checked and will have to see this online
@@RaghavPal No , problem thanks
I followed your steps, but in the tree result, it didnt show what i type in csv, instead it shows the $function name, can you tell what i did wrong?
Hi Axel, do you have any. logs or details for this
@@RaghavPal 2020-06-12 15:17:58,460 INFO o.a.j.s.FileServer: Set new base='D:\apache-jmeter-5.3\bin\JMeter Workspace'
2020-06-12 15:17:58,475 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2020-06-12 15:17:58,475 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-06-12 15:17:58,481 INFO o.a.j.p.j.s.JavaSampler: Created class: org.apache.jmeter.protocol.java.test.JavaTest. Uses tearDownTest:
2020-06-12 15:17:58,482 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2020-06-12 15:17:58,900 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2020-06-12 15:17:58,901 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false
2020-06-12 15:17:58,902 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-06-12 15:17:58,902 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-06-12 15:17:58,905 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2020-06-12 15:17:58,906 INFO o.a.j.s.FileServer: Stored: D:/apache-jmeter-5.3/bin/JMeter Workspace/testdata1.csv
2020-06-12 15:17:59,228 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1
2020-06-12 15:17:59,229 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2020-06-12 15:17:59,229 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-06-12 15:17:59,229 INFO o.a.j.s.FileServer: Close: D:/apache-jmeter-5.3/bin/JMeter Workspace/testdata1.csv
2020-06-12 15:17:59,230 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
Pls show me the syntax you are referring in the exact request setup
@@RaghavPal i know its late but I already solved it, thanks for the help your tutorials are awesome
Hi raghav, I've recorded the jmeter script from blaszemeter plugin and imported and JMETER and ran the script. I'm consistently getting login failure due to "Csrf token validation failed" . Can you please explain how to resolve this issue ?
Hi Sumit, you will need to add token in your request. Check this - sqa.stackexchange.com/questions/33648/login-with-jmeter-for-performance-testing
@@RaghavPal Thanks Sir. Btw your explanations of all JMETER concepts are amazing.
Change word Meter to Jmeter in the title. Otherwise another good tutorial :)
Done Muhtadi . Thanks
Sir why are u giving these videos for free ?
Please reply
Hi, I have dedicated my life to the mission of education. I keep 90% of all my teaching free for everyone so all can get this knowledge and share further. Can see here - automationstepbystep.com/online-courses/
Hi Raghav is this video badic learners or mid learners,I don’t have any experience in j meter do you’ve any vid that I can learn from basics .thanks
@@RaghavPal thank u so much, teachers like u are blessing for students.
You can start from scratch here - automationstepbystep.com/online-courses/
Thanks
hi Raghav - will you please share your contact details, as i am unable to export jmx file through blaze meter
Hi Amit, you can let me know here the issues you are facing. Can also try this - converter.blazemeter.com/
@@RaghavPal - thanks Raghav its done now, actually i need to login into blazemeter to export the file through jmx..
thank you so much!!
Good morning sir -
Sir i have a query that i have e mailed you on your mail id (raghavpal.automation@gmail.com) along error screen shot and csv file.
Issue Description - while retrieving the data from csv file tool shows the first name last name instead of my name i.e Amit sharma that i have saved in csv file.
Hi Amit, you can describe the issue here in detail, I may not be able to communicate through email
@@RaghavPal Ok Sir - the thing is while i saved my csv file with inserting some details like first name and last name and after onwards when i am executes the command through j meter it shows Request ${firstname} ${lastname} instead of the name that i have saved in my csv file i.e first name is Amit and last name is sharma
ok one more thing sir going forward in case we need to share the error screen shot so how can we share?
Hi Amit, I will need to check how you have setup the CSV data set config.
You can email me raghav.qna@gmail.com. I do not generally recommend emails as, the response on mails can get delayed
@@RaghavPal - Sent sir