Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Benchmarking/Performance testing of the API - REST/SOAP

I'm trying to benchmark/ do performance testing of API's at my work. So the client facing is REST format while the backend data is retrieved by SOAP messages. So my question is can some of you share your thoughts on how you implement it (if you have done so in the past/doing it now), am basically interested in avg response time it takes for API to return results for the client

Please let me know if you need any additional information to answer the question

like image 646
SuperMan Avatar asked Sep 27 '11 22:09

SuperMan


People also ask

What is benchmarking API?

What is Benchmarking APIs? In the context of business, to “benchmark” something means to see whether it is performing according to a certain standard. When you benchmark something, like a product or a service, you draw a line in the sand and you figure out what's needed to cross that line.

Is API testing same as performance testing?

Most API tests also fall under the umbrella term of performance tests because their purpose is to determine the overall performance of a system under specific circumstances. Broadly speaking, API performance tests can be divided into two: functional and load tests.

How do you perform a postman performance test?

How to turn the basic checkup of one response into a performance test? Simply pick the “Run collection” option. You can choose the number of iterations, delay between the iterations and also import the data file if needed. Postman allows picking only the requests that have to be run while omitting the rest.


3 Answers

Could not say it any better than Mark, really: http://www.mnot.net/blog/2011/05/18/http_benchmark_rules

like image 90
Jan Algermissen Avatar answered Nov 14 '22 21:11

Jan Algermissen


Maybe you should give JMeter a try.

like image 29
Andreas Avatar answered Nov 14 '22 21:11

Andreas


  1. You can try using Apache Benchmark.This is simple and quick
  2. Jmeter gives you additional flexibility like adding functional cases along with performance details. Results will be almost similar to Apache Benchmark tool.

  3. The detailed one which gives Functional Test Result, performance counters settings, Call response time details, CPU and Memory changes along with Load/Stress results, with different bandwidth and browser settings - Visual Studio Team system

I used VSTS2010 for performance testing. Also GET and POST are straight forward. PUT and DELETE need coded version of webtest.

Thanks, Madhusudanan Tesco

like image 25
user2314092 Avatar answered Nov 14 '22 21:11

user2314092