With performance tests, you can simulate user traffic and observe how your API behaves under load. Using the Postman CLI, you can run performance tests for Postman Collections locally or as part of your CI/CD pipeline. This enables your team to automatically detect performance regressions during development and deployment workflows.
The postman performance run command runs a configured performance test for a collection and makes the results available in Postman. You can use the command to validate performance tests locally, automate them in your CI/CD pipeline, and compare test results across runs to identify performance regressions.
To use the postman performance run command, sign in to Postman with the postman login command.
Performance tests aren’t supported with the Postman web app.
Before running a performance test with the Postman CLI, prepare a collection that represents the API traffic you’d like to test. You can create a new collection for performance testing, or reuse an existing collection and modify it for load testing scenarios.
When preparing your collection, choose requests that reflect real API usage patterns and critical workflows. For example, you may want to include commonly used endpoints, authentication flows, or requests that are sensitive to latency and throughput. You can also add pm.test() assertions to validate response status codes, response times, and other performance-related behaviors during load testing.
You can also use Agent Mode to generate a collection for performance testing. For best results, describe the API workflows, endpoints, variables, and assertions you’d like to include in the collection.
For example, you can ask Agent Mode the following:
After preparing your collection, configure the performance test in Postman and generate the Postman CLI command. You can run the command locally first to make sure the performance test works as expected before adding it to your CI/CD pipeline.
login and performance commands.The generated commands include the postman login command and the postman performance run command. For example:
While the test is running, you can view performance metrics in real time from the terminal. To learn how to view performance test results in the Postman app during and after the test run, see View results in Postman.
After you verify that the performance test runs locally, add the postman performance run command to your CI/CD pipeline. This enables your team to run performance tests automatically when changes are pushed to your repository.
The following example uses GitHub Actions to install the Postman CLI, authenticate with Postman, and run a performance test when changes are pushed to a GitHub repository. The collection ID is stored as a GitHub Actions variable, and the Postman API key is stored as a GitHub Actions secret.
After adding the workflow file to your repository, commit and push your changes. GitHub Actions starts the workflow and runs the performance test with the Postman CLI. You can use performance tests to prevent deployments that don’t meet your performance requirements. In this example, if the performance test exceeds the configured --pass-if threshold, the CI/CD workflow fails. You can use the failed run to investigate performance regressions before merging or deploying your changes.
To learn how to view performance test results in the Postman app during and after the test run, see View results in Postman.
You can review performance test results in Postman to analyze metrics such as response times, requests processed over time, error rates, and percentile-based performance measurements.
If you’re on a Postman paid plan, you can view live performance metrics in the Postman app while the Postman CLI test is running. Real-time visibility helps you monitor slow response times, failed assertions, and request errors as they occur during local or CI/CD test runs. If the API becomes unstable under load, you can stop the test, adjust your configuration or API, and rerun the test without waiting for the full run to complete.
After the test completes, all Postman plans can view detailed performance test results in the Postman app. Comparing results across runs can help you identify regressions and validate performance improvements.
To view performance test results, do the following:
To learn more, see View metrics for performance tests.

As an example, a performance test passes when the API remains within the configured --pass-if threshold. For example, a workflow using --pass-if "less_than(p90, 500)" passes if 90% of requests complete in less than 500 ms. Successful runs can help confirm that recent changes didn’t negatively affect API performance.
As an example, a performance test fails when the API exceeds the configured --pass-if threshold. For example, changing the threshold to --pass-if "less_than(p90, 10)" may cause the workflow to fail if the API can’t consistently respond within 10 ms. Comparing the failed run with an earlier successful run can help identify regressions, increased response times, or higher error rates introduced by recent changes.