Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 2.62 KB

afm-add-schedule.adoc

File metadata and controls

80 lines (54 loc) · 2.62 KB

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.

Note

Specified test times correspond with your time zone.

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.