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
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 - th-cam.com/video/L7Ou6ju6x9c/w-d-xo.html
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??
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.
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.
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.
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)?
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)
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
During the time of development and debug , you can get the response time by adding listener -> Aggregate Report - th-cam.com/video/NCBPpKcLhiA/w-d-xo.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 - th-cam.com/video/7ZhL8nZEw2c/w-d-xo.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!
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.
Please consider joining membership for all docs/Notes - th-cam.com/channels/Ffrg66wWswpMB4vOcQPMqA.htmljoin and, send me email at labqualityassurance@gmail.com
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 - th-cam.com/video/mrmnos1eMKk/w-d-xo.html
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?
Hi @@mohamedsannoh9427 , to record jmeter test script please refer - th-cam.com/video/iDdYKkn4VWM/w-d-xo.html Please let me know for any further query.
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 - th-cam.com/video/mrmnos1eMKk/w-d-xo.html
Hi, Thank You! The tutorial is very useful for me, even helped me to solve my professional task today.
Thanks for your time to provide feedback, glad to know that video is helpful for you!
Hello your videos on jmeter are very helpful for us Thank you so much
excellent explanation.need more videos api performance
Explanation is good ..better to change colour seeting in jmeter so We can see clarity
This tutorial was very good. Keep going 👍🏼 . Liked and subscribed.
Thanks and keep learning!
Thanks for the video. But for SOAP is there is dynamic values for addition , how to be done.
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
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 - th-cam.com/video/L7Ou6ju6x9c/w-d-xo.html
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??
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.
Great explanation
Is it possible to get the Report only for API Testing in Jmeter?
I'm not asking about load testing report
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.
Your videos very helpfull please do more videos
Thanks for the video. Question though. When you do this test, are you testing the web service or the server, or both?
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.
Hi, thank you very much for your input, it was a great help! Take my like.
You are welcome, keep learning!
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)?
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)
Excelent explication, thanks a lot nice miss :)
Can you please make video on TCP protocol services this one is missing
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
During the time of development and debug , you can get the response time by adding listener -> Aggregate Report - th-cam.com/video/NCBPpKcLhiA/w-d-xo.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 - th-cam.com/video/7ZhL8nZEw2c/w-d-xo.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!
Very useful vedio thank u
Can we use get method for soap
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.
What is the difference between Soup & Restful?. You said that performance right?, Where did we check performance of APIs
Can you provide the word document you wrote notes on.
Please consider joining membership for all docs/Notes - th-cam.com/channels/Ffrg66wWswpMB4vOcQPMqA.htmljoin
and, send me email at labqualityassurance@gmail.com
Thank you ,helped me configuring soap request . I was missing the HTTP Header Manager part;
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.
Hi Thank you, how to parameterization SOAP using Jmeter
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 - th-cam.com/video/mrmnos1eMKk/w-d-xo.html
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?
Hi,
Can you kindly tell how can we convert a functional Jmeter script into Load Test script.
I am getting Internal server error- 500 in soap request. please tell me why?
How to run the performance test on API to find the bottlenecks, could you please tell me ma'am?
Need to register 100 users first using a given API and then login with those users using another login API.How to do that.
how to upload file in soapui call?
Much Regards. Nice videos but, you want to please change the UI from black to Metal.
Thanks Mohamed, I will do so now onward.
Hello, How to use UI protocol for JMETER script recording? Regards
Hi @@mohamedsannoh9427 , to record jmeter test script please refer - th-cam.com/video/iDdYKkn4VWM/w-d-xo.html
Please let me know for any further query.
How use token in jmeter
Could you please make a new video complete end to end project on soap and rest apis
How to parameterize value inside soap body using jmeter
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 - th-cam.com/video/mrmnos1eMKk/w-d-xo.html
Plz explain auth 1.0
Auth 2.0
Take another rest API video and in that use all parameters like header, token then we understand well