Trigger a schedule

A successful request to this endpoint triggers an execution from an existing run configuration object, given the run configuration ID. This method returns the build information.

Request

This request uses the PUT method, which is used to execute a specific run configuration using Katalon TestOps from the specified resource.

For basic authorization, replace this with your actual username and password (or API key) in the header request in the username:password or username:api_key format. Your user creds are combined to form a Base64 encoded string.

The request data is provided as a JSON object.

You need to provide the following required query parameters:

  • scheduleID: schedule ID.

Response

The response returns an array of objects containing detailed information about the run configuration, build, and test steps. Each object in the array represents a build execution and includes data such as build status, start and stop times, and specific steps with logs.

[
  {
    "build_num": 123,
    "job_id": 456,
    "build_time_millis": 50000,
    "status": "success",
    "usage_queued_at": "2025-01-17T22:17:22.033Z",
    "start_time": "2025-01-17T22:17:22.033Z",
    "stop_time": "2025-01-17T22:17:22.033Z",
    "steps": [
      {
        "logFileUrl": "https://example.com/logs/step1",
        "content": "Test step 1 completed successfully.",
        "name": "Step 1"
      },
      {
        "logFileUrl": "https://example.com/logs/step2",
        "content": "Test step 2 encountered an issue.",
        "name": "Step 2"
      }
    ]
  }
]

Refer to the following table about the response body properties:

PropertyTypeDescription
build_numIntegerThe build number of the test execution.
job_idIntegerThe unique identifier of the job associated with this build.
build_time_millisIntegerThe duration of the build in milliseconds.
statusStringThe status of the build (e.g., string).
usage_queued_atString (ISO 8601)The timestamp of when the build was queued.
start_timeString (ISO 8601)The timestamp of when the build started.
stop_timeString (ISO 8601)The timestamp of when the build finished.
stepsArray of ObjectsAn array containing details of each step executed in the build.
steps.nameStringThe name of the individual test step.
steps.contentStringThe content or log of the test step executed.
steps.logFileUrlStringThe URL of the log file for the test step.

Try it!

  1. Provide the required parameters and values below (click the dropdown and plus icons):
  2. Select the language in Language.
  3. Enter your user name or API credentials.
  4. Review your API call and click Try it!
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!