Платформа автоматизации — задержка задания

Это задание ожидает определенное время, если не выполняется одно из определенных условий.
Его можно использовать для ожидания прохождения регрессионных тестов через ZAP, чтобы более тщательно изучить ваше приложение.

It is covered in the video: ZAP Chat 12 Automation Framework Part 6 - Delays and Active Scan.

Параметр времени поддерживает форматы чч:мм:сс, мм:сс и сс, поэтому «5» — это 5 секунд, «1:30» — это одна минута и 30 секунд, а «2:20:30» — это 2 часа, 20 минут и 30 секунд.

Поддерживаемые условия:

YAML

  - type: delay                        # Pause the plan for a set period of time or event (file created, static method called, API end point called)
    parameters:
      time:                            # String: The time to wait, format any of ['hh:mm:ss', 'mm:ss', 'ss'], default: 0
      fileName:                        # String: Name of a file which will cause the job to end early if created, default: empty
    enabled:                           # Bool: If set to false the job will not be run, default: true
    alwaysRun:                         # Bool: If set and the job is enabled then it will run even if the plan exits early, default: false