How can I test server performance to be exact an API?
Let's say this API: https://test.com/new_task
. It's a POST request and requires certain data in body
. Now how can I test this and know the server maximum capacity (number of requests simultaneously)?
I tried searching in the Postman UI, but I didn't find any option for this purpose. Is there any software or application specifically developed for this purpose?
Postman cannot send requests in parallel, maximum you can achieve with it is running your request/collection sequentially for specified number of iterations.
You can consider switching to i.e. SoapUI which has some load testing capabilities (rather limited though)
The best option would be converting your Postman request (or collection) into a load testing tool test plan, for example Apache JMeter is quite powerful.
In order to convert your Postman request (or collection) into a JMeter test plan:
Launch JMeter's HTTP(S) Test Script Recorder
If your request uses HTTPS protocol - import JMeter's self-signed certificate into Postman
Run your request (or collection) in Postman
JMeter will capture the request(s) and create relevant HTTP Request sampler and HTTP Header Manager
Once done you can increase the number of threads (virtual users) in Thread Group and run your request in parallel.
More information: How to Convert Your Postman API Tests to JMeter for Scaling