Instead of running collections manually, Postman can run collections for you on a schedule. Use the Collection Runner to select a collection and configure a schedule. For example, you can run a collection that tests the functionality of your API every day at a specific time.
When you schedule a collection run with the Collection Runner, the scheduled run is added to the Runs > Scheduled tab in the collection. From here you can view, pause, edit, and delete scheduled collection runs.
You can also schedule collection runs with monitors. Schedule runs with monitors when you want to set up alerts, like triggering on-call alerts for failures. For all other use cases, such as automating API tests, schedule runs with the Collection Runner.
When working with scheduled collection runs, keep in mind the following:
You can add scripts and tests to packages in your team's Package Library, and run the contents of packages from the Collection Runner. Learn how to add packages to the Package Library, and import packages into your pre-request and post-response scripts.
You can schedule a run for the requests in a collection or a folder.
Select Collections in the sidebar and select the collection or folder you want to schedule.
Select Run.
You can also select Runner from the Postman footer and drag a collection from Collections or History in the sidebar.
On the Functional tab, select Schedule runs.
Choose any configuration options:
Schedule name - A name for your scheduled run.
Run Frequency - When and how often you want the collection to run.
Environment - (Optional) The environment with variables you want the collection to use.
Iterations - The number of times to run the collection.
Data - A data file for the scheduled run.
Notification recipients - Up to five team members who will receive notifications for the scheduled run.
Advanced settings
By default, your requests run in the sequence they're listed in the collection. If you need to change the order of execution, select and drag a request to its new location in the order. You can also remove an individual request from the run by clearing the checkbox next to its name. For more information, see Change run order.
Select Schedule Run.
Requests sent by scheduled collection runs are deducted from your maximum number of monitoring API calls. For more information about checking your monitor usage, see Manage monitor usage in Postman.
You can view the results of past scheduled runs.
Select Collections in the sidebar and select the collection with the scheduled run you want to view.
Select the Runs > Scheduled tab.
Hover over a scheduled run and select View.
Each column in the graph represents an individual run. Select a column to view test results and the Console log for that run. For more information see View scheduled collection runs in Postman.
When a scheduled run is triggered manually, it runs in the Postman Cloud. Running scheduled runs manually is useful when you are fixing bugs or reproducing issues.
Select Collections in the sidebar and select the collection with the scheduled run you want to run manually.
Select the Runs > Scheduled tab.
Hover over a scheduled run and select View.
Select Run.
When you pause a scheduled run, Postman won't run the collection again until you resume the schedule.
Select Collections in the sidebar and select the collection with the scheduled run you want to pause or resume.
Select the Runs > Scheduled tab.
Hover over a scheduled run, select the more actions icon , and select Pause or Resume..
Select Collections in the sidebar and select the collection with the schedule you want to edit.
Select the Runs > Scheduled tab.
Hover over a scheduled run, select the more actions icon , and select Edit.
Make any changes to the scheduled run, then select Save Changes.
You can send the requests in a collection in different combinations or sequences to simulate various workflows. In the Collection Runner, change the order of requests by dragging them, or clear the checkbox next to a request to skip it.
When you schedule a collection run, you can change the order of your requests and save the custom order to run on a schedule. In this way, you can use the same collection to automate multiple tests scenarios.
To change the request order in a scheduled run, do the following:
Select Collections in the sidebar and select the collection or folder you want to schedule.
Select Run.
You can also select Runner from the Postman footer and drag a collection from Collections or History in the sidebar.
On the Functional tab, select Schedule runs.
Under Run Order, change the order by dragging and dropping requests. Skip a request by clearing its checkbox.
Select Schedule Run.
On the Runs > Scheduled tab, the message Custom run order indicates a scheduled run uses a custom request order. If a request is added or deleted from a scheduled collection, a Review Changes link appears next to the scheduled run. Select the link to review and edit the changes.
Requests sent by scheduled collection runs are deducted from your maximum number of monitoring API calls. For more information about checking your monitor usage, see Manage monitor usage in Postman.
Select Collections in the sidebar and select the collection with the scheduled run you want to delete.
Select the Runs > Scheduled tab.
Hover over a scheduled run, select the more actions icon , and select Delete.
Last modified: 2024/09/10
Additional resources
Blog posts