Test concurrent queries on the REST server

3

I have a REST/WebApi server and wanted to test its performance with concurrent queries.

My objective is to test, logically, the performance, and also if it is treating each request separately, that is, each query is handled by a process, thus avoiding bottlenecks in queries.

I'm currently using Postman for simple tests, I've seen that it has a test tool, but it's paid for and I do not know if it meets my goal.

I wonder if there is any tool for this purpose.

    
asked by anonymous 01.08.2015 / 15:08

1 answer

3

There are two very good tools, JMeter and Apache Benchmarking.

Apache Benchmarking is a tool that comes along with Apache httpd (known only as apache), is a tool that runs on the terminal.

AB - Basic Commands

ab -n 10 -c 10 http://url:porta/path

Where -n is the requisition number
-c is the competition number
-s is the maximum timeout for each request

Inadditiontothisbasiccommandthereareotherparametersthatcanhelpwithtestingsuchasmethodthatshouldbeusedintherequest,summaryintableformat,p>

SinceJMeterismuchmorecomplexithasagraphicalinterface,itwasdevelopedinswing,soitwillbenecessarytoJVM,initwecancreateatestplanandsavethisplan,itismuchmorecomplexinrelationtoab/p>

Itpaystoseethedocumentationforthetwo

AB
JMeter

    
01.08.2015 / 18:17