How to Configure and Run Performance Tests in Postman

In this article, I will be showing you How to Configure and run Performance Tests in Postman. APIs is the backbone of many businesses today and the quality and reliability of these APIs can have a great impact on how customers feel about a product. If you want to get great feedback from your customers then your APIs must meet the expected functionality and can handle the expected load through the traffic hitting the endpoints. Here is How to Use Postman with the Amazon Pinpoint API, and How to use Command-Line on Git Bash and GitHub Desktop to PUSH local code to GitHub.
Please take a look at this YouTube channel for “Configure and Run Performance Tests in Postman”
That is the reason every business or organization carries out API performance testing which involves the simulating of real-world traffic and observing the response. Please see How to Import Data from a GitHub Repository to Postman, and how to use the Reliability Monitor in Windows
You can further read about How to Secure your API key in Postman, How to Integrate Postman With GitHub, How to Import Data from a Git Repository to Postman, How to use Postman for your POST Request,
Using Postman’s Collection Runner to set up a performance Test
1: Open Postman click on your Collection and you may select your Environment and click Run collection.

Performance Tab
2. Select the Performance tab under Runner, specify the load settings, i will be using a Fixed load profile with 20 Virtual users and with a Test duration of 10min. Click Run to execute the Performance process.
a. Virtual users (VUs): The maximum number of parallel users you want to simulate.
b. Test duration: The amount of time (in minutes) for which you want to run the test.
c. Load profile: The intensity of the load during the test’s duration. Postman currently support four load profiles.

3. Check the response times and error rate in real-time. The below image shows a total request of 939 sent in 8.67 request per second in an average response time of 1,042 ms with 0.00 % Error rate.

4. Once the run is complete, you can also click on the Errors tab to view the detailed error rate breakdown.

5. The below message shows the red line which signify a request with error response and you can see the error rate of 42.41%. The blue line shows a request with response of no error rate.

6. You can also compare all the runs sent.

FAQs
⦁ Create a collection having more than one request.
⦁ Click on three dots icons at right hand side of name of the collection and choose option “Run Collection“. A collection runner settings page will open. You can run either a functional testing or performance testing.
⦁ Select a workspace in Postman and click on the + icon to open a new blank collection.
⦁ Add your endpoint URL and select the method (GET, POST, etc.) and click on the Send button to execute the Request.
I hope you found this blog post on How to Configure and Run Performance Tests in Postman Interesting and helpful. If you have any questions do not hesitate to ask in the comment section.