JMeter Beginner Tutorial | How to Create and Run REST API | Get Post Put Delete

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 89

  • @lkkota41
    @lkkota41 6 месяцев назад +1

    Appreciate.. I was zero in Jmeter.. this video gave me enough confidence...thank you

    • @RaghavPal
      @RaghavPal  6 месяцев назад

      Glad I could help

  • @JozefKruzelak
    @JozefKruzelak 3 года назад +3

    You Raghav have a talent to explain things in such understandable way :-) I am greatful for these videos

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Thanks a ton Jozef

    • @praveenkumarr4529
      @praveenkumarr4529 3 года назад

      @@RaghavPal Hi Raghav, thank you for the explanation of JMETER lecture series. I have a query in my mind that can we automate web application (not Performance testing) using JMETER tool. Could you please clarify it.thank you

  • @fredycastellanos450
    @fredycastellanos450 5 месяцев назад +1

    Estoy agradecido por la explicación, estaba bastante confundido, te felicito, haces un gran trabajo. puede ejecutar bien el ejercicio. saludos desde colombia

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      Muy bienvenido

  • @primesport3296
    @primesport3296 4 года назад

    Hello sir, Thanks a lots for all videos.
    I am beginner in Jmeter, please add videos - performance testing of Mobile App, API , Webservices.
    WISH YOU ALL THE BEST sir. !!!

    • @RaghavPal
      @RaghavPal  4 года назад

      Noted. You will find all here - automationstepbystep.com/

  • @thilagavathiaruchamy2564
    @thilagavathiaruchamy2564 6 месяцев назад +1

    Very good content for beginners

    • @RaghavPal
      @RaghavPal  6 месяцев назад

      Glad you liked it

  • @syedirfanmehdi8800
    @syedirfanmehdi8800 4 года назад +2

    Hi Raghav sir...Please make available for public those remaining 3 video series in this playlist...Thank you so much for your efforts...

    • @RaghavPal
      @RaghavPal  4 года назад +2

      Sure Syed, they are in processing and will be published by next week

  • @rohitr4792
    @rohitr4792 8 месяцев назад

    Hi Raghav,
    Useful content, Simple, no-nonsense presentation.
    I am curious on how you use multiple Operating Systems in parallel. Do you use some Virtual OS software and if so which one?

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Glad it was helpful Rohit..
      yes i use remote desktop

  • @rajaniippili
    @rajaniippili 2 года назад

    Thank you for providing the video.. It was very helpful to me as I am beginner in Jmeter. could you please share the video of how to record in Jmeter

    • @RaghavPal
      @RaghavPal  2 года назад

      Sure Rajani, can check in the sections here - automationstepbystep.com/

  • @natrajanr3968
    @natrajanr3968 4 года назад +2

    Raghav Sir, I am new to Jmeter and your Jmeter beginners tutorial was very useful to me. Now i have one issue. Webservices are passed by QA team through SOAP UI, and they pass username , password using WS-Security configurations and PasswordType as Password text.
    1. I tried passing this credential info using HTTP header manager as Authorization and value as Basic encoded value (encoded value is Username:Password), threw me "Security credentials are required" as response.
    2. I tried passing this credential also through HTTP Authorization manager by providing Username, Password and Mechanism as "BASIC_DIGEST", even for that i got "Security credentials are required" as response.
    3. Downloaded plugins manager for WS-Security for SOAP plugin and placed in lib/ext folder. But plugin did not get install because of client`s Internet policy.
    Need your help to resolve this issue

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Hi Rithvik, did you try to record the APIs directly from SoapUI into JMeter using Proxy. I will create a video on this next week, Can check online too

  • @derelictmanchester8745
    @derelictmanchester8745 Год назад

    Good instruction, thank you..👍👍

  • @Shaa404
    @Shaa404 5 месяцев назад

    Hi Raghav, I need help please how can I send a GET request on Website, I tried using "Record Controller" but I see POST request , is there a video on how to search on website using a unique ID please send here, greatly appreciated and very thankful for your hard work on this JMeter training

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      Shaan
      If while recording you are getting a post request, then that is how the website works for that particular action. But if you want to explicitly try a GET request, can check this:
      To send a GET request in JMeter, follow these steps:
      1. Create a Test Plan:
      - Open JMeter and create a new Test Plan.
      - Add a Thread Group element to simulate users. Set the number of threads (users) and other properties.
      - Add an HTTP Request sampler inside the Thread Group.
      2. Configure the HTTP Request:
      - Select the HTTP Request sampler.
      - In the Name field, enter a descriptive name (e.g., "Home Page").
      - Set the Path field to the URL path you want to request (e.g., "/").
      - Ensure the Method is set to GET.
      3. Run the Test:
      - Save your Test Plan.
      - Run the test to send the GET request to the specified URL.
      Remember to adjust the URL and other parameters based on your specific use case. If you encounter any issues, check the request details and ensure you're not inadvertently following redirects or using incorrect settings
      --

  • @rangaswamy3839
    @rangaswamy3839 2 года назад +1

    Hi raghav this is ranga i know manual and automation testing but am learning post man from your videos is that knowledge enough ? Or else am i need to purchase your udemy course postman?

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Ranga, Its enough, just try few more examples on your own

    • @rangaswamy3839
      @rangaswamy3839 2 года назад +1

      @@RaghavPal thank you so much for your reply raghav. comming future i will learn j meter from your channel only.

  • @Defabius0411
    @Defabius0411 3 года назад +1

    Hi Raghav I like your videos they are very usefull, i have a question how i can test an API wich receive an image captured by the cellphone. Thanxs a lot for your answer.

    • @RaghavPal
      @RaghavPal  3 года назад +2

      Hi Fabiola, you can test file upload/ download, you can also check the image properties if you get in the response of api, for any kind of visual testing, it may not work and you will have to add other tools for that, If the image is rendered on some webpage then you can make use of tools like
      Applitools
      Galen etc
      Check this video - ruclips.net/video/ItutKRrq0JI/видео.html

  • @unlimited_automation
    @unlimited_automation Год назад

    Is this API testing or performance testing or both that is done in this video using jmeter?

    • @RaghavPal
      @RaghavPal  Год назад

      Here, it is shown how we can add REST API in JMeter, after that we can do functional and performance testing both

  • @prathameshpawar6729
    @prathameshpawar6729 2 года назад

    Lovely explained

  • @funnyworld-fw4774
    @funnyworld-fw4774 17 дней назад

    I have tried it by following you , but it doesn't work properly, every time it returns a list of users instead of a single user.Does make any changes in RESTAPI site? Request and response data is also not present in the site.

  • @vivekramteke4670
    @vivekramteke4670 4 года назад

    Thanks raghav for the amazing tutorial.
    Could you please make more videos on API testing using Jmeter which will cover all API testing thing's.

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Sure Vivek, I will plan

  • @venkatttc66
    @venkatttc66 3 года назад

    Thnks ragav. I am very usefull your vedio.. Could you please explain octoperf tool

    • @RaghavPal
      @RaghavPal  3 года назад

      I will plan sessions on Octoperf

  • @s1h2r345
    @s1h2r345 2 года назад

    Hi Raghav, Can you please share a video API will All types of Authentications (Basic, Bearer, Digest, OAuth)

  • @ankitds1369
    @ankitds1369 4 года назад

    Raghav, Amazing work first of all, no one can make it any simpler then this. Question - My Objective is too- load data to a web page (lets say scheduling an appointment - page 1 - name, page 2 -address, page 3 - find available appointment, page 4 -payment, page 5- confirmation). Can this be achieved using JMeter

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Hi Ankit, thanks for the message, Do you. mean that you want to create bulk data using JMeter, You can do that. I will suggest to also check if you have API's for this too, That will be more simpler and efficient approach

  • @shariefrana
    @shariefrana 3 года назад

    Raghav, Could you please demo on how to call stored procedure and pass input, output params with jdbc request, I tried googling over this and can't find any reasonable answer.

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Hi Sharief, I will try to do a session

  • @himanisaxena392
    @himanisaxena392 Год назад

    Hi Raghav,
    I have a POST request whose output is pre-signed url. I have to upload a zip file in the generated pre-signed url via PUT request. Could you please help in creating this scenario.

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Himani,
      Here's how you can create a JMeter test scenario to upload a zip file using a pre-signed URL generated by a previous POST request:
      Create a Thread Group and add a HTTP Request sampler to it for the POST request that generates the pre-signed URL.
      In the HTTP Request sampler, set the HTTP Method to POST and set the appropriate URL and request parameters.
      Add a Regular Expression Extractor post-processor to the HTTP Request sampler to extract the pre-signed URL from the response.
      Create another Thread Group and add a HTTP Request sampler to it for the PUT request to upload the zip file.
      In the HTTP Request sampler, set the HTTP Method to PUT and set the URL to the pre-signed URL extracted in step 3.
      Under the "Advanced" tab, set the "Send File With Request" option to the path of the zip file to be uploaded.
      Save the test plan and run the test
      This should simulate the scenario of generating a pre-signed URL using a POST request and then using the pre-signed URL to upload a zip file via a PUT request
      Note: Make sure to set appropriate values for headers and request parameters in both POST and PUT requests. Also, make sure to specify the correct path to the zip file in the PUT request

  • @Tejatekkem
    @Tejatekkem 2 месяца назад

    how to pass path param here it's request param (query param ) is added in parameterization

    • @RaghavPal
      @RaghavPal  2 месяца назад

      I will need to check.. pls give details.. or give timestamp from video

  • @hksingh3220
    @hksingh3220 4 года назад

    Can you please make the video on setUp and tear down thread group.?

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Sure I will, can also check JMeter tutorials here - automationstepbystep.com/

  • @bhamra123singh2
    @bhamra123singh2 2 года назад

    I feel one should teach only when he/she knows how to use and to show everyone the actual use case not just by saying but by practical too

    • @RaghavPal
      @RaghavPal  2 года назад

      will take this feedback

  • @vasanthkumarm1134
    @vasanthkumarm1134 2 года назад

    Hi, can you please let me know how to do it for a Rest API which requires Authorization, I'm able to generate the bearer token, how to pass this to API inorder to get the response body. If you have any video please share or else please explain!!!Thanks!

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Vasanth, Sure, I will add more examples, Can also see some online examples

  • @swapnachinuru914
    @swapnachinuru914 3 года назад

    Hi sir,In jmeter Body data is same as parameters for PUT API

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Hi Swapna, if you are referring to query parameters, then No its different from body data

  • @avinashmohanty4606
    @avinashmohanty4606 4 года назад

    Can u plz tell me how to load client certificate in jmeter?
    Just like in postman where we can load the cert file,key file, pfx file and host in settings-certificates- add client certificate

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Avinash, can check this
      www.blazemeter.com/blog/how-set-your-jmeter-load-test-use-client-side-certificates/
      stackoverflow.com/questions/47674315/jmeter-load-client-side-certificate

  • @abhishekgowda8999
    @abhishekgowda8999 Год назад

    Sir for failure condition??

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Abhishek, pls send me more details and explanation on what exactly is the issue

  • @MayaSaqi
    @MayaSaqi 3 месяца назад

    Hello Sir, I have tried everything but 'Same user on each iteration' is not understandable, Can you pls explain it what does this flag do, i have tried it using csv file, using clear cache etc

    • @RaghavPal
      @RaghavPal  3 месяца назад

      Maya
      In JMeter, the option "Same user on each iteration" is a checkbox found in the Thread Group element. It controls how JMeter handles user sessions and cookies across iterations
      What it means:
      When this option is:
      Checked: JMeter will reuse the same user session and cookies for each iteration
      This means that the same user credentials, cookies, and session data will be used for each iteration of the test
      Unchecked: JMeter will create a new user session and cookies for each iteration
      This means that each iteration will start with a fresh user session, and any cookies or session data from previous iterations will be discarded
      Significance and use:
      Here are some scenarios where this option is significant:
      Login and authentication: If your application requires users to log in, and you want to test the login process, you should uncheck "Same user on each iteration"
      This will simulate a new user login for each iteration, allowing you to test the authentication process
      Session-based applications: If your application uses session-based authentication or stores user data in session cookies, you should check "Same user on each iteration". This will ensure that the same user session is reused across iterations, simulating a real-user experience
      Cookie-based applications: If your application uses cookies to store user preferences or data, you should check "Same user on each iteration". This will ensure that the same cookies are reused across iterations, simulating a real-user experience
      Performance testing: When performing performance testing, you may want to test the application's behavior under different user loads. In this case, unchecking "Same user on each iteration" can help simulate a larger user base, as each iteration will start with a fresh user session
      Functional testing: When performing functional testing, you may want to test specific user scenarios, such as login, logout, and session expiration. In this case, checking "Same user on each iteration" can help simulate a real-user experience, while unchecking it can help test specific scenarios
      -

  • @orophilesandy7915
    @orophilesandy7915 11 месяцев назад

    This is Api automation in Jmeter na?

  • @ragavendrad574
    @ragavendrad574 3 года назад

    What is loop count? In jmeter... What is need of it?

    • @RaghavPal
      @RaghavPal  3 года назад

      it means how many iterations do you want to run for the test

  • @amiraliansari9887
    @amiraliansari9887 3 года назад

    Hi Raghav, Thanks for the video. I have got one issue. I am using a Rest API and this uses a fixed bearer token(This means that the same bearer token can be used for more than one transaction). In Jmeter how and where can I set this bearer token so that it can be used again and again without changing it?

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Hi Amir, this can help
      stackoverflow.com/questions/39557632/how-to-parameterize-bearer-token-authorization-in-jmeter

  • @LuisEzequielDeLuca
    @LuisEzequielDeLuca 3 года назад

    Hello this is awesome, can you put a video for making calls to aws api gw using signature v4. Thanks

    • @RaghavPal
      @RaghavPal  3 года назад +1

      I will check and plan on this Luis

  • @krishnavdas6777
    @krishnavdas6777 2 года назад

    How to fill a form and do a submit using jmeter

    • @RaghavPal
      @RaghavPal  2 года назад

      this can help stackoverflow.com/questions/63885638/how-to-add-form-data-as-jmeter-body

  • @hazimabdoh6303
    @hazimabdoh6303 2 года назад

    Hi Raghav sir...where can i check the username ''morpheus' is updated after doing put for it ? becuase i search for it in the getuserlist but i didint find it .thanks

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Hazim, this is a demo api, we do not have access to the backend server, in real world, you can check in your database

    • @hazimabdoh6303
      @hazimabdoh6303 2 года назад

      @@RaghavPal thanks for declaration.

  • @benaf2778
    @benaf2778 2 года назад

    Hi, I did not understand what ist different between API Testing(web app) and Rest API Testing in JMeter. in another wort, i will Understand how can i make a REST API Testing exactly on JMeter. you Attach the Rest API in Video-Comment , but i did not find the explanation

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi, You can check the API Web services basics playlist here - automationstepbystep.com/

  • @techinhindi1619
    @techinhindi1619 4 года назад

    I try some api in jmeter but I didn't got a response code why please this point also

    • @RaghavPal
      @RaghavPal  4 года назад

      Sure, I will check, can you share the url

  • @SuperThepac
    @SuperThepac 4 года назад

    Is there any way to import swagger documentation into Jmeter

    • @RaghavPal
      @RaghavPal  4 года назад

      Not sure, will need to check online

  • @shaarviupasanadivineworship
    @shaarviupasanadivineworship 4 года назад

    How to use colorful text editor?

  • @vivekshah3458
    @vivekshah3458 2 года назад

    Hi Ragav,
    How we can increase the HPS(Hit Per Seconds) in JMeter?
    I am doing load testing through JMeter but HPS is little bit low so could you please share the tips if you have.
    Thanks
    Vivek

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Vivek, this you can configure in the Thread Group, check this - stackoverflow.com/questions/5018846/testing-with-jmeter-how-to-run-n-requests-per-second

  • @bhamra123singh2
    @bhamra123singh2 2 года назад

    Have seen more than 50 videos including urs too everyone has the same dialogue that we can use Authorization config but here it's demo so we don't require to use it...no one dares to show how to use config elements all are just showing a simple demo which one can learn by reading manual by jmeter just sucked up

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi, will check on this