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

  Рет қаралды 30,777

Quality Assurance Lab

Quality Assurance Lab

5 жыл бұрын

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.com/calculator.a...
•Restful webservices(REST)
reqres.in/api/users?page=2
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 жыл бұрын
Hi, Thank You! The tutorial is very useful for me, even helped me to solve my professional task today.
@qualityassurancelab7764
@qualityassurancelab7764 4 жыл бұрын
Thanks for your time to provide feedback, glad to know that video is helpful for you!
@rumanir
@rumanir 3 жыл бұрын
excellent explanation.need more videos api performance
@rasuriel
@rasuriel 4 жыл бұрын
Hi, thank you very much for your input, it was a great help! Take my like.
@qualityassurancelab7764
@qualityassurancelab7764 4 жыл бұрын
You are welcome, keep learning!
@veerepallikavitha221
@veerepallikavitha221 3 жыл бұрын
Explanation is good ..better to change colour seeting in jmeter so We can see clarity
@satishload4520
@satishload4520 4 жыл бұрын
Great explanation
@DIVYANSHU267
@DIVYANSHU267 4 жыл бұрын
This tutorial was very good. Keep going 👍🏼 . Liked and subscribed.
@qualityassurancelab7764
@qualityassurancelab7764 4 жыл бұрын
Thanks and keep learning!
@vishalgirmaljain2531
@vishalgirmaljain2531 8 ай бұрын
Hello your videos on jmeter are very helpful for us Thank you so much
@MarioRamirez-th3vr
@MarioRamirez-th3vr 3 жыл бұрын
Excelent explication, thanks a lot nice miss :)
@venkatnaidusiddi7498
@venkatnaidusiddi7498 2 жыл бұрын
Very useful vedio thank u
@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.
@soumitrachatterjee07
@soumitrachatterjee07 3 жыл бұрын
Thank you ,helped me configuring soap request . I was missing the HTTP Header Manager part;
@mayankmittal9269
@mayankmittal9269 3 жыл бұрын
Hi, Can you kindly tell how can we convert a functional Jmeter script into Load Test script.
@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)
@performancetestengineer-go2294
@performancetestengineer-go2294 3 жыл бұрын
Your videos very helpfull please do more videos
@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?
@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.
@testaccount715
@testaccount715 3 жыл бұрын
I am getting Internal server error- 500 in soap request. please tell me why?
@localtest194
@localtest194 4 жыл бұрын
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.
@barunhazra1761
@barunhazra1761 3 жыл бұрын
How to run the performance test on API to find the bottlenecks, could you please tell me ma'am?
@carltonjohnson3258
@carltonjohnson3258 4 жыл бұрын
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.
@manijambakula1371
@manijambakula1371 4 жыл бұрын
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 - kzbin.info/www/bejne/gmiypmmgqpurb8U
@varunkaniyala6302
@varunkaniyala6302 Жыл бұрын
Is it possible to get the Report only for API Testing in Jmeter?
@varunkaniyala6302
@varunkaniyala6302 Жыл бұрын
I'm not asking about load testing report
@vishalgirmaljain2531
@vishalgirmaljain2531 8 ай бұрын
Can you please make video on TCP protocol services this one is missing
@shaarviupasanadivineworship
@shaarviupasanadivineworship 5 ай бұрын
Need to register 100 users first using a given API and then login with those users using another login API.How to do that.
@rahuldeshpande7725
@rahuldeshpande7725 2 жыл бұрын
How use token in jmeter
@Sanjeevkumar-cl6nl
@Sanjeevkumar-cl6nl 4 жыл бұрын
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 - kzbin.info/www/bejne/hHSlgaOBmLGbn6M 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 - kzbin.info/www/bejne/bYvLfWukj6qqaMU 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!
@hassanhayat5776
@hassanhayat5776 2 жыл бұрын
how to upload file in soapui call?
@nandam6952
@nandam6952 3 жыл бұрын
What is the difference between Soup & Restful?. You said that performance right?, Where did we check performance of APIs
@malamanjunath5149
@malamanjunath5149 4 жыл бұрын
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.
@Ganesh.Vaka_9492
@Ganesh.Vaka_9492 2 жыл бұрын
Could you please make a new video complete end to end project on soap and rest apis
@veeraraghavaiahaddanki3991
@veeraraghavaiahaddanki3991 4 жыл бұрын
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 - kzbin.info/www/bejne/o6PQn6KpZsqAgc0
@insiyadaruwalla9849
@insiyadaruwalla9849 3 жыл бұрын
Can you provide the word document you wrote notes on.
@qualityassurancelab7764
@qualityassurancelab7764 3 жыл бұрын
Please consider joining membership for all docs/Notes - kzbin.info/door/Ffrg66wWswpMB4vOcQPMqAjoin and, send me email at labqualityassurance@gmail.com
@mohamedsannoh9427
@mohamedsannoh9427 4 жыл бұрын
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 жыл бұрын
Hello, How to use UI protocol for JMETER script recording? Regards
@qualityassurancelab7764
@qualityassurancelab7764 4 жыл бұрын
Hi @@mohamedsannoh9427 , to record jmeter test script please refer - kzbin.info/www/bejne/n3XHin6ho5mJja8 Please let me know for any further query.
@rahuldeshpande7725
@rahuldeshpande7725 2 жыл бұрын
Take another rest API video and in that use all parameters like header, token then we understand well
@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 - kzbin.info/www/bejne/o6PQn6KpZsqAgc0
@rahuldeshpande7725
@rahuldeshpande7725 2 жыл бұрын
Plz explain auth 1.0 Auth 2.0
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 17 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 15 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 10 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
How To Write First JMeter Script For Load Testing With Example
20:45
JMeter Beginner Tutorial | How to create SOAP API Request
17:58
Automation Step by Step
Рет қаралды 34 М.
API Testing using JMeter : POST Request
19:31
Testing World
Рет қаралды 15 М.
JMeter Beginner Tutorial | How to Create and Run REST API | Get Post Put Delete
18:24
JMeter tutorial 07 - How to read data from CSV File | Parameterization in JMeter
16:12
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 17 МЛН