Hyperfoil

thinkTime

Block current sequence for specified duration.

Inline definition
Duration of the delay with appropriate suffix (e.g. ms or s).
Property Type Description
duration String Duration of the delay with appropriate suffix (e.g. ms or s).
fromLast <none> Set previous delay point reference as the reference for next delay point; it will be computed as (previous delay point or now) + duration.
Note: property does not have any value
fromNow <none> Set this step invocation as the delay point reference; it will be computed as now + duration.
Note: property does not have any value
key String Key that is referenced later in awaitDelay step. If you’re introducing the delay through thinkTime do not use this property.
max String Upper cap on the duration (if randomized).
min String Lower cap on the duration (if randomized).
random enum Randomize the duration.
Options:
  • CONSTANT: Do not randomize; use constant duration.
  • LINEAR: Use linearly random duration between min and max (inclusively).
  • NEGATIVE_EXPONENTIAL: Use negative-exponential duration with expected value of duration, capped at min and max (inclusively).
type enum Alternative way to set delay reference point. See fromNow and fromLast property setters.
Options:
  • FROM_LAST
  • FROM_NOW