API Testing: Schedules

API Testing: Schedules

Overview

Use this page to create and manage cron-based schedules for your API flows. A schedule is an automatic trigger that runs a specific, committed API flow on a recurring time pattern, instead of you starting it manually every time. It keeps a flow exercised on a predictable cadence, such as a nightly smoke test, without anyone remembering to launch it.

A schedule points at a flow built and committed on API flows; a Draft flow accepts a schedule but only fires once a revision is committed, and an Archived flow's schedules never fire. It can optionally override the flow's environment or auth profile, drawn from Environments and Auth profiles, and notify alert profiles managed on Alerting. Every run it triggers is recorded in Run history.

This page lists every schedule with its cron expression, time zone, enabled state, next run, and last run. From here you create, edit, or delete a schedule, search by name, flow, or cron, toggle a schedule on or off, and trigger an out-of-cycle run with Run now.

Key concepts

  • schedule - An automatic trigger that runs a specific API flow on a recurring pattern defined by a cron expression, instead of you starting the flow by hand. (related: API Testing: API flows)
  • cron expression - A five-field pattern (minute hour day month weekday) that defines exactly when a schedule fires.
  • flow - The API test flow a schedule executes on each trigger. Only a committed revision of the flow can actually fire; a Draft revision will not. (related: API Testing: API flows)
  • environment override - An optional environment chosen on the schedule that replaces the flow's own default environment for that schedule's runs only. (related: API Testing: Environments)
  • auth profile override - An optional authentication profile chosen on the schedule that replaces the flow's own default auth profile for that schedule's runs only. (related: API Testing: Auth profiles)

When to use it

  • You need an API flow to run automatically on a recurring cadence, such as a nightly smoke test, instead of starting it manually every time.
  • A schedule's last run failed and you need to find out why before deciding whether to re-enable it or fix its settings.
  • You want to pause a schedule temporarily, for example during a maintenance window, without deleting its configuration.
  • You need to confirm when a schedule will fire next, or check its last outcome.
  • You've just committed a revision to a Draft flow and need to verify the schedules that were waiting on that commit now have a next run.

