---
title: "Tests connection execution by temporarily creating new connection and scheduler."
method: POST
path: "/connection/execution/test"
tags: ["Connection"]
---

# Tests connection execution by temporarily creating new connection and scheduler.

`POST /connection/execution/test`

## Query parameters

- `channelId` string, required

## Request body

- ConnectionOldDTO
  - `nodeId` string
  - `connectionId` integer
  - `title` string
  - `description` string
  - `icon` string
  - `fromConnector` ConnectorOldDTO
    - `connectorId` integer
    - `title` string
    - `icon` string
    - `sslCert` boolean
    - `timeout` integer
    - `invoker` InvokerDTO
      - `name` string
      - `description` string
      - `hint` string
      - `icon` string
      - `authType` string
      - `requiredData` object
      - `operations` FunctionDTO[]
        - `name` string
        - `type` string
        - `request` RequestDTO
          - `id` string
          - `endpoint` string
          - `method` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `response` ResponseDTO
          - `id` string
          - `name` string
          - `success` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
          - `fail` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
      - `hasManualSync` boolean
    - `methods` MethodOldDTO[]
      - `nodeId` string
      - `index` string
      - `name` string
      - `color` string
      - `label` string
      - `methodType` 'CONNECTOR' | 'HTTP_REQUEST' | 'WEBHOOK'
      - `dataAggregator` integer
      - `request` RequestDTO
        - `id` string
        - `endpoint` string
        - `method` string
        - `header` object
        - `body` BodyDTO
          - `type` string
          - `format` string
          - `data` string
          - `fields` object
      - `response` ResponseDTO
        - `id` string
        - `name` string
        - `success` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `fail` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
      - `connector` MethodConnectorDTO
        - `connectorId` integer
        - `title` string
        - `invoker` string
    - `operators` OperatorOldDTO[]
      - `nodeId` string
      - `type` string
      - `index` string
      - `iterator` string
      - `condition` ConditionDTO
        - `relationalOperator` string
        - `leftStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
        - `rightStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
      - `uiId` string
      - `expression` string
    - `businessLayout` BusinessLayout
      - `id` integer
      - `name` string
      - `svgItems` BLsvgItem[]
        - `id` integer
        - `name` string
        - `axisX` integer
        - `axisY` integer
        - `items` string
        - `getbLayout` BusinessLayout — recursive
      - `arrows` BLarrow[]
        - `from` integer
        - `to` integer
        - `getbLayout` BusinessLayout — recursive
  - `toConnector` ConnectorOldDTO
    - `connectorId` integer
    - `title` string
    - `icon` string
    - `sslCert` boolean
    - `timeout` integer
    - `invoker` InvokerDTO
      - `name` string
      - `description` string
      - `hint` string
      - `icon` string
      - `authType` string
      - `requiredData` object
      - `operations` FunctionDTO[]
        - `name` string
        - `type` string
        - `request` RequestDTO
          - `id` string
          - `endpoint` string
          - `method` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `response` ResponseDTO
          - `id` string
          - `name` string
          - `success` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
          - `fail` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
      - `hasManualSync` boolean
    - `methods` MethodOldDTO[]
      - `nodeId` string
      - `index` string
      - `name` string
      - `color` string
      - `label` string
      - `methodType` 'CONNECTOR' | 'HTTP_REQUEST' | 'WEBHOOK'
      - `dataAggregator` integer
      - `request` RequestDTO
        - `id` string
        - `endpoint` string
        - `method` string
        - `header` object
        - `body` BodyDTO
          - `type` string
          - `format` string
          - `data` string
          - `fields` object
      - `response` ResponseDTO
        - `id` string
        - `name` string
        - `success` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `fail` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
      - `connector` MethodConnectorDTO
        - `connectorId` integer
        - `title` string
        - `invoker` string
    - `operators` OperatorOldDTO[]
      - `nodeId` string
      - `type` string
      - `index` string
      - `iterator` string
      - `condition` ConditionDTO
        - `relationalOperator` string
        - `leftStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
        - `rightStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
      - `uiId` string
      - `expression` string
    - `businessLayout` BusinessLayout
      - `id` integer
      - `name` string
      - `svgItems` BLsvgItem[]
        - `id` integer
        - `name` string
        - `axisX` integer
        - `axisY` integer
        - `items` string
        - `getbLayout` BusinessLayout — recursive
      - `arrows` BLarrow[]
        - `from` integer
        - `to` integer
        - `getbLayout` BusinessLayout — recursive
  - `fieldBinding` FieldBindingOldDTO[]
    - `nodeId` string
    - `from` LinkedFieldDTO[]
      - `color` string
      - `type` string
      - `field` string
    - `enhancement` EnhancementOldDTO
      - `enhanceId` integer
      - `name` string
      - `description` string
      - `expertCode` string
      - `expertVar` string
      - `simpleCode` SimpleCodeDTO
        - `pointer` integer
        - `code` CodeDTO[]
          - `name` string
          - `value` string
          - `type` string
      - `language` string
    - `to` LinkedFieldDTO[]
      - `color` string
      - `type` string
      - `field` string
  - `businessLayout` BusinessLayoutResource
    - `id` integer
    - `arrows` BLayoutArrowResource[]
      - `from` integer
      - `to` integer
    - `svgItems` BLayoutSvgItemResource[]
      - `id` integer
      - `name` string
      - `x` integer
      - `y` integer
      - `items` string[]
  - `categoryId` integer
  - `ui` object

## Response `200`

Connection execution has been successfully tested

