Skip to content

Timer

This module contains step implementations for the Timer task.

Then timer start

Then start timer with name "{name}"

[view_source]

Create an instance of the Timer task.

Starts a timer to measure the "request time" for all tasks between the start and stop of the timer.

See Timer task documentation for more information.

Example:

Then start timer with name "parsing-xml"
...
And stop timer with name "parsing-xml"

Then timer stop

Then stop timer with name "{name}"

[view_source]

Add the instance created by step_task_timer_start to the list of scenario tasks.

See Timer task documentation for more information.

Example:

Then start timer with name "parsing-xml"
...
And stop timer with name "parsing-xml"