Before you begin

  • A committed revision of the API flow you want to schedule exists; create or commit one on API Testing: API flows (a Draft flow accepts a schedule but it will not fire until committed, and an Archived flow's schedules never fire).
  • If the schedule should run against a non-default environment, that environment is set up on API Testing: Environments.
  • If the schedule should authenticate with a profile other than the flow's default, that profile exists on API Testing: Auth profiles.
  • If you want notifications on schedule outcomes, an alert profile exists on Alerting: Alert profiles (or create one from inside the schedule dialog).
  • Your account role includes permission to create, edit, run, and delete schedules; without it, the corresponding row and header controls are disabled.

Common workflows

Schedule a recurring API flow run

Persona: API test owner setting up automated coverage

  1. Click Create schedule.
    • Expect: The Create schedule dialog opens with empty Name, Flow, and Cron expression fields.
  2. Select a committed flow in Flow, enter a name, and set a five-field cron pattern in Cron expression (typing it or using a preset button).
    • Expect: The dialog accepts the cron pattern, and once a flow is chosen it offers that flow's Environment override and Auth profile override choices.
  3. Leave Enabled checked, optionally tick alert profiles under Alert profiles (Testing scope), then save the dialog.
    • Expect: The dialog closes and a new row appears in the Schedules table with Enabled showing On and a calculated Next run timestamp.

Verify: The new row shows your configured name, flow, cron, and time zone, Enabled reads On, and Next run holds a future timestamp; after its first fire, Last run shows a timestamp with no failure tag if it succeeded.

Pause and fix a failing schedule

Persona: Operator responding to a failed scheduled run

  1. Find the schedule whose Last run shows a Failed tag, using Search by name, flow or cron if needed.
    • Expect: The table narrows to the matching schedule or schedules.
  2. Click the row's On toggle.
    • Expect: The pill switches from On to Off and the schedule stops firing on its cron.
  3. Open the row's pencil icon (Edit), correct the Cron expression, Environment override, or Auth profile override, and save.
    • Expect: The dialog closes and the row reflects the corrected settings.

Verify: The Enabled pill reads Off until you turn it back on, and reopening Edit shows the corrected cron expression and overrides saved.

Trigger an out-of-cycle run with Run now

Persona: Operator verifying a schedule works before relying on the cron

  1. Click the row's play icon (Run now).
    • Expect: If the flow and its overrides are valid, a run starts immediately; if an override points at something that no longer exists, the page shows a refusal explaining why instead of starting a run.
  2. Check the row's Last run cell after the run finishes.
    • Expect: The timestamp and any status tag update to reflect the Run now result.

Verify: Last run shows a fresh timestamp matching when you clicked Run now, with an outcome that matches what you find in Run history for that run.

Steps

Step 1

Open Schedules under API Testing.

Expected result: The page loads showing every existing schedule with its cron, time zone, enabled state, next run, and last run, plus a count badge next to the Schedules title.

This is the starting point for reviewing existing schedules or creating a new one to run an API flow automatically.

  • The count badge next to Schedules shows the total number of schedules.
  • Search by name, flow or cron filters the list without leaving the page.
  • The Enabled column's green On pill doubles as a toggle for turning a schedule off directly from the row.
  • A Failed tag under a Last run timestamp flags a schedule whose most recent run did not succeed. API Testing: Schedules - step 1

Field reference

Field Purpose Format / Validation Required Default
Search by name, flow or cron Filters the visible rows to schedules whose name, flow, or cron text matches what you type, so you can find one schedule in a long list without scrolling. Free text No Empty (shows every schedule)
Name Identifies the schedule in the list. Use a name that states the cadence or purpose at a glance, since the table can hold many schedules with similar flows. Free text Yes -
Flow Chooses which API flow this schedule triggers. Changing the flow changes what gets tested while keeping the cron, time zone, and overrides intact; only a flow with a committed revision will actually fire. Selection from existing API flows Yes -
Cron expression Defines exactly when the schedule fires as five space-separated fields: minute, hour, day, month, weekday. A tighter pattern, such as a single weekday range, fires less often than a wildcard in every field, so set each field to match how often the flow actually needs to run. Five-field cron syntax Yes -
Timezone (IANA) Sets the zone the cron fields are evaluated in. Leave it blank to run in the server's local zone, or type an IANA zone to keep the schedule's timing fixed to a region regardless of where the appliance itself runs. IANA time zone identifier No Blank (server local time zone)
Environment override Optionally runs this schedule's fires against a different environment than the flow's own default, for example to keep a scheduled run on staging while manual runs of the same flow target production. Selection from existing environments No None (uses the flow's own environment)
Auth profile override Optionally authenticates this schedule's runs with a different profile than the flow's own default, for example when the scheduled run should use a service account instead of the credentials used for manual runs. Selection from existing auth profiles No None (uses the flow's own auth profile)
Enabled Controls whether the cron actually fires. Unchecked, the schedule stays in the list but never triggers a run until you check it again, which is the same effect as the row's On/Off toggle. Checkbox No -
Debug mode (breakpoints + extra capture) When checked, the scheduled run stops at breakpoints and records additional diagnostic capture. Use it to troubleshoot a flow that fails on schedule; leave it unchecked for routine runs since it slows the run and produces more data to store. Checkbox No Unchecked
Alert profiles (Testing scope) Selects which alert profiles are notified of this schedule's run outcomes. Ticking more profiles widens who or what gets notified when a scheduled run fails; ticking none means no alert fires from this schedule. Checkbox list of existing alert profiles No None selected
Retry on failure - Checkbox No Unchecked
Max retries (0 to 5) Caps how many extra attempts a failed run gets. A higher value gives a flaky dependency more chances to succeed before the run is recorded as failed; a lower value, including 0, reports the failure sooner. Integer, 0 to 5 No -
Retry delay (seconds) Sets how long the schedule waits between a failed attempt and the next retry. A longer delay gives a transient outage more time to clear; a shorter delay finishes retries, and reports the final outcome, sooner. Integer seconds No -

Column reference

Column What it shows How to read it
Name The schedule's label as it appears in the list. Click the header to sort alphabetically; click again to reverse the order.
Flow The API flow this schedule triggers. If the flow list could not be read, this cell may show without a resolved name; check the page's notice for the reason rather than assuming the flow was deleted.
Cron The raw cron expression the schedule runs on. Read the five fields left to right as minute, hour, day, month, weekday to work out exactly when it fires.
Time zone The zone the cron is evaluated in for this schedule. A blank Timezone field on the schedule resolves here to the server's local zone.
Enabled Whether the schedule is currently active. A green On pill means the schedule will fire at its Next run time; an Off state means the cron is paused and will not fire until you turn it back on.
Next run When the schedule is next due to fire. Shown in the page's configured time zone; a schedule that is Off, or whose flow is Draft without a committed revision or Archived, has no next run and sorts last.
Last run The outcome of the schedule's most recent execution. A tag such as Failed beneath the timestamp means that run did not succeed; no tag beneath the timestamp means it last succeeded.
Actions Row-level controls for the schedule. Use the icons to toggle the schedule, run it immediately, edit it, or delete it; a disabled icon with a tooltip explains why (role permission or the flow's state).

Controls reference

Create schedule

Opens the dialog for building a new schedule, with empty Name, Flow, and Cron expression fields.

When to use: When an API flow needs to run on a recurring cadence instead of only on manual trigger.

Side effects: Read-only until you save the dialog; only shown to a role allowed to create schedules.

Help icon

Opens contextual help for this page.

When to use: When you need an explanation of what the page does.

Side effects: Read-only.

Views

Opens a dropdown menu with alternate ways to display the schedule list.

When to use: When the default table layout is not the view you want to work in.

Side effects: Read-only, changes only how the list is displayed.

Refresh

Reloads the schedule list from the server.

When to use: After creating, editing, or running a schedule elsewhere, or to pick up an updated Next run or Last run value.

Side effects: Read-only, re-fetches data without changing anything.

Enabled toggle (row)

Flips the schedule between On and Off directly from its row.

When to use: To pause a schedule without deleting its configuration, or to re-enable a paused one.

Side effects: Mutating: immediately changes whether the cron will fire; disabled with a tooltip if your role lacks write access.

Run now (row)

Triggers an immediate run of the schedule's flow, ignoring the cron entirely.

Side effects: Mutating: starts a real run that is recorded in Run history; disabled if the flow cannot currently run (Draft without a committed revision, or Archived) or if your role cannot run schedules.

Edit (row)

Opens the schedule in the same dialog used to create one, pre-filled with its current settings (titled View schedule instead of Edit for a read-only role).

When to use: To change the flow, cron, time zone, overrides, alert profiles, or retry settings of an existing schedule.

Side effects: Read-only until you save; closing after changing a field asks you to confirm discarding it.

Delete (row)

Opens a Delete schedule? confirmation dialog for that row.

When to use: To permanently remove a schedule you no longer need.

Side effects: Mutating once confirmed: the schedule is permanently removed; disabled with a tooltip if your role lacks write access.

Cron preset button

Fills the Cron expression field with a common pattern.

When to use: To start from a standard cadence instead of typing all five cron fields by hand.

Side effects: Read-only in itself: it only overwrites the draft value of Cron expression, with no effect until you save.

Create alert profile

Opens alert profile creation from inside the schedule dialog.

When to use: When none of the existing alert profiles fit and you need a new one while setting up the schedule.

Side effects: Mutating: the new alert profile is created even if you then close the schedule dialog without saving, or leave its checkbox unticked under Alert profiles (Testing scope).

Cancel

Closes the Create or Edit schedule dialog without saving.

When to use: To back out of a schedule you were creating or editing.

Side effects: Read-only, but asks you to confirm first if you changed a field.

Delete (confirm)

Confirms the permanent deletion of the schedule in the Delete schedule? dialog.

When to use: After you are certain you want to remove the schedule.

Side effects: Mutating: shows Deleting... while in progress, then removes the row; a refusal or failure shows the reason in the dialog and leaves the schedule in place.

Show every schedule

Clears an active flow filter so the table shows every schedule again.

When to use: After arriving on this page filtered to a single flow and you want the full list back.

Side effects: Read-only, filter only.

Verify the result

A successful schedule appears as a row with your chosen name, the flow it triggers, its cron expression and time zone, an Enabled pill reading On, and a populated Next run timestamp. After its first fire, Last run shows a timestamp with no failure tag if the run succeeded, or a Failed tag beneath the timestamp if it did not. If you expect a schedule to fire and Next run is empty, check whether Enabled is Off, or whether its flow is still a Draft without a committed revision, or Archived, since schedules on either flow state cannot fire. If Run now is disabled, hover it to read the reason: insufficient role permission, or a flow state that blocks running.

Troubleshooting

  • Symptom: A schedule's Next run column is empty. Fix: Check that Enabled is On and that the flow is Active with a committed revision; Draft flows accept a schedule but only fire after a revision is committed, and Archived flows never fire.
  • Symptom: Last run shows a Failed tag on every run. Fix: Open the row's Edit and review Environment override and Auth profile override; an override pointing at something invalid fails every scheduled run until you correct or clear it.
  • Symptom: The row's toggle or trash icon is disabled. Fix: Your role does not have write access to schedules; hover the icon for the exact reason, or ask an admin to grant it on Platform: Permissions.
  • Symptom: The play icon (Run now) is disabled with a message that your role cannot run schedules. Fix: Request run permission for schedules, or ask someone with that permission to trigger the run.
  • Symptom: The Flow list in the Create or Edit dialog is missing a flow you expect to see. Fix: The flow list could not be read; check the notice at the top of the dialog for the reason before assuming the flow was deleted.
  • Symptom: A new alert profile created from Create alert profile inside the dialog is not ticked under Alert profiles (Testing scope). Fix: The profile was created regardless of whether the dialog was saved or the box ticked; open Alerting: Alert profiles to find it, then reopen the schedule and tick it.
  • Prerequisite: API Testing: API flows - a schedule always runs a committed revision of a flow built here
  • Prerequisite: API Testing: Environments - supplies the environments selectable as a schedule's Environment override
  • Prerequisite: API Testing: Auth profiles - supplies the profiles selectable as a schedule's Auth profile override
  • See also: Alerting: Alert profiles - manages the notification profiles a schedule can attach to its runs
  • Next step: API Testing: Run history - records the outcome of every run a schedule triggers
  • See also: API Testing: API Testing dashboard - summarizes schedule and run activity across the module
Was this article helpful?
0 out of 0 found this helpful