Load Testing with Postman Rest/Restful Tool

I have added the plugin Postman to Chrome browser for load testing of my API.

But I am clueless about how to do the load test with Postman tool.

My query is how to simulate "Virtual Users" in this tool?

7 Answers

Postman has a Collection Runner which can be used for making API calls with multiple iterations.
You might be able to use it for load testing if you can figure out how to get it to run requests in parallel.

1

It exists a converter to generate a k6 load test from a Postman collection.

npm install -g @apideck/postman-to-k6
postman-to-k6 collection.json -o k6-script.js
k6 run --vus 100 --duration 3m k6-script.js

For further information, check out the following article Load Testing Your API with Postman

2

Hi I would suggest That you use Jmeter for load testing it is designed for it. But some people find it easier to use postman as collections are already created in it and it is much more interface friendly.

Step 1- Click on the little arrow along with your collection in the collection listing

Step 2- Then click on the Run button to launch Collection runner

Collection runner is the part which is used for sort of Load testing

Step 3- Collection runner has a lot of important parts to consider for load testing

The screenshot has counts that explains each part

  1. Is the iterations or the number of users

  2. Is the ramp up time or how often the users will hit or come

  3. Is for logging requests

  4. Date selection for what day this test was done

  5. For running the test

  6. All Api collection

  7. All Api listing

  8. Environment selection

After running the required results will show and I have redacted information for privacy

3

I don't think you'll be able to conduct load testing using Chrome Extension, consider more specialised tools for it, i.e. SoapUI or Apache JMeter

References:

SoapUI is designed for testing web services and load testing is secondary option and JMeter is designed for load testing and doesn't have any web-services specific functionality however if I had to choose I would go for JMeter as it can produce more immense load and has better reporting capabilities.

1

You can open multiple Collection Runner windows in Postman to run parallel collections.

Click on the Run again and again. You will get new collection window opened. Kick off each collection one by one and they all will start running.

2

In short, there is no way to perform load test through Postman directly. You can use different tools like Jmeter and SOAP UI etc.

You can't perform load testing with Postman, but you can adapt your test suites implemented in postman collections to load testing tools using the newman utility (which is especially useful in conjunction with the jq program).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest