class SetUp extends AnyRef
The DSL component to define the desired protocols and assertions in a Simulation.
On contrary to other Gatling DSL components, this class is mutable.
- Alphabetic
- By Inheritance
- SetUp
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 assertions(assertions: List[Assertion]): SetUp
Define the desired assertions
Define the desired assertions
- assertions
the assertions
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def assertions(assertions: <repeated...>[Assertion]): SetUp
Define the desired assertions
Define the desired assertions
- assertions
the assertions
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def constantPauses(): SetUp
Apply constant pauses, see
PauseType#ConstantApply constant pauses, see
PauseType#Constant- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def customPauses(f: Function[Session, Long]): SetUp
Apply custom pauses, see
PauseType.CustomApply custom pauses, see
PauseType.Custom- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def disablePauses(): SetUp
Disable the pauses, see
PauseType#DisabledDisable the pauses, see
PauseType#Disabled- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exponentialPauses(): SetUp
Apply exponential pauses, see
PauseType#ExponentialApply exponential pauses, see
PauseType#Exponential- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- def maxDuration(duration: Duration): SetUp
Define the run max duration
Define the run max duration
- duration
the max duration
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def maxDuration(duration: Long): SetUp
Define the run max duration
Define the run max duration
- duration
the max duration in seconds
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalPausesWithPercentageDuration(stdDevPercent: Double): SetUp
Apply normal distribution pauses with the standard deviation defined as a percentage of the value defined in the scenario, see
PauseType.NormalWithPercentageDurationApply normal distribution pauses with the standard deviation defined as a percentage of the value defined in the scenario, see
PauseType.NormalWithPercentageDuration- stdDevPercent
the standard deviation of the distribution in percents.
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def normalPausesWithStdDevDuration(stdDevDuration: Duration): SetUp
Apply normal distribution pauses with the standard deviation defined as an absolute value, see
PauseType.NormalWithStdDevDurationApply normal distribution pauses with the standard deviation defined as an absolute value, see
PauseType.NormalWithStdDevDuration- stdDevDuration
the standard deviation of the distribution.
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pauses(pauseType: PauseType): SetUp
Apply uniform pauses with a given strategy
Apply uniform pauses with a given strategy
- pauseType
the pause type
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def protocols(protocols: List[ProtocolBuilder]): SetUp
Define the desired protocol configurations
Define the desired protocol configurations
- protocols
the protocols
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def protocols(protocols: <repeated...>[ProtocolBuilder]): SetUp
Define the desired protocol configurations
Define the desired protocol configurations
- protocols
the protocols
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def throttle(throttleSteps: List[ThrottleStep]): SetUp
Define the throttling, meaning a maximum throughput over time
Define the throttling, meaning a maximum throughput over time
- throttleSteps
the throttling DSL steps
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def throttle(throttleSteps: <repeated...>[ThrottleStep]): SetUp
Define the throttling, meaning a maximum throughput over time
Define the throttling, meaning a maximum throughput over time
- throttleSteps
the throttling DSL steps
- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uniformPauses(plusOrMinus: Duration): SetUp
Apply uniform pauses with half-width defined as an absolute value, see
PauseType.UniformDurationApply uniform pauses with half-width defined as an absolute value, see
PauseType.UniformDuration- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- def uniformPauses(plusOrMinus: Double): SetUp
Apply uniform pauses with half-width defined as a percentage, see
PauseType.UniformPercentageApply uniform pauses with half-width defined as a percentage, see
PauseType.UniformPercentage- returns
the same mutated setup instance
- Annotations
- @Nonnull()
- 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()