transaction

Summary

A transaction is a list of steps which are executed sequentially. If a step fails, the whole transaction fails and further steps are not executed.

Fields

id

type: string
required: yes
description: A string to uniquely identify a transaction

variables

type: variables
required: no
description: Variables scoped to this transaction. See variables

steps

type: []step
required: yes
description: A list of steps. See step

Examples

id: "transaction-one"
variables:
  api_url: "https://jsonplaceholder.typicode.com"
steps:
  - id: "todos-1"
    request:
      method: "GET"
      endpoint: "{{ var.api_url }}/todos/1"

Didn't find what you were looking for?

You can head over to our FAQ page