- ConnectionOldDTO
  - `nodeId` string
  - `connectionId` integer
  - `title` string
  - `description` string
  - `icon` string
  - `fromConnector` ConnectorOldDTO
    - `connectorId` integer
    - `title` string
    - `icon` string
    - `sslCert` boolean
    - `timeout` integer
    - `invoker` InvokerDTO
      - `name` string
      - `description` string
      - `hint` string
      - `icon` string
      - `authType` string
      - `requiredData` object
      - `operations` FunctionDTO[]
        - `name` string
        - `type` string
        - `request` RequestDTO
          - `id` string
          - `endpoint` string
          - `method` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `response` ResponseDTO
          - `id` string
          - `name` string
          - `success` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
          - `fail` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
      - `hasManualSync` boolean
    - `methods` MethodOldDTO[]
      - `nodeId` string
      - `index` string
      - `name` string
      - `color` string
      - `label` string
      - `methodType` 'CONNECTOR' | 'HTTP_REQUEST' | 'WEBHOOK'
      - `dataAggregator` integer
      - `request` RequestDTO
        - `id` string
        - `endpoint` string
        - `method` string
        - `header` object
        - `body` BodyDTO
          - `type` string
          - `format` string
          - `data` string
          - `fields` object
      - `response` ResponseDTO
        - `id` string
        - `name` string
        - `success` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `fail` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
      - `connector` MethodConnectorDTO
        - `connectorId` integer
        - `title` string
        - `invoker` string
    - `operators` OperatorOldDTO[]
      - `nodeId` string
      - `type` string
      - `index` string
      - `iterator` string
      - `condition` ConditionDTO
        - `relationalOperator` string
        - `leftStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
        - `rightStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
      - `uiId` string
      - `expression` string
    - `businessLayout` BusinessLayout
      - `id` integer
      - `name` string
      - `svgItems` BLsvgItem[]
        - `id` integer
        - `name` string
        - `axisX` integer
        - `axisY` integer
        - `items` string
        - `getbLayout` BusinessLayout — recursive
      - `arrows` BLarrow[]
        - `from` integer
        - `to` integer
        - `getbLayout` BusinessLayout — recursive
  - `toConnector` ConnectorOldDTO
    - `connectorId` integer
    - `title` string
    - `icon` string
    - `sslCert` boolean
    - `timeout` integer
    - `invoker` InvokerDTO
      - `name` string
      - `description` string
      - `hint` string
      - `icon` string
      - `authType` string
      - `requiredData` object
      - `operations` FunctionDTO[]
        - `name` string
        - `type` string
        - `request` RequestDTO
          - `id` string
          - `endpoint` string
          - `method` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `response` ResponseDTO
          - `id` string
          - `name` string
          - `success` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
          - `fail` ResultDTO
            - `id` string
            - `status` string
            - `header` object
            - `body` BodyDTO
              - …
      - `hasManualSync` boolean
    - `methods` MethodOldDTO[]
      - `nodeId` string
      - `index` string
      - `name` string
      - `color` string
      - `label` string
      - `methodType` 'CONNECTOR' | 'HTTP_REQUEST' | 'WEBHOOK'
      - `dataAggregator` integer
      - `request` RequestDTO
        - `id` string
        - `endpoint` string
        - `method` string
        - `header` object
        - `body` BodyDTO
          - `type` string
          - `format` string
          - `data` string
          - `fields` object
      - `response` ResponseDTO
        - `id` string
        - `name` string
        - `success` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `fail` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
      - `connector` MethodConnectorDTO
        - `connectorId` integer
        - `title` string
        - `invoker` string
    - `operators` OperatorOldDTO[]
      - `nodeId` string
      - `type` string
      - `index` string
      - `iterator` string
      - `condition` ConditionDTO
        - `relationalOperator` string
        - `leftStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
        - `rightStatement` StatementDTO
          - `color` string
          - `field` string
          - `type` string
          - `rightPropertyValue` string
      - `uiId` string
      - `expression` string
    - `businessLayout` BusinessLayout
      - `id` integer
      - `name` string
      - `svgItems` BLsvgItem[]
        - `id` integer
        - `name` string
        - `axisX` integer
        - `axisY` integer
        - `items` string
        - `getbLayout` BusinessLayout — recursive
      - `arrows` BLarrow[]
        - `from` integer
        - `to` integer
        - `getbLayout` BusinessLayout — recursive
  - `fieldBinding` FieldBindingOldDTO[]
    - `nodeId` string
    - `from` LinkedFieldDTO[]
      - `color` string
      - `type` string
      - `field` string
    - `enhancement` EnhancementOldDTO
      - `enhanceId` integer
      - `name` string
      - `description` string
      - `expertCode` string
      - `expertVar` string
      - `simpleCode` SimpleCodeDTO
        - `pointer` integer
        - `code` CodeDTO[]
          - `name` string
          - `value` string
          - `type` string
      - `language` string
    - `to` LinkedFieldDTO[]
      - `color` string
      - `type` string
      - `field` string
  - `businessLayout` BusinessLayoutResource
    - `id` integer
    - `arrows` BLayoutArrowResource[]
      - `from` integer
      - `to` integer
    - `svgItems` BLayoutSvgItemResource[]
      - `id` integer
      - `name` string
      - `x` integer
      - `y` integer
      - `items` string[]
  - `categoryId` integer
  - `ui` object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/opencelium/apis/opencelium-api.md) · [All operations](https://skmtc.net/opencelium/apis/opencelium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opencelium/opencelium-api/versions/82ed767ffb65/schema)
