JMeter Beginner Tutorial 26 - How to DEBUG

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 68

  • @kirandeshmukh8126
    @kirandeshmukh8126 6 ปีที่แล้ว +2

    Hi Raghav,
    I gone through all video's of jmeter and it is easy to understand,Nice explanation. Due to this video's, I improved my Performance Testing skill. Thank You!!!

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      This is great to know Kiran

  • @angaraprasanna1274
    @angaraprasanna1274 7 ปีที่แล้ว +3

    Superb Sessions ... Nice Explanation and timing...Please do videos on Browser Compatibility Testing using free tools

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Sure Angara will do it.

  • @kolotushkinapushkina8900
    @kolotushkinapushkina8900 4 ปีที่แล้ว +1

    Hi Raghav!
    Thanks for your videos, I like the way you explain details. I have a question: you say that listeners consume a lot of memory, but do they affect somehow when I run tests on non-gui mode with command line?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Hi Рауш, When you run from command line and you just add the -l argument to store the results in a simple file, then it is fine, unless you are using any graphical listeners

  • @najatibaline5766
    @najatibaline5766 7 ปีที่แล้ว +2

    Hey Raghav, thanks a lot for these videos they are so helpful.
    Can you please tell us how to read/understand/analyze JMeter Results ?

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Najat, thanks for watching. I have covered results anaysis in most of the videos. You will find them in these playlists:
      th-cam.com/play/PLhW3qG5bs-L-zox1h3eIL7CZh5zJmci4c.html
      th-cam.com/play/PLhW3qG5bs-L-PpK83CC_m_bWd_722tvgk.html
      th-cam.com/play/PLhW3qG5bs-L_Eosy1Nj1tKHC5jcBAVkPb.html

  • @rijophilip737
    @rijophilip737 5 ปีที่แล้ว +1

    Hello Raghav,
    Can we add multiple threads under a test plan like thread 1 of 40 users, thread 2 of 100 users and so on.. I want to do load testing by keeping multiple sets of users under test plan node. Is it possible?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Rijo, Yes you can create multiple thread groups. Also check Ultimate thread group

  • @neelimapatnaik4327
    @neelimapatnaik4327 ปีที่แล้ว

    Hi Raghav, How to utilise the variables values received in debug sampler to next request

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Hi Neelima,
      In JMeter, you can use the variables values received in a Debug Sampler to the next request by using the JMeter built-in variables ${} syntax to refer to the variables in your subsequent requests.
      Here are the steps to utilize the variables values received in a Debug Sampler to the next request:
      Add a Debug Sampler in your Test Plan.
      In the Debug Sampler, add the variables that you want to use in the next request. You can add variables using the "Add" button and selecting the appropriate variable type.
      In your subsequent request, you can refer to the variable using the ${} syntax. For example, if you added a variable called "myVariable" in the Debug Sampler, you can refer to it in your subsequent request as ${myVariable}.
      When the subsequent request is executed, the variable value will be substituted with the actual value obtained from the Debug Sampler.
      Note: The variable names in the Debug Sampler are case-sensitive, so make sure that you are using the correct variable name when referring to it in your subsequent requests.
      Here's an example of how to use a variable value received from a Debug Sampler in a subsequent HTTP request:
      Add a Debug Sampler that extracts a value from a response.
      Add a Regular Expression Extractor to extract the value from the response.
      Set the "Name of created variable" field to a name for the variable (e.g. "myVariable").
      In the subsequent HTTP request, use ${myVariable} in the request body or parameters to use the value extracted by the Debug Sampler.
      When the subsequent HTTP request is executed, the value extracted by the Debug Sampler will be used in the request

  • @allabouttesting1649
    @allabouttesting1649 4 ปีที่แล้ว

    Hi raghav, Am refereing your tutorils for learning jmeter. and its very helpful. plz answer to my question ----- Every time response is different in listener for the same test plan with same threads and ramp up period

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Ashwini, there can be some minute diff as it depends on network, server load, env etc.

    • @allabouttesting1649
      @allabouttesting1649 4 ปีที่แล้ว

      hi, I have set cps value in JMeter.properties file even though it gives different results.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Ashwini, as said some minute diff is okay and it may be due to network, env etc. In case the diff is huge we can troubleshoot

  • @ramangal
    @ramangal 6 ปีที่แล้ว

    Hey Raghav ,, thanks for ur amazing efforts but can you please elaborate the debugging element with 1 example atleast. thanks

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      I will do it Rajesh.

  • @raninimbalkar542
    @raninimbalkar542 3 ปีที่แล้ว

    Hi Raghav, I am getting Connection pool shut down and socket exception issue, not able to resolve it since long, can you help

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Rani, pls check all the db parameters, url, credentials are correct, Ensure you are using the correct jdbc jar file

  • @LayanSooriyaarachchi
    @LayanSooriyaarachchi 5 ปีที่แล้ว

    nice explanation !!! very useful

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Happy to know this Layan

  • @sunilsidramappa7283
    @sunilsidramappa7283 2 ปีที่แล้ว

    Hi Raghav!
    Thanks for your videos. I have a question: How to Debug test in non-GUI mode with the command line? Because when I run in GUI test get pass but in non-GUI mode I passing some parameters from CLI to backend listener using ${__P()} because of which I getting "java.lang.IllegalStateException"

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Sunil, most probably, the syntax or options used in command is incorrect, Pls see some examples
      th-cam.com/video/K26q5VgwLKk/w-d-xo.html

  • @MadhuBala-vr9tk
    @MadhuBala-vr9tk 6 ปีที่แล้ว +1

    Thanks for the videos.. Can you let me know how we can find the web element which takes more time to load?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Madhu, i hope you are referring to analysing samplers that take more than some specific time. You can use duration assertion for that.

    • @MadhuBala-vr9tk
      @MadhuBala-vr9tk 6 ปีที่แล้ว

      No Raghav. Duration assertion is to assert if the time doesn't exceed a particular duration. But I wanted to get the larger object (object that takes more time to load) in a web page using jmeter. Is there any possibility to get that?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Madhu, in case you are looking for elements/objects within a web page that takes more time to load, you can start with analysing the same with browser dev tools. Like in chrome dev tools you can see the network tab. You can then use performance profiling tools also.

    • @MadhuBala-vr9tk
      @MadhuBala-vr9tk 6 ปีที่แล้ว

      Yes Raghav. Thanks for the reply. I would like to know there is any possibility do it from jmeter like how chrome network tab works.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Not exactly with JMeter

  • @anuragm7835
    @anuragm7835 3 ปีที่แล้ว

    Hi ..while trying to do the performance some API throwing 403 status code with the error message as access denied .tested manually no error is throwing .
    can you please give me some suggestion to fix the issue

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      mostly some issue with your request setup, check if you have added all required headers, check the url and all req parameters again

  • @MrVijayvideo
    @MrVijayvideo 4 ปีที่แล้ว

    Nice explanation

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks Vijay

  • @ramakrishnants7826
    @ramakrishnants7826 4 ปีที่แล้ว

    Hi Raghav, plz upload some videos on pre processors as well

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Sure Ram, will do it

  • @varamannengi2845
    @varamannengi2845 6 ปีที่แล้ว

    Thanks for sharing helpful videos

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome Vara

  • @mannemdivya3045
    @mannemdivya3045 7 ปีที่แล้ว +1

    nice videos......

  • @harshamhase5011
    @harshamhase5011 5 ปีที่แล้ว +1

    Hi Raghav,
    Can you upload beanshell scripting video's?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      Hi Harsha, I will do that in some time.

  • @avyukthghana8808
    @avyukthghana8808 2 ปีที่แล้ว

    hi,,,shall find 404,301 response code using jmeter..If yes plz tell how

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You can create website crawler, can see some examples

  • @kanaparthiprathima6353
    @kanaparthiprathima6353 6 ปีที่แล้ว

    nice explanation.Could u plz make video on bean shell scriptingn and littles law

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      I will plan for it Kanaparthi

  • @yazh403
    @yazh403 2 ปีที่แล้ว

    Hi .. teardown threadgroup getting some xsrf value from setupthreadgroup .
    That values passed successfully in teardown but getting 401 error in Teardown.
    How to resolve this @

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Yazh, have you confirmed that the right value is getting passed, also check the syntax, spaces etc. Can try step by step debugger - th-cam.com/video/7JI3GD0ifTw/w-d-xo.html

    • @yazh403
      @yazh403 2 ปีที่แล้ว

      @@RaghavPal
      1.If i keep all apis in single threadgroup ,its run well
      2.if i keep login part setupthreadgroup and remaining things teardown threadgroup.its not working.
      3. I checked xsrf toke .the Setupthreadgroup passed correct values and teardowngroup also getting correct values only .
      But y its throws 401 error ? I couldn't find it.
      I also checked many logics ....still not working ...plz do the needful help

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      will need to check the setup completely and I may not get time for that, the best thing will be to check some similar online examples

    • @yazh403
      @yazh403 2 ปีที่แล้ว

      @@RaghavPal its takes 5 min .if u give ur number,i will contact 5 min

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      I have to be consistent with all my viewers, and so I cannot do direct calls. Hope you understand

  • @ganeshghodke3981
    @ganeshghodke3981 7 ปีที่แล้ว

    Hi Raghav,is there any your tutorial for how to design script like Login?

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Ganesh, not sure if i have covered login scenario, but you can apply the same concepts and can also find info online.

  • @leeladevi4614
    @leeladevi4614 7 ปีที่แล้ว

    Can u help me how to create thread for add/edit functionality

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Leela, could not get exactly what you are looking for. If this a scenario in your application ?

  • @amollubal5575
    @amollubal5575 5 ปีที่แล้ว

    how to use j meter tool for SSO login functionality

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Amol, pls see if this helps - www.blazemeter.com/blog/how-load-test-saml-sso-secured-websites/

  • @dhirendramishra2571
    @dhirendramishra2571 7 ปีที่แล้ว

    Hey can you tell me how to write custom sampler in java to test my own client for which I have libraries available.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Dhirendra, could not completely get your need. You want to create a custom sampler to use inside JMeter ?

    • @abishekkachroo938
      @abishekkachroo938 7 ปีที่แล้ว

      I have one Question
      If I have to execute 500 times in a loop of 5
      I will do it via command line in local or in Server
      But then how will i be able to check the debug that u have brought

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Abhishek, for command line run, there are logs generated on the console. Although you can pipe the report of debug sampler to some log file, this is basically needed while creating and debugging your tests.

    • @abishekkachroo938
      @abishekkachroo938 7 ปีที่แล้ว

      Thanks for the reply
      But still If i have to execute it on my native mobile application
      Can i do it using Command Line
      and one more thing I followed your video for recording the action on my native mobile app but the result was not "View Result Tree"
      Waiting for your reply
      And you are doing a gr8 job.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      did you get any logs for this.

  • @SameeraSenarathna
    @SameeraSenarathna 5 ปีที่แล้ว

    thank you boss.. :-)

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Sameera