You can automate collection runs using Postman monitors. Create a new monitor, select a collection, and configure a schedule. Postman will run the collection at the scheduled times in the Postman Cloud. You'll get an alert if there are any errors or failures.
You can also schedule collection runs using the Collection Runner. 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.
To schedule collection runs with a monitor, do the following:
Select Monitors in the sidebar, then select + Create new monitor.
If Monitors isn't available in the sidebar, you can add it by selecting Configure workspace sidebar.
Enter a Monitor name and select the Collection you want to run.
Under Run this monitor, specify when and how often you want the collection to run.
Choose any other configuration options for your monitor. For more help, go to Set up a monitor in Postman.
Select Create Monitor.
Postman will run the collection on the schedule you configured in the monitor. You'll get an alert if errors or failures occur. To view a summary of the monitor results, select Monitors in the sidebar and select a monitor. Learn more about viewing monitor results.
Your Postman plan gives you a limited number of requests that can be run by your Postman Monitors each month. Requests run by your scheduled collection runs count toward this same limit. Learn more about resource usage in Postman.
Last modified: 2024/09/10