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?
At k6.io, we have built a converter to generate a k6 load test from a Postman collection.
https://github.com/loadimpact/postman-to-k6
npm install -g 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
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.
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
Is the iterations or the number of users
Is the ramp up time or how often the users will hit or come
Is for logging requests
Date selection for what day this test was done
For running the test
All Api collection
All Api listing
Environment selection
After running the required results will show and I have redacted information for privacy