Contact Us 1-800-596-4880

Adding Schedules

You can add a schedule to an existing monitor if either of the following two conditions is true:

  • You plan to run the test associated with the schedule in a public location, and the allocation of schedules for your Anypoint Platform organization is not exhausted.

  • You plan to run the test associated with the schedule in a private location.

Before You Begin

Ensure that you have the following permission set in Access Management:

  • Exchange > Exchange Administrator or Exchange > Exchange Contributor

An Anypoint Platform administrator for your organization grants permission. See Manage Permissions.

Add a Schedule

  1. Select the monitor in which you want to add a schedule.

  2. Click Add Schedule from the Schedules table.

  3. In the Add Schedule dialog box, select the following:

    • The location in which to run the test

    • The monitor schedule interval and its required information:

      Interval Required Information Definition

      Hourly

      The minute

      The minute at which the test begins, starting 60 minutes after you create the schedule

      Daily

      The time of each day

      The time each day (hour and minutes) at which the test begins

      Weekly

      Day of the week and time of day

      The day of the week and the time of that day that initiates the test

      Monthly

      Day of the month and time of day

      The day of the month and the time of that day that initiates the test

      Advanced

      Cron

      The cron expression for the frequency of the test.

  4. Set Configuration.

  5. Click Add.

    The countdown to the first run of the selected test begins.

Specified test times correspond with your time zone.

Limits for Schedule Intervals by Location

The minimum interval for schedules that run in private locations is always five minutes.

The minimum interval for schedules that run in public locations depends on the number of schedule entitlements, or API monitor entitlements, that you have. If you have more than five, the limit is five minutes. Otherwise, it is fifteen minutes.

The limit depends on the type of location, not on whether the API is public or private, because you can test a public API from a private location.

Location Type Number of Entitlements Account Type Interval Time Allowed

Public

5 or less

Developer

15 minutes

Public

5 or less

Other

15 minutes

Public

More than 5

Developer

15 minutes

Public

More than 5

Other

5 minutes

Private

Any number

N/A

5 minutes

Scheduling Long-Running Tests

Tests for a monitor that are run in public locations silently fail when the run time exceeds 120 seconds. If you need longer tests, the best solution is to use a private location, because you can run tests that have a long duration in private locations.

If you want to run longer-running tests in a public location, you can:

  1. Download the monitor and split the tests across multiple monitors using the BAT CLI.

  2. Run and time each test to ensure that their running times are under 120 seconds.

  3. Upload the tests as separate monitors to run in the web UI or run them through BAT CLI.