JMeter Top most asked Interview Questions | JMeter refresher by Raghav Pal |

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

КОМЕНТАРІ • 112

  • @NeverStopLearning56
    @NeverStopLearning56 9 місяців тому +1

    Do we have any scenario based interview questions?

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

      This video covers some of the scenarios. I will plan to add more in future. In the daily quizzes most of the questions are scenario based - www.youtube.com/@RaghavPal/community
      Here you will need to search with JMeter

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

    One of the greatest thing and I like the second most thing from Raghav Pal is adding the notes in the description. The first thing I love the most is his explanation of topics made the learning at ease and less stressful. This is very useful for a reason. Than you Raghav Pal for contributing the knowledge to others. Keep doing the good work sir

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

      Thanks a ton Ramana..thanks for your kind words. humbled

  • @vipintekade6400
    @vipintekade6400 Рік тому +1

    Hi Raghav please make a video for Jmeter performance testing using beanshell interview questions?

  • @adarshjain2745
    @adarshjain2745 2 роки тому +1

    Hi raghav asking feom interviews perspective and realtim work.. Does one needs to have scripting coding knowledgea for performance testing and that also in jmeter...? Like bash scripting would be required...

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

      Hi Adarsh, this will ans your query - ua-cam.com/video/LGBd4qSt3JM/v-deo.html

  • @vybhaveswaraiah7114
    @vybhaveswaraiah7114 2 роки тому +2

    Thank you so much Sir for uploading this, really very helpful. Almost every company asks for Jmeter experience these days when we look for Performance Testing role, please let me know if this content is enough for me to clear the interview as well as to clear the Official Jmeter Intro Certification Exam ??

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

      Hi Vybhav, you will need to do hands-on, Can find tutorials here - automationstepbystep.com/

    • @vybhaveswaraiah7114
      @vybhaveswaraiah7114 2 роки тому +1

      @@RaghavPal Sure, thanks a lot. I am happy to inform that I have cleared the Blazemeter Jmeter Intro level certification.The Blazemeter University course also helped me in interview preparation for Jmeter to an extent. Thank you so much once again for the Jmeter Tutorial playlist which really helped me to understand the Jmeter concepts well and hence to be able to successfully get certified in Jmeter Intro level ☺️

  • @modernlifemanager7146
    @modernlifemanager7146 2 дні тому

    Hello Raghav
    I have one question related to Neoload. Can you please help me with a short video.
    In Neoload, I am correlating the whole response body and printing it in a javascript through assigning it in a variable. Now, I want to access any of its key pair value but not able to do so. For example if the Response body contains some value let's say "name": "Raghav" and I want to get this name in a variable and want to print in the console using JavaScript in Neoload. Please help.

    • @RaghavPal
      @RaghavPal  2 дні тому +1

      Hi
      Making a video on this can take time. For now let's break down how you can access and extract key-value pairs from a Neoload response body using JavaScript.
      Step 1: Capture the Entire Response Body
      You're already doing this part correctly. You've likely used a variable extractor in Neoload to store the entire response body in a variable. Let's assume this variable is called responseBody
      Step 2: Parse the Response Body (Assuming it's JSON)
      In most cases, API responses are in JSON format. So, we'll need to parse the response body string into a JavaScript object to work with it.
      JavaScript
      var responseObject = JSON.parse(responseBody);
      Use code with caution.
      Step 3: Access the Desired Key-Value Pair
      Now that you have a JavaScript object, you can access the value associated with the "name" key like this:
      JavaScript
      var nameValue = responseObject.name;
      Use code with caution.
      Step 4: Print the Value to the Console
      Finally, let's print the extracted nameValue to the Neoload console:
      JavaScript
      console.log("Extracted Name: " + nameValue);
      Use code with caution.
      Putting it Together
      Here's the complete JavaScript code snippet you can use in Neoload:
      JavaScript
      var responseObject = JSON.parse(responseBody);
      var nameValue = responseObject.name;
      console.log("Extracted Name: " + nameValue);
      Use code with caution.
      Important Notes:
      Error Handling: It's always good practice to add some error handling in case the response body isn't valid JSON or the "name" key doesn't exist.
      Nested Keys: If the "name" key is nested deeper within the JSON structure, you'll need to adjust the access accordingly (e.g., responseObject.data.user.name).
      Other Data Formats: If your response body isn't in JSON, you might need to use a different parsing method depending on the format (e.g., XML parsing for XML responses)
      -

    • @modernlifemanager7146
      @modernlifemanager7146 2 дні тому

      @@RaghavPal first of all, thank you so much for the response. Really appreciated.
      Yes, my response is in JSON. I tried the above method but it's not returning anything. I am getting some error ( I will share the error soon). However I will try once again with your code and keep you posted.

  • @sakthivel-hj1ry
    @sakthivel-hj1ry 2 роки тому +1

    Hello Raghav sir, could you please upload video for mobile performance testing, I'm not able to record the script for mobile application, i referred your videos eventhough not able to record the script, can you please help us

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

      Hi Sakthi, the existing videos are already published, will need to check online

  • @vinodcse592
    @vinodcse592 2 роки тому +2

    You are simple and cool tutor. Unique Guy. Keep it..

  • @shotongopro3291
    @shotongopro3291 2 роки тому +1

    Hi raghav, could you please attach a PDF for the interview question

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

      Sure, I have added all notes in description too

  • @abdulmuneer9549
    @abdulmuneer9549 Місяць тому

    Can we do performance test in Production environment??

    • @RaghavPal
      @RaghavPal  Місяць тому

      Adbul
      You can do, but have to be careful and proceed only after taking necessary permissions and approvals
      Here are some key points to keep in mind:
      1. Impact on Users: Performance tests can generate significant load, which might affect the experience of real users. It's crucial to schedule tests during off-peak hours or when user activity is minimal.
      2. Monitoring and Alerts: Ensure you have robust monitoring and alerting systems in place to quickly identify and mitigate any issues that arise during testing.
      3. Data Integrity: Be cautious about the data being used and generated during tests. Use test data that won't interfere with real user data or business operations.
      4. Scalability Testing: Production environments are ideal for scalability testing because they reflect real-world conditions. However, make sure to gradually increase the load to avoid sudden spikes that could crash the system.
      5. Legal and Compliance: Ensure that performance testing in production complies with any legal or regulatory requirements, especially if sensitive data is involved.
      6. Backup and Recovery: Have a backup and recovery plan in place in case the performance test causes unexpected issues.
      7. Communication: Inform stakeholders and users about the testing schedule and potential impacts to avoid confusion and manage expectations.
      --

  • @harish6080
    @harish6080 2 роки тому +1

    Sir can u provide neoload and load runner detailed tutorials plss it would be very helpful to u

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

      Hi Harish, I will plan

  • @swathypremdas1929
    @swathypremdas1929 2 роки тому +1

    Thanks a lot Raghav.. I have a performance testing interview on this Saturday. I have completed your jmeter beginners entire course and this one. Also in my current project I have created simple test plans also.. Is it enough for this interview? Do I need to check on intermediate level videos also?

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

      Hi Swathy, if you have done good hands-on, it should be fine

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

    When we load Url of my project . Microsoft login page appear and has api as ' authorize?client_id' it has a parameter client-request-id from where value is appear . And how to automate through jmeter. Simply asking how to correlate client-request-id

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

      Hi Prem,
      In order to automate the Microsoft login page using JMeter, you will need to extract the value of the "client_request_id" parameter and use it in subsequent requests
      Here are the steps you can follow:
      Add a "HTTP Request" sampler to your test plan and configure it to load the URL of your project
      Add a "Regular Expression Extractor" post-processor to the "HTTP Request" sampler, and configure it to extract the value of the "client_request_id" parameter from the response. Use the following regular expression: "client_request_id=(.+?)&" and set the "Reference Name" to something like "client_request_id"
      Add another "HTTP Request" sampler for the authorize API and configure it to use the extracted "client_request_id" value as a parameter. You can use the ${client_request_id} variable to reference the extracted value
      Ensure that the "Regular Expression Extractor" is placed after the sampler and the value is being stored to use it in the next sampler.
      Run your test and check the results, you will see the client_request_id is being passed in the authorize API.
      You can also use "Debug Sampler" to check the extracted value of the client-request-id
      note: above steps are based on the assumption that the client_request_id value is being passed in the response of the first request. If the value is being passed in another way, you will have to adjust the steps accordingly

  • @nilambhoir26
    @nilambhoir26 2 роки тому +1

    Very helpful..Appreciate u r hardwork👏

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

    Humble request :-. Try to show demo in windows laptop.
    Your most of videos are in Mac OS.
    🙏

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

      Sure Madhav, this was mostly on windows

  • @SarangHoley
    @SarangHoley 2 роки тому +1

    Thanks @Raghav for the video 👍🙂

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

    Hii Raghav ...iam having one issue ...iam working in for one of the MNC ..iam working as performance tester using jmter...my issue is after recording. body(not response body) data is commenting.which ever data is passing in the body entire data is commented. Commucated with development team as well .they said that body of data containing the application URL..cause of forward slash (//) tool is commenting data.
    Is there any way to over come this issue . Can u let me know the resolution if having any idea about data commented in body.
    Thank you in advance

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

      will need some example Ayana

  • @balajikammili7659
    @balajikammili7659 10 місяців тому

    brother please do video about data base

    • @RaghavPal
      @RaghavPal  10 місяців тому

      I will plan Balaji.

  • @SineQuaNon1
    @SineQuaNon1 Рік тому +1

    Thanks Raghav. As always, a very useful video. You are a great teacher.

  • @aryaabinash8418
    @aryaabinash8418 2 роки тому +1

    Hi Raghav Sir, this is helpful and thanks for helping so many with your teaching.
    Your channel is so good that I have two subscriptions with different accounts.
    I have one question, can you please make a video in which we can know the real customer scenarios for JMeter test with API testing from your experience.
    Some real time customer scenarios.
    Also how to use the Groovy inside the JMeter and use it.
    Thanks

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

      I will do Arya, thanks

    • @naazmajeed1636
      @naazmajeed1636 2 місяці тому

      @@RaghavPal Thank you for you tutorials - just checking to see if you have made this video - Real scenario performance testing if yes could you please point me to the video?

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

    Hi Raghav, in loadrunner we have 3 pacing options, and almost we go with -start new iteration at fixed intervals every **** seconds ..... Let's assume me have given 60 sec as pacing and our iteration is taking 58sec then it will wait for 2 sce before starting the nxt iteration and if the iteration is taking 62 sec then the nxt iteration starts immediately without any wait time.... How can we implement this in Jmeter?

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

      Hi Sandhya,
      In JMeter, you can implement a similar pacing option using a Constant Timer element.
      Here are the steps to implement the pacing option:
      Add a Constant Timer element under the Thread Group element in your test plan.
      Set the "Thread Delay" value to the desired pacing time in milliseconds. For example, if you want to wait for 60 seconds between iterations, set the "Thread Delay" value to 60000.
      Set the "Calculate Throughput based on" value to "this thread only". This will ensure that the pacing time is applied per thread and not across all threads in the test plan.
      If your iteration takes less time than the pacing time, the Constant Timer will add a delay to wait until the next pacing time. If your iteration takes longer than the pacing time, the Constant Timer will not add any additional delay before starting the next iteration.
      Note: The Constant Timer element will add a delay after each sampler element in the thread group, so make sure to place it at the end of the thread group if you want to apply the pacing time to the entire thread group.
      I hope this helps! Let me know if you have any other questions.

  • @poojakulkarni-m6f
    @poojakulkarni-m6f Рік тому

    Hi Where do I put the auth token ?

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

      Pooja
      You can put the auth token in JMeter in a few different places, depending on how you want to use it.
      *HTTP Header Manager*
      The most common place to put the auth token is in the HTTP Header Manager. This will allow you to send the auth token with all of your requests.
      To add the auth token to the HTTP Header Manager, follow these steps:
      1. Right-click on the Test Plan and select Add > Config Element > HTTP Header Manager.
      2. In the HTTP Header Manager, add a new header with the following name and value:
      ```
      Name: Authorization
      Value: Bearer {token}
      ```
      Replace `{token}` with your auth token.
      *User Defined Variables*
      Another way to put the auth token in JMeter is to use a User Defined Variable. This allows you to store the auth token in a central location and then use it in multiple requests.
      To add the auth token to a User Defined Variable, follow these steps:
      1. Right-click on the Test Plan and select Add > Config Element > User Defined Variables.
      2. In the User Defined Variables window, add a new variable with the following name and value:
      ```
      Name: auth_token
      Value: {token}
      ```
      Replace `{token}` with your auth token.
      *Once you have added the auth token to JMeter, you can use it in your requests by referencing the variable name.* For example, to send the auth token in the header of a request, you would use the following expression:
      ```
      ${auth_token}
      ```
      *Which method you choose to use depends on your specific needs and preferences.* The HTTP Header Manager is the most common method, but using User Defined Variables can be useful if you need to use the auth token in multiple requests.
      I hope this helps

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

    Thank you very much raghav, watching your video before going for a performance testing consultant role interview ❤

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

      Great to know Abhishek. All the best

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

    Most Waited Video..thanks for uploading video....
    RAGHAV Sir today your Look changed..
    Its Good..to See..🙂🙂

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

    In view result tree(http request) some of the response has been failed .So how to what's the error? why failed? please ans

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

      Hi Deepak, for that you can add assertions and also add assertion listener

  • @lavanyatankala6094
    @lavanyatankala6094 3 місяці тому

    Very nicely explained - novice to beginner level can definitely clear the interview .. Raghav ji Please make some zero to hero series to learn it more

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

      Sure, will do Lavanya.. thanks

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

    Video is just awesome👍it really helpful for me..Thank you so much... Keep going ..😊

  • @PoojaIngole-zm4bz
    @PoojaIngole-zm4bz Рік тому

    Hi Raghav..this is very useful video for interview..thanks for helping us.

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

    Hi Raghav,
    I am Avanthi and having 10years of experience in manual testing....now I wanna learn any other tool....i do not know ABC of coding.....
    I request you to suggest me what would I learn....is it selenium testing or performance testing or any other tools...
    Please Raghav....i request you to suggest

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

      Hello Avanthi.. So if you want to move into Automation as many companies these days are expecting us to know it, you can first select any programming language(Java /Javascript) and clear the basics and then move on with any of the UI testing tools like Selenium, Cypress or Playwright and start learning and mastering it and start developing a framework, Similarly if you want to go for Api testing you can select Rest Assured,Soap UI, Karate framework etc and start mastering it, If you want to go into mobile testing you can select Appium as it is most popular and used everywhere.. But if you feel that your coding is weak ,you can go ahead with the performance testing tools like jmeter, loadrunner etc but yeah even in these a little bit of scripting knowledge is required so its better you learn any programming knowledge first and then pick any of the tools as per your requirements. There is also other Datawarehouse Testing/ETL Testing but in this your SQL should be really strong.

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

      Good suggestions Ash, hope it helps Avanthi

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

      @@ashking1113 thanks alot Ash...thanks for taking time and replying to my comment....
      Surely i will consider your suggestion and will work accordingly 🙂

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

    Thankyou raghav for creating such a detail video. Its helpful for beginners and experience as u have shared example for each as well as details in description. It will be helpful if you can share scenario-based questions for e.g i have 200url in csv i want to segregate url giving 200/400 or i want to verify url in loop based on each category for e.g in google search all video, image one after another.

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

    What are the scenario for E-commerce website? How to validate it? please make a video

  • @ishanpal9779
    @ishanpal9779 2 роки тому +1

    Nice tutorial

  • @mahipalreddy9820
    @mahipalreddy9820 2 місяці тому

    very use full secession step by step explained thank u Sri

    • @RaghavPal
      @RaghavPal  2 місяці тому

      You are most welcome

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

    sir how to connect jmeter into the browser of jmeter version 5.5 ??

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

      Hi Prani,
      To connect JMeter to the browser, you need to set up a proxy server in JMeter and configure your browser to use that proxy server.
      Here are the steps to set up a proxy server in JMeter version 5.5:
      Open JMeter and create a new Test Plan.
      Right-click on the Test Plan and select Add > Threads (Users) > Thread Group.
      In the Thread Group, add a new Config Element by right-clicking on the Thread Group and selecting Add > Config Element > HTTP Request Defaults.
      In the HTTP Request Defaults, set the Server Name or IP field to the hostname or IP address of the website you want to test.
      Next, add a new Sampler by right-clicking on the Thread Group and selecting Add > Sampler > HTTP Request.
      In the HTTP Request, set the Path field to the path of the website you want to test (e.g., /index.html).
      Now, add a new Config Element by right-clicking on the Thread Group and selecting Add > Config Element > HTTP(S) Test Script Recorder.
      In the HTTP(S) Test Script Recorder, set the Target Controller field to the name of the Sampler you created in step 5.
      Click the Start button to start the recorder.
      Now, you need to configure your browser to use JMeter as a proxy server. Here are the steps to do that:
      Open your browser's settings and navigate to the network or proxy settings
      Set the proxy settings to use the IP address and port number of the JMeter proxy server. By default, the JMeter proxy server listens on port 8888.
      Save the proxy settings and start browsing the website you want to test.
      JMeter will record all the HTTP requests and responses as you browse the website, allowing you to create and run performance tests based on that data

  • @Strife-TheDanceHub2309
    @Strife-TheDanceHub2309 2 роки тому

    any video sir, how we do functional testing with jmeter

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

      Yes, can find here - automationstepbystep.com/

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

    Hi Raghav, Thanks for this knowledge sharing session, do you have Spike test,
    Below topics would be great if you can make videos
    + Create Spike Testing Script with JMeter
    + Execute Script
    + Analyze Test Result

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

      Hi Aswath
      I will check and plan on this

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

      @@RaghavPal thanks a lot for replying

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

      @@RaghavPal any plans UI performance test sessions ?

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

      We can use JMeter for that. Let me know if you need any specific tool

  • @saikrishna-wh5dl
    @saikrishna-wh5dl Рік тому

    sir make a complete course on loadrunnner also like jmeter.

  • @Rk_Rocks567
    @Rk_Rocks567 3 місяці тому

    Very good tutorial I have cleared all doubts

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

    If we are recording the Scripts through Proxy in JMeter and we get an error then what should we do?

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

    Hi raghav, really great working ...I want to ask you about ""regular expressions "" , you know if we record a script or a scenario has credentials like (user name & password) server give us a ""session Id"" you know that's ^ unique ^ so if we rerun our script , an error will occurred because of it , how we can handle that ? ...thank you

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

      Hi Karim, not very sure, will need to check on this online

    • @renjinipillai1533
      @renjinipillai1533 2 роки тому +2

      You can achieve it by correlation in JMeter. You can get the dynamic value(here sessionid) using the post processor, Regular Expression Extractor. And pass this to subsequent requests.

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

      @@RaghavPal OK raghav, thank you very much and I am very interested in your Testing topics.

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

    Shut down and initial time delay what is

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

      We have 2 options to stop a running test
      Stop - stops abruptly and cancels any running threads
      Shutdown - stops gracefully, waits for any running thread to complete
      Initial time delay - Hope you are talking about start up delays here - this is to specify after how many seconds each thread will start

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

    By the way this video was awesome 👍😎.

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

    Thank you for this video

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

    Thankyou for very informative session

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

    thanks Sir, wishing you all the best

  • @1989peeyush
    @1989peeyush Рік тому

    Thanks Raghav :)

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

    A nice video to clear out some of the basics

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

    Thanks Raghav.

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

    This is so helpful! Thanks.

  • @navsw26
    @navsw26 2 роки тому +1

    Thank you so much Raghav for this useful video . Kind of brushing up post. Well, I am planning to take ISTQB specialist Performance Testing certification. It will be helpful if you can make some tutorials on the syllabus.