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

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

КОМЕНТАРІ • 53

  • @harissystems8167
    @harissystems8167 4 роки тому +1

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

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

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

  • @shaarviupasanadivineworship
    @shaarviupasanadivineworship 7 місяців тому

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

  • @veerepallikavitha221
    @veerepallikavitha221 3 роки тому +1

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

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

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

  • @soumitrachatterjee07
    @soumitrachatterjee07 3 роки тому +1

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

  • @rumanir
    @rumanir 3 роки тому +1

    excellent explanation.need more videos api performance

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

    Plz explain auth 1.0
    Auth 2.0

  • @localtest194
    @localtest194 4 роки тому +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  4 роки тому

      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.

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

    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.

  • @satishload4520
    @satishload4520 4 роки тому +1

    Great explanation

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

    how to upload file in soapui call?

  • @manijambakula1371
    @manijambakula1371 4 роки тому +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  4 роки тому

      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 - ua-cam.com/video/L7Ou6ju6x9c/v-deo.html

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

    How use token in jmeter

  • @Sanjeevkumar-cl6nl
    @Sanjeevkumar-cl6nl 4 роки тому +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  4 роки тому

      During the time of development and debug , you can get the response time by adding listener -> Aggregate Report - ua-cam.com/video/NCBPpKcLhiA/v-deo.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 - ua-cam.com/video/7ZhL8nZEw2c/v-deo.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!

  • @DIVYANSHU267
    @DIVYANSHU267 4 роки тому +1

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

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

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

  • @nandam6952
    @nandam6952 3 роки тому

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

  • @veeraraghavaiahaddanki3991
    @veeraraghavaiahaddanki3991 4 роки тому +1

    Hi Thank you, how to parameterization SOAP using Jmeter

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

      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 - ua-cam.com/video/mrmnos1eMKk/v-deo.html

  • @caitools4865
    @caitools4865 3 роки тому

    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?

  • @carltonjohnson3258
    @carltonjohnson3258 4 роки тому +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  4 роки тому

      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.

  • @insiyadaruwalla9849
    @insiyadaruwalla9849 4 роки тому +1

    Can you provide the word document you wrote notes on.

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

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

  • @rasuriel
    @rasuriel 4 роки тому +1

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

  • @Ganesh.Vaka_9492
    @Ganesh.Vaka_9492 2 роки тому

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

  • @barunhazra1761
    @barunhazra1761 3 роки тому

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

  • @performancetestengineer-go2294
    @performancetestengineer-go2294 3 роки тому

    Your videos very helpfull please do more videos

  • @PranatiSree
    @PranatiSree 3 роки тому

    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.

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

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

  • @mohamedsannoh9427
    @mohamedsannoh9427 4 роки тому +1

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

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

      Thanks Mohamed, I will do so now onward.

    • @mohamedsannoh9427
      @mohamedsannoh9427 4 роки тому +1

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

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

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

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

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

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

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

  • @testaccount715
    @testaccount715 3 роки тому

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

  • @MarioRamirez-th3vr
    @MarioRamirez-th3vr 3 роки тому

    Excelent explication, thanks a lot nice miss :)

  • @malamanjunath5149
    @malamanjunath5149 4 роки тому +1

    Can we use get method for soap

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

      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.

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

    Very useful vedio thank u

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

    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  5 років тому

      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)

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

    How to parameterize value inside soap body using jmeter

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

      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 - ua-cam.com/video/mrmnos1eMKk/v-deo.html