Skip to main content

Executing Scheduled Functional Testing

This section guides you on how to execute scheduled functional testing at Apidog.

You can set up "Scheduled Tasks" to automatically run configured automated test scenarios at specified times, obtain task execution results, and meet the requirements for scheduled testing and regression.

caution

Using a self-hosted Runner to run scheduled tasks will be subject to usage limits based on your team's subscription plan. Learn more

1. Accessing the Scheduled Tasks List

Find "Scheduled Tasks" on Tests panel and click to enter the scheduled tasks list, where you can view/manage all tasks for the current project. The list includes important information such as:

  • Number of Executions: The total number of times this scheduled task has been executed.
  • Enable: Tasks are enabled by default. If disabled, the task will no longer execute automatically.
  • Next Run Time: The next scheduled execution time, based on the configured schedule.

2. Creating a New Scheduled Task

When creating a new scheduled task, you need to set the following information:

  • Task Name and Description: Used to distinguish scheduled tasks and explain the detailed purpose of the task.
  • Test Scenario: The scheduled task will execute one or more selected test scenarios. Each scenario can have its own execution settings.
  • Run Mode: Set the timing cycle for executing this scheduled task, such as every Sunday at 11 PM, or every 6 hours.
  • Runs On: The specific instance that executes this scheduled task. It can be executed through apidog cloud (coming soon) or self-hosted Runner. If the team has deployed multiple general-purpose Runners, you can choose one of them.
  • Notification: Enable notifications to send execution results to relevant people via specified channels. For emails, project members' addresses are auto-completed, but you can also enter addresses of non-project members.

3. Executing Scheduled Tasks

Once a scheduled task is completed, notifications will be sent to relevant personnel through the specified channels, and the execution results will be saved to the task's execution results page. You can check the "Run History" page for detailed information on the scheduled tasks.