Skip to main content

sleep

Purpose

sleep pauses the current request for a specified time period.

Usage

"type": "sleep",
"config": {
"duration": "<length of pause with time unit (ex: 1m)>"
}
KeyDescription
durationduration of pause in go time.Duration format (1ms, 1m, 24h, etc)

Example

Configuration

"type": "sleep",
"config": {
"separator": "150ms"
}

This config will cause the current vUser (only) to pause for 150ms before sending the current request.