Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 574 Bytes

sleep.md

File metadata and controls

29 lines (23 loc) · 574 Bytes

Sleep

Every type of step may contain the sleep field, which accepts a long value. The value of the field designates an amount of time in ms, which when present, will make the step sleep for that amount of time.

sleep.yml

first_step:
  call: reflect.mock
  args:
    response:
      test: value

this_step_sleeps_for_5_s:
  sleep: 5000
  call: reflect.mock
  args:
    response:
      test: value

third_step:
  call: reflect.mock
  args:
    response:
      test: value

Back to Guide