JMeter tutorial 14 - How to test SOAP/REST APIs in JMeter

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • This is the fourteenth video of JMeter Tutorial series which covers how to test SOAP/REST APIs in JMeter
    Learning:
    API - Application Programming Interface
    John ----------- phone(API)------------------- Nick
    Some rules to use phone:
    It should be turned on
    There should be network/balance/data etc
    API - used for communication between two software with some rule/protocol/codes
    Webservices: type of API
    Types of wbservices
    •SOAP
    www.dneonline.c...
    •Restful webservices(REST)
    reqres.in/api/...
    Server: reqres.in
    Path: /api/users
    page=2
    Types of Methods:
    Get: retrieve data from server
    Post : to create new data to server
    Put : update data in server
    Delete: to delete data from the server
    ==================================================================
    Automation Anywhere Tutorial Playlist:
    • Automation Anywhere A1...
    Subscribe for more tutorials - / @qualityassurancelab7764

Komentáře • 53

  • @harissystems8167
    @harissystems8167 Před 4 lety +1

    Hi, Thank You! The tutorial is very useful for me, even helped me to solve my professional task today.

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety +1

      Thanks for your time to provide feedback, glad to know that video is helpful for you!

  • @veerepallikavitha221
    @veerepallikavitha221 Před 3 lety +1

    Explanation is good ..better to change colour seeting in jmeter so We can see clarity

  • @rumanir
    @rumanir Před 3 lety +1

    excellent explanation.need more videos api performance

  • @vishalgirmaljain2531
    @vishalgirmaljain2531 Před 9 měsíci

    Hello your videos on jmeter are very helpful for us Thank you so much

  • @satishload4520
    @satishload4520 Před 4 lety +1

    Great explanation

  • @DIVYANSHU267
    @DIVYANSHU267 Před 4 lety +1

    This tutorial was very good. Keep going 👍🏼 . Liked and subscribed.

  • @rasuriel
    @rasuriel Před 4 lety +1

    Hi, thank you very much for your input, it was a great help! Take my like.

  • @soumitrachatterjee07
    @soumitrachatterjee07 Před 3 lety +1

    Thank you ,helped me configuring soap request . I was missing the HTTP Header Manager part;

  • @performancetestengineer-go2294

    Your videos very helpfull please do more videos

  • @venkatnaidusiddi7498
    @venkatnaidusiddi7498 Před 2 lety

    Very useful vedio thank u

  • @MarioRamirez-th3vr
    @MarioRamirez-th3vr Před 3 lety

    Excelent explication, thanks a lot nice miss :)

  • @carltonjohnson3258
    @carltonjohnson3258 Před 4 lety +1

    Thanks for the video. Question though. When you do this test, are you testing the web service or the server, or both?

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      Hi, you are welcome and thanks for watching my video.
      This test can be considered to test both Web Service and the server. As JMeter can also be used for functional testing, so Web Service testing covers the functional testing of web service. And, testing the server deals to load test the server where web services are hosted.

  • @Sanjeevkumar-cl6nl
    @Sanjeevkumar-cl6nl Před 4 lety +1

    How to see the response it has taken to process the request, consider if there is more than 700 items, what is the ideal time it should take to process the request

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      During the time of development and debug , you can get the response time by adding listener -> Aggregate Report - czcams.com/video/NCBPpKcLhiA/video.html
      When the development is complete and to get the response time during the final execution, run below command in command prompt which will run JMeter test in non GUI mode and will give tou test log file:
      Command : jmeter -n -t [test JMX file] -l [test log file]
      where:
      -n : By this, JMeter identifies to run the test in non-gui mode
      -t : Name of JMX file that contains Test script
      -l : Name of JTL/CSV file where you want to capture the results
      Reference - czcams.com/video/7ZhL8nZEw2c/video.html
      The ideal time to process a request varies from application to application and depends upon the requirement of the application. Generally good server time is considered between 200 ms to 1 sec.
      Hope this helps, please let me know for further questions!

  • @manijambakula1371
    @manijambakula1371 Před 4 lety +1

    Can you explain how to create pack of web service load testing and what type of reports we can prepare using JMeter for Web Services Testing to submit to the client

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      The web services which you wish to group together, add them inside one Thread Group. Accordingly create multiple thread groups, if required. HTML Dashboard Report works for web services as well. You can generate HTML reports from here - czcams.com/video/L7Ou6ju6x9c/video.html

  • @shaarviupasanadivineworship
    @shaarviupasanadivineworship Před 6 měsíci

    Need to register 100 users first using a given API and then login with those users using another login API.How to do that.

  • @swapnilkulkarni3523
    @swapnilkulkarni3523 Před rokem

    Thank you so much for such nice video...can you help with one touble which I am facing..I am getting 401 unathorised error while testing apis, how to deal with this. Thankyou in advance.

  • @nandam6952
    @nandam6952 Před 3 lety

    What is the difference between Soup & Restful?. You said that performance right?, Where did we check performance of APIs

  • @localtest194
    @localtest194 Před 4 lety +1

    Thanks a lot for this video. I have a issue here.. For a webservice the server response code: 500, I have added a "Response Assertion" with "Pattern to Test" as 500. So when i execute the test my execution fails. I think it should pass??

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      HTTP Responses with statuses in the 4xx and 5xx ranges are normally regarded as unsuccessful. The "Ignore status" checkbox under Response Assertion -> Field to Test can be used to set the status successful before performing further checks.
      The overall success of the sample is determined by combining the result of the assertion with the existing Response status.

  • @vishalgirmaljain2531
    @vishalgirmaljain2531 Před 9 měsíci

    Can you please make video on TCP protocol services this one is missing

  • @caitools4865
    @caitools4865 Před 3 lety

    Thank You, You were very detailed and you think how a novice needs information which is very appreciative. I spent almost a couple of days to search for a SOAP sampler and you told that it has been deprecated. Thank God I watched your video.
    I have a SOAP service which I am trying to configure, but I am getting an error now as " Security token failed to validate". Please note, I can execute the same request in SOAP UI successfully. I am appending the security in the SOAP Header security portion by copying what was produced by SOAP UI log.
    Would you be able to help me?

  • @mohamedsannoh9427
    @mohamedsannoh9427 Před 4 lety +1

    Much Regards. Nice videos but, you want to please change the UI from black to Metal.

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      Thanks Mohamed, I will do so now onward.

    • @mohamedsannoh9427
      @mohamedsannoh9427 Před 4 lety +1

      Hello, How to use UI protocol for JMETER script recording? Regards

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      Hi @@mohamedsannoh9427 , to record jmeter test script please refer - czcams.com/video/iDdYKkn4VWM/video.html
      Please let me know for any further query.

  • @rahuldeshpande7725
    @rahuldeshpande7725 Před 2 lety

    Take another rest API video and in that use all parameters like header, token then we understand well

  • @PranatiSree
    @PranatiSree Před 3 lety

    hi, i am able to call the Soap request in Soap UI only if i include the wsdl in the project. So how can I add a wsdl in jmeter.

  • @Ganesh.Vaka_9492
    @Ganesh.Vaka_9492 Před 2 lety

    Could you please make a new video complete end to end project on soap and rest apis

  • @veeraraghavaiahaddanki3991

    Hi Thank you, how to parameterization SOAP using Jmeter

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      Lets say you want to parameterize the Integer Value in the SOAP body as shown in the video. Follow the below steps:
      Step1 : Make the Integer value a Variable in the SOAP body - say ${intVal}
      Step 2: Create a CSV file providing the values of the Variable intVal
      Step 3: In the request, Add Config Element -> CSV Data Set Config and provide the details eg:
      Filename: Path of created CSV file, Variable name - intVal
      For more details on parameterization, please refer - czcams.com/video/mrmnos1eMKk/video.html

  • @barunhazra1761
    @barunhazra1761 Před 3 lety

    How to run the performance test on API to find the bottlenecks, could you please tell me ma'am?

  • @mayankmittal9269
    @mayankmittal9269 Před 3 lety

    Hi,
    Can you kindly tell how can we convert a functional Jmeter script into Load Test script.

  • @testaccount715
    @testaccount715 Před 3 lety

    I am getting Internal server error- 500 in soap request. please tell me why?

  • @lostwords8
    @lostwords8 Před 5 lety

    Hi, thank you for the video. In your example, the header would be use for both REST and SOAP request (even though the REST request does not require it)?

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 5 lety

      Hi, Thanks for pointing that out.
      For adding HTTP Header Manager specific to a request - right click on the request -> Add -> Config Element ->HTTP Header Manager .
      Since I have added HTTP Header Manager under Test Plan, so, it would be used for both SOAP rand REST request (and it is not required for REST request)

  • @rahuldeshpande7725
    @rahuldeshpande7725 Před 2 lety

    How use token in jmeter

  • @hassanhayat5776
    @hassanhayat5776 Před 2 lety

    how to upload file in soapui call?

  • @varunkaniyala6302
    @varunkaniyala6302 Před rokem

    Is it possible to get the Report only for API Testing in Jmeter?

  • @insiyadaruwalla9849
    @insiyadaruwalla9849 Před 3 lety +1

    Can you provide the word document you wrote notes on.

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 3 lety

      Please consider joining membership for all docs/Notes - czcams.com/channels/Ffrg66wWswpMB4vOcQPMqA.htmljoin
      and, send me email at labqualityassurance@gmail.com

  • @malamanjunath5149
    @malamanjunath5149 Před 4 lety +1

    Can we use get method for soap

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 4 lety

      It is theoretically possible to use Get method for SOAP because POST and GET are methods of HTTP transport protocol and SOAP can be used over HTTP.
      But, GET includes the request in the query string. SOAP requests (XML messages) are usually too complex and verbose to be included in the query string, so almost every implementation supports only POST.

  • @rahuldeshpande7725
    @rahuldeshpande7725 Před 2 lety

    Plz explain auth 1.0
    Auth 2.0

  • @naincypriya2281
    @naincypriya2281 Před 5 lety

    How to parameterize value inside soap body using jmeter

    • @qualityassurancelab7764
      @qualityassurancelab7764  Před 5 lety

      Lets say you want to parameterize the Integer Value in the SOAP body as shown in the video. Follow the below steps:
      Step1 : Make the Integer value a Variable in the SOAP body - say ${intVal}
      Step 2: Create a CSV file providing the values of the Variable intVal
      Step 3: In the request, Add Config Element -> CSV Data Set Config and provide the details eg:
      Filename: Path of created CSV file, Variable name - intVal
      For more details on parameterization, please refer - czcams.com/video/mrmnos1eMKk/video.html