JMeter Beginner Tutorial 7 - Config Elements | Step by Step

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 81

  • @susanperry8283
    @susanperry8283 Рік тому

    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.

    • @RaghavPal
      @RaghavPal  Рік тому

      Great to know this Susan, Wish you all the best. Never Stop Learning

  • @kshipra4504
    @kshipra4504 4 роки тому +2

    Hi Raghav! Can you please elaborate all the config elements discussed in this video with some demo examples/urls for better understanding?

    • @RaghavPal
      @RaghavPal  4 роки тому

      I will plan for this Kshipra

    • @kshipra4504
      @kshipra4504 4 роки тому

      @@RaghavPal Thanks!!

  • @truepakistani9604
    @truepakistani9604 3 роки тому +1

    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).

    • @RaghavPal
      @RaghavPal  3 роки тому

      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

  • @dhanasree12
    @dhanasree12 21 день тому

    Hi Raghav..
    Can you explain about config elements>keystore configuration in detail
    Thank you

    • @RaghavPal
      @RaghavPal  19 днів тому

      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.
      -

    • @dhanasree12
      @dhanasree12 19 днів тому

      @@RaghavPal thank you for the detailed explanation.

  • @nawazzaidi85
    @nawazzaidi85 3 роки тому +1

    Nice video.... but it is better for us if you use light theme of jmeter in all tutorials

    • @RaghavPal
      @RaghavPal  3 роки тому

      Noted Nawaz, I cannot change the already created videos, but will try this on new videos

  • @Suran21
    @Suran21 Рік тому

    Hi Raghav, In the previous videos I didnt come across Format for Refereing the variables. Please, do explain it once.

  • @user-ws3lf2zd9w
    @user-ws3lf2zd9w 3 місяці тому +1

    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

    • @RaghavPal
      @RaghavPal  3 місяці тому +1

      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

  • @sunilkumar-sz1gh
    @sunilkumar-sz1gh 4 роки тому

    Thank you so much Raghav for the amazing videos! God bless you

    • @RaghavPal
      @RaghavPal  4 роки тому

      You're welcome Sunil, Thanks for the wishes

  • @Star-vg7ix
    @Star-vg7ix 3 роки тому

    Very good stuff. Thanks!

  • @truepakistani9604
    @truepakistani9604 3 роки тому

    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

    • @RaghavPal
      @RaghavPal  3 роки тому

      can try, can check the documentation too, OR use randomNum function

  • @SriIntelligence
    @SriIntelligence 4 роки тому

    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?

    • @RaghavPal
      @RaghavPal  4 роки тому

      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

  • @javlontursunov6527
    @javlontursunov6527 2 роки тому

    In which video did we learn how to use curly brackets ?

    • @RaghavPal
      @RaghavPal  2 роки тому

      Hi Javlon, where is it referred

    • @javlontursunov6527
      @javlontursunov6527 2 роки тому

      @@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

    • @RaghavPal
      @RaghavPal  2 роки тому

      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/

    • @javlontursunov6527
      @javlontursunov6527 2 роки тому

      @@RaghavPal bro how can I get in touch with you ?

    • @RaghavPal
      @RaghavPal  2 роки тому

      Can write here or if something personal can email me

  • @payalsethi1526
    @payalsethi1526 4 роки тому

    Any video to learn how to refer variable?

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Payal, you can check in JMeter playlists here - automationstepbystep.com/

  • @rupshaghosh116
    @rupshaghosh116 3 роки тому

    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?

    • @RaghavPal
      @RaghavPal  3 роки тому

      HI Rupesh, I checked this with credentials Admin | admin123 and it is working
      If you still face issues can use any other website

  • @amirsikandar4444
    @amirsikandar4444 4 роки тому

    How can we save data from the response and save it in a variable?

    • @RaghavPal
      @RaghavPal  4 роки тому

      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

  • @veenaprasad6330
    @veenaprasad6330 4 роки тому

    Hi Sir,Can you please tell me a real time use of counter and random variable config element.

    • @RaghavPal
      @RaghavPal  4 роки тому

      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/

  • @himanshudx24
    @himanshudx24 3 роки тому

    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

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      Hi Himanshu, pls check if this helps stackoverflow.com/questions/57190107/jmeter-why-get-error-when-try-to-save-test-plan/57194888

    • @himanshudx24
      @himanshudx24 3 роки тому

      @@RaghavPal hi Raghav this worked!! Thank you

  • @nehamishra7974
    @nehamishra7974 3 роки тому

    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
      @RaghavPal  3 роки тому

      Hi Neha, will have to see your setup

  • @hazimabdoh6303
    @hazimabdoh6303 Рік тому

    sir Raghav , cannot open template option,pls any help?

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Hazim, can be some diff in new version, Can check with this video - ua-cam.com/video/SoW2pBak1_Q/v-deo.html

    • @hazimabdoh6303
      @hazimabdoh6303 Рік тому

      @@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

    • @RaghavPal
      @RaghavPal  Рік тому

      not sure on that, will need to check online

  • @DEEPAKBHATTtester
    @DEEPAKBHATTtester 4 роки тому

    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
      @RaghavPal  4 роки тому +1

      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

  • @sagaryenkar9441
    @sagaryenkar9441 4 роки тому

    Sir , how to use
    HtmlUnit Driver Config Elements

    • @RaghavPal
      @RaghavPal  4 роки тому

      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/

  • @AmitPal-vu1ft
    @AmitPal-vu1ft 4 роки тому

    can you please let me know how i can connect Mysql server with SSH in jmeter?

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Amit, I have not checked and will have to see this online

    • @AmitPal-vu1ft
      @AmitPal-vu1ft 4 роки тому +1

      @@RaghavPal No , problem thanks

  • @chubbyman2564
    @chubbyman2564 4 роки тому

    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?

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Axel, do you have any. logs or details for this

    • @chubbyman2564
      @chubbyman2564 4 роки тому

      @@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*)

    • @RaghavPal
      @RaghavPal  4 роки тому

      Pls show me the syntax you are referring in the exact request setup

    • @chubbyman2564
      @chubbyman2564 4 роки тому

      @@RaghavPal i know its late but I already solved it, thanks for the help your tutorials are awesome

  • @sumitsaha9782
    @sumitsaha9782 4 роки тому

    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 ?

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      Hi Sumit, you will need to add token in your request. Check this - sqa.stackexchange.com/questions/33648/login-with-jmeter-for-performance-testing

    • @sumitsaha9782
      @sumitsaha9782 4 роки тому

      @@RaghavPal Thanks Sir. Btw your explanations of all JMETER concepts are amazing.

  • @muhtadizubair6676
    @muhtadizubair6676 3 роки тому

    Change word Meter to Jmeter in the title. Otherwise another good tutorial :)

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      Done Muhtadi . Thanks

  • @dhonicricketworld3271
    @dhonicricketworld3271 5 років тому +1

    Sir why are u giving these videos for free ?
    Please reply

    • @RaghavPal
      @RaghavPal  5 років тому +7

      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/

    • @pb6096
      @pb6096 5 років тому +1

      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

    • @dhonicricketworld3271
      @dhonicricketworld3271 5 років тому +1

      @@RaghavPal thank u so much, teachers like u are blessing for students.

    • @RaghavPal
      @RaghavPal  5 років тому

      You can start from scratch here - automationstepbystep.com/online-courses/

    • @RaghavPal
      @RaghavPal  5 років тому

      Thanks

  • @amitsharma9086
    @amitsharma9086 4 роки тому +1

    hi Raghav - will you please share your contact details, as i am unable to export jmx file through blaze meter

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Amit, you can let me know here the issues you are facing. Can also try this - converter.blazemeter.com/

    • @amitsharma9086
      @amitsharma9086 4 роки тому

      @@RaghavPal - thanks Raghav its done now, actually i need to login into blazemeter to export the file through jmx..
      thank you so much!!

  • @amitsharma9086
    @amitsharma9086 4 роки тому

    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
      @RaghavPal  4 роки тому

      Hi Amit, you can describe the issue here in detail, I may not be able to communicate through email

    • @amitsharma9086
      @amitsharma9086 4 роки тому

      @@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?

    • @RaghavPal
      @RaghavPal  4 роки тому

      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

    • @amitsharma9086
      @amitsharma9086 4 роки тому

      @@RaghavPal - Sent sir