This resource refers to test schedules. In TestOps, you can create a schedule and/or configure how a test case or test cases in a test suite are executed or run. The ‘schedule’ resource allows you to retrieve schedule information and configuration about a test case or a test suite, and even create to save or trigger a test run or execution immediately or at a scheduled time.
You can also use this resource to link/unlink a schedule from a release or build.
The Schedule API resource has three API objects you can interact with through the API:
- Scheduler object - The
scheduler
object describes the execution trigger and schedule. For more information about this object, see scheduler object. - Smart scheduler object - The
smart scheduler
object describes a scheduled execution. TestOps generates asmart scheduler
object when you schedule an execution with the smart scheduler interface. For more information about this object, see smart scheduler object. - Run configuration object - The
run configuration
object describes the execution configuration. Arun configuration
contains configuration information about the execution, such as associated test suites, the agent, and the execution commands. For more information about this object, see run configuration object.
Methods
- RETRIEVE SCHEDULED EXECUTION (GET)
- CREATE A SCHEDULE (POST)
- CREATE AND SAVE A SCHEDULED EXECUTION (POST)
- CREATE AND TRIGGER A SCHEDULE (POST)
- LINK A SCHEDULE TO A RELEASE (POST)
- LINK A SCHEDULE TO A BUILD (POST)
- UNLINK A SCHEDULE FROM A RELEASE (POST)
- TRIGGER A SCHEDULE (PUT)
- DELETE A SCHEDULE
To learn more about scheduling test runs, see Schedule test runs in TestOps.