trait Pauses[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Pause methods for defining pause/think time steps in a Scenario.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- Alphabetic
- By Inheritance
- Pauses
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pause(min: Function[Session, Duration], max: Function[Session, Duration], pauseType: PauseType): T
Attach a pause computed randomly between 2 values as functions.
Attach a pause computed randomly between 2 values as functions.
- min
the pause minimum
- max
the pause maximum
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: Function[Session, Duration], max: Function[Session, Duration]): T
Attach a pause computed randomly between 2 values as functions.
Attach a pause computed randomly between 2 values as functions.
- min
the pause minimum
- max
the pause maximum
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: String, max: String, pauseType: PauseType): T
Attach a pause computed randomly between 2 values as a Gatling Expression Language string.
Attach a pause computed randomly between 2 values as a Gatling Expression Language string. Those expressions must resolve to either
Integers, then the unit will be seconds, or aDuration.- min
the pause minimum
- max
the pause maximum
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: String, max: String): T
Attach a pause computed randomly between 2 values as a Gatling Expression Language string.
Attach a pause computed randomly between 2 values as a Gatling Expression Language string. Those expressions must resolve to either
Integers, then the unit will be seconds, or aDuration.- min
the pause minimum
- max
the pause maximum
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: Duration, max: Duration, pauseType: PauseType): T
Attach a pause computed randomly between 2 values
Attach a pause computed randomly between 2 values
- min
the pause minimum
- max
the pause maximum
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: Duration, max: Duration): T
Attach a pause computed randomly between 2 values
Attach a pause computed randomly between 2 values
- min
the pause minimum
- max
the pause maximum
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: Long, max: Long, pauseType: PauseType): T
Attach a pause computed randomly between 2 values in seconds
Attach a pause computed randomly between 2 values in seconds
- min
the pause minimum in seconds
- max
the pause maximum in seconds
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(min: Long, max: Long): T
Attach a pause computed randomly between 2 values in seconds
Attach a pause computed randomly between 2 values in seconds
- min
the pause minimum in seconds
- max
the pause maximum in seconds
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(f: Function[Session, Duration], pauseType: PauseType): T
Attach a pause as a function
Attach a pause as a function
- f
the pause duration as a function
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(f: Function[Session, Duration]): T
Attach a pause as a function
Attach a pause as a function
- f
the pause duration as a function
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: String, pauseType: PauseType): T
Attach a pause as a Gatling Expression Language string.
Attach a pause as a Gatling Expression Language string. This expression must resolve to either an
Integer, then the unit will be seconds, or aDuration.- duration
the pause duration as a Gatling Expression Language string
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: String): T
Attach a pause as a Gatling Expression Language string.
Attach a pause as a Gatling Expression Language string. This expression must resolve to either an
Integer, then the unit will be seconds, or aDuration.- duration
the pause duration as a Gatling Expression Language string
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: Duration, pauseType: PauseType): T
Attach a pause
Attach a pause
- duration
the pause duration
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: Duration): T
Attach a pause
Attach a pause
- duration
the pause duration
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: Long, pauseType: PauseType): T
Attach a pause
Attach a pause
- duration
the pause duration in seconds
- pauseType
the type of pause
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def pause(duration: Long): T
Attach a pause
Attach a pause
- duration
the pause duration in seconds
- returns
a new StructureBuilder
- Annotations
- @NonNull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()