Async Timer
formatting...Module contains step implementations for the Async timer task.
Start
Start an asynchrounous timer.
See Async timer task documentation for more information.
Example
Scenario: input
Then start document timer with name "Creation time" for id "{{ document_id }}" and version "{{ document_version }}"
Start a timer in one scenario. One specific instance of a timer is the combination of name
, tid
and version
. So tid
can be reused, as long as it has another version
.
Arguments
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
name of the timer which will be shown in request statistics |
required |
tid
|
str
|
unique id for the timer |
required |
version
|
str
|
version of |
required |
Stop
Stop an asynchrounous timer, with a known name.
This is needed if the combination of tid
and version
the timer was started with is not
unique for the timer.
See Async timer task documentation for more information.
Example
Scenario: output
Then stop document timer with name "Creation time" for id "{{ document_id }}" and version "{{ document_version }}"
Stop timer from another scenario (or the same as it was started).
Arguments
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
name of the timer which will be shown in request statistics |
required |
tid
|
str
|
unique id for the timer |
required |
version
|
str
|
version of |
required |