Synthetic test execution types

Synthetic tests support two execution types Scheduled and On-demand. The On-demand execution type is introduced to support more flexible test runs. This capability is useful for development, testing and troubleshooting. For example, after you apply a backend fix, you can immediately run the test to verify that the issue is resolved.

  • A Scheduled Synthetic test runs based on the test run frequency, as managed by the Synthetic PoP. To create a Scheduled Synthetic test, follow the steps in Creating a scheduled test.
  • An On-demand Synthetic test runs 30 seconds after the Synthetic PoP receives it, regardless of the test run frequency. You can create an On-demand Synthetic test only if a Scheduled Synthetic test exists. An On-demand test runs only one time and does not repeat. The On-demand execution type is supported for Synthetic PoP Helm chart 1.2.18 or later.

Creating an On-demand test by using OpenAPI

To create an On-demand Synthetic test by using OpenAPI, complete the following steps:

  1. Make sure that at least one Scheduled Synthetic test already exists.
  2. Make sure that you have the necessary permission setting.
  3. Create an On-demand Synthetic test based on an existing test by using the Create a Synthetic test CI/CD OpenAPI or the synctl command.

Creating an On-demand test by using the UI

To create an On-demand synthetic test by using the UI, complete the following steps:

  1. Go to Synthetic Monitoring > Synthetic tests.
  2. Click a test.
  3. Click Run now.

Viewing On-demand tests and results in the UI

To view On-demand tests and results:

  1. Go to Synthetic Monitoring > Synthetic tests.
  2. In the filter, from the Test execution, select On demand.
  3. Click a test, and then go to the Summary page.
  4. From the Test execution dropdown, select On demand.
  5. To view a list of test results, click the Results tab.