JMeter Beginner Tutorial 26 - How to DEBUG

Поділитися
Вставка
  • Опубліковано 2 лис 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

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

  • @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:
      ua-cam.com/play/PLhW3qG5bs-L-zox1h3eIL7CZh5zJmci4c.html
      ua-cam.com/play/PLhW3qG5bs-L-PpK83CC_m_bWd_722tvgk.html
      ua-cam.com/play/PLhW3qG5bs-L_Eosy1Nj1tKHC5jcBAVkPb.html

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

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

  • @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
      ua-cam.com/video/K26q5VgwLKk/v-deo.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

  • @harshamhase5011
    @harshamhase5011 6 років тому +1

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

    • @RaghavPal
      @RaghavPal  6 років тому +1

      Hi Harsha, I will do that in some time.

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

    nice explanation !!! very useful

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

      Happy to know this Layan

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

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

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

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

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

  • @varamannengi2845
    @varamannengi2845 6 років тому

    Thanks for sharing helpful videos

  • @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 - ua-cam.com/video/7JI3GD0ifTw/v-deo.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

  • @mannemdivya3045
    @mannemdivya3045 7 років тому +1

    nice videos......

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

    Nice explanation

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

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

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

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

    thank you boss.. :-)

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

      You're welcome Sameera