final class ScenarioBuilder extends StructureBuilder[ScenarioBuilder, core.structure.ScenarioBuilder]
Java wrapper of a Scala ScenarioBuilder.
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- ScenarioBuilder
- StructureBuilder
- Errors
- RoundRobinSwitch
- UniformRandomSwitch
- RandomSwitchOrElse
- RandomSwitch
- DoSwitchOrElse
- DoSwitch
- DoIfEqualsOrElse
- DoIfEquals
- DoIfOrElse
- DoIf
- DoWhileDuring
- AsLongAsDuring
- DoWhile
- AsLongAs
- Forever
- During
- ForEach
- Repeat
- RendezVous
- Paces
- Pauses
- Feeds
- Groups
- Execs
- 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 asLongAs(condition: Function[Session, Boolean], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAs(condition: Function[Session, Boolean], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a function
- exitASAP
if the loop must be interrupted if the condition becomes false inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- def asLongAs(condition: Function[Session, Boolean], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
- def asLongAs(condition: Function[Session, Boolean]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a function
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAs(condition: String, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAs(condition: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a Gatling Expression Language String
- exitASAP
if the loop must be interrupted if the condition becomes false inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAs(condition: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAs(condition: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true
Define a loop that will iterate as long as the condition holds true
- condition
the condition, expressed as a Gatling Expression Language String
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAs
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Duration, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Long, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Duration, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Long, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Duration, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Long, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Duration): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Long): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Function[Session, Duration], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Duration, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Long, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: String, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Function[Session, Duration], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Duration, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Long, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Function[Session, Duration], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Duration, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Long, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Function[Session, Duration]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Duration): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: Long): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def asLongAsDuring(condition: String, duration: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- returns
a DSL component for defining the loop content
- Definition Classes
- AsLongAsDuring
- Annotations
- @Nonnull()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def doIf(condition: Function[Session, Boolean]): Then[ScenarioBuilder]
Execute the "then" block only if the condition is true
Execute the "then" block only if the condition is true
- condition
the condition expressed as function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIf
- Annotations
- @Nonnull()
- def doIf(condition: String): Then[ScenarioBuilder]
Execute the "then" block only if the condition is true
Execute the "then" block only if the condition is true
- condition
the condition expressed as a Gatling Expression Language String that must evaluate to a Boolean
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIf
- Annotations
- @Nonnull()
- def doIfEquals(actual: Function[Session, AnyRef], expected: Function[Session, AnyRef]): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a function
- expected
the expected value expressed as a function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEquals(actual: Function[Session, AnyRef], expected: AnyRef): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a function
- expected
the expected static value
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEquals(actual: Function[Session, AnyRef], expected: String): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a function
- expected
the expected value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEquals(actual: String, expected: Function[Session, AnyRef]): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected value expressed as a function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEquals(actual: String, expected: AnyRef): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected static value
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEquals(actual: String, expected: String): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one
Execute the "then" block only if the actual value is equal to the expected one
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEquals
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: Function[Session, AnyRef], expected: Function[Session, AnyRef]): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a function
- expected
the expected value expressed as a function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: Function[Session, AnyRef], expected: AnyRef): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a function
- expected
the expected static value
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: Function[Session, AnyRef], expected: String): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a function
- expected
the expected value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: String, expected: Function[Session, AnyRef]): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected value expressed as a function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: String, expected: AnyRef): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected static value
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfEqualsOrElse(actual: String, expected: String): Then[ScenarioBuilder]
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
Execute the "then" block only if the actual value is equal to the expected one, otherwise execute the "else" block.
- actual
the actual value expressed as a Gatling Expression Language String
- expected
the expected value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfEqualsOrElse
- Annotations
- @Nonnull()
- def doIfOrElse(condition: Function[Session, Boolean]): Then[ScenarioBuilder]
Execute the "then" block only if the condition is true
Execute the "then" block only if the condition is true
- condition
the condition expressed as function
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfOrElse
- Annotations
- @Nonnull()
- def doIfOrElse(condition: String): Then[ScenarioBuilder]
Execute the "then" block only if the condition is true
Execute the "then" block only if the condition is true
- condition
the condition expressed as a Gatling Expression Language String that must evaluate to a Boolean
- returns
a DSL component for defining the "then" block
- Definition Classes
- DoIfOrElse
- Annotations
- @Nonnull()
- def doSwitch(actual: Function[Session, AnyRef]): On[ScenarioBuilder]
Execute one of the "choices" when the actual value is equal to the possibility's one.
Execute one of the "choices" when the actual value is equal to the possibility's one.
- actual
the actual value expressed as a function
- returns
a DSL component for defining the "choices"
- Definition Classes
- DoSwitch
- Annotations
- @Nonnull()
- def doSwitch(actual: String): On[ScenarioBuilder]
Execute one of the "choices" when the actual value is equal to the possibility's one.
Execute one of the "choices" when the actual value is equal to the possibility's one.
- actual
the actual value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "choices"
- Definition Classes
- DoSwitch
- Annotations
- @Nonnull()
- def doSwitchOrElse(actual: Function[Session, AnyRef]): On[ScenarioBuilder]
Execute one of the "choices" when the actual value is equal to the possibility's one, otherwise execute the "else" block.
Execute one of the "choices" when the actual value is equal to the possibility's one, otherwise execute the "else" block.
- actual
the actual value expressed as a function
- returns
a DSL component for defining the "choices"
- Definition Classes
- DoSwitchOrElse
- Annotations
- @Nonnull()
- def doSwitchOrElse(actual: String): On[ScenarioBuilder]
Execute one of the "choices" when the actual value is equal to the possibility's one, otherwise execute the "else" block.
Execute one of the "choices" when the actual value is equal to the possibility's one, otherwise execute the "else" block.
- actual
the actual value expressed as a Gatling Expression Language String
- returns
a DSL component for defining the "choices"
- Definition Classes
- DoSwitchOrElse
- Annotations
- @Nonnull()
- def doWhile(condition: Function[Session, Boolean], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true.
Define a loop that will iterate as long as the condition holds true. The condition is evaluated at the end of the loop. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhile
- Annotations
- @Nonnull()
- def doWhile(condition: Function[Session, Boolean]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true.
Define a loop that will iterate as long as the condition holds true. The condition is evaluated at the end of the loop. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhile
- Annotations
- @Nonnull()
- def doWhile(condition: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true.
Define a loop that will iterate as long as the condition holds true. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhile
- Annotations
- @Nonnull()
- def doWhile(condition: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true.
Define a loop that will iterate as long as the condition holds true. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhile
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Duration, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Long, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Duration, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Long, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Duration, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Long, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Duration): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Long): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration in seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: Function[Session, Boolean], duration: Function[Session, Duration]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a function
- duration
the maximum duration, expressed as a function
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Function[Session, Duration], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Duration, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Long, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: String, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Function[Session, Duration], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Duration, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Long, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- exitASAP
if the loop must be interrupted if the condition becomes false or the maximum duration inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Function[Session, Duration], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Duration, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Long, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Function[Session, Duration]): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration function
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Duration): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: Long): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration in seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def doWhileDuring(condition: String, duration: String): On[ScenarioBuilder]
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached.
Define a loop that will iterate as long as the condition holds true and a maximum duration isn't reached. The condition is evaluated at the end of the loop.
- condition
the condition, expressed as a Gatling Expression Language String
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- returns
a DSL component for defining the loop content
- Definition Classes
- DoWhileDuring
- Annotations
- @Nonnull()
- def during(duration: Function[Session, Duration], counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Function[Session, Duration], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Function[Session, Duration], exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a function
- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Function[Session, Duration]): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a function
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: String, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: String): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a Gatling Expression Language String that must either evaluate to an
Integer(seconds then) or aDuration- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Duration, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Duration, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
- def during(duration: Duration, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration
- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Duration): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Long, counterName: String, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a number of seconds
- counterName
the name of the loop counter, as stored in the
Session- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Long, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a number of seconds
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Long, exitASAP: Boolean): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a number of seconds
- exitASAP
if the loop must be interrupted if the max duration is reached inside the loop
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- def during(duration: Long): On[ScenarioBuilder]
Define a loop that will iterate for a given duration.
Define a loop that will iterate for a given duration. The condition is evaluated at the end of the loop.
- duration
the maximum duration, expressed as a number of seconds
- returns
a DSL component for defining the loop content
- Definition Classes
- During
- Annotations
- @Nonnull()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exec(chainBuilders: List[ChainBuilder]): ScenarioBuilder
Attach some
StructureBuilders.Attach some
StructureBuilders. Those can beChainBuilders or aScenarioBuilders. In the case of aScenarioBuilder, only the chain of actions is considered, without the scenario name. Chains will be attached sequentially.ChainBuilder chain1 = ??? ChainBuilder chain2 = ??? Listchains = Arrays.asList(chain1, chain2); ChainBuilder chain1ThenChain2 = exec(chains); - chainBuilders
some
ChainBuilders- returns
a new StructureBuilder
- Definition Classes
- Execs
- Annotations
- @Nonnull()
- def exec(chainBuilders: <repeated...>[ChainBuilder]): ScenarioBuilder
Attach some
ChainBuilders.Attach some
ChainBuilders. Chains will be attached sequentially.ChainBuilder chain1 = ??? ChainBuilder chain2 = ??? ChainBuilder chain1ThenChain2 = exec(chain1, chain2);- chainBuilders
some
ChainBuilders- returns
a new StructureBuilder
- Definition Classes
- Execs
- Annotations
- @Nonnull()
- def exec(actionBuilder: ActionBuilder): ScenarioBuilder
Attach a new action.
Attach a new action.
exec(http("name").get("url"))- actionBuilder
the Action builder
- returns
a new StructureBuilder
- Definition Classes
- Execs
- Annotations
- @Nonnull()
- def exec(f: Function[Session, Session]): ScenarioBuilder
Attach a new action that will execute a function.
Attach a new action that will execute a function. Important: the function must only perform fast in-memory operations. In particular, it mustn't perform any long block I/O operation, or it will hurt Gatling performance badly.
exec(session -> session.set("foo", "bar"))- f
the function
- returns
a new StructureBuilder
- Definition Classes
- Execs
- Annotations
- @Nonnull()
- def exitBlockOnFail(chain: ChainBuilder): ScenarioBuilder
Define a block that is interrupted for a given virtual user if it experiences a failure.
Define a block that is interrupted for a given virtual user if it experiences a failure.
- chain
the block to be eventually interrupted
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def exitHere(): ScenarioBuilder
Have the virtual user exit here
Have the virtual user exit here
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def exitHereIf(condition: Function[Session, Boolean]): ScenarioBuilder
Have the virtual user exit here if the condition holds true
Have the virtual user exit here if the condition holds true
- condition
the condition, expressed as a function
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def exitHereIf(condition: String): ScenarioBuilder
Have the virtual user exit here if the condition holds true
Have the virtual user exit here if the condition holds true
- condition
the condition, expressed as a Gatling Expression Language String
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def exitHereIfFailed(): ScenarioBuilder
Have the virtual user exit here if the state of its Session is failed, see
Session#isFailed()Have the virtual user exit here if the state of its Session is failed, see
Session#isFailed()- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def feed(feederBuilder: FeederBuilder[_ <: AnyRef], numberOfRecords: Function[Session, Integer]): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feederBuilder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: FeederBuilder[_ <: AnyRef], numberOfRecords: String): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feederBuilder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: FeederBuilder[_ <: AnyRef], numberOfRecords: Int): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feederBuilder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: FeederBuilder[_ <: AnyRef]): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feederBuilder
a source of records
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feeder: Iterator[Map[String, AnyRef]], numberOfRecords: Function[Session, Integer]): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feeder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feeder: Iterator[Map[String, AnyRef]], numberOfRecords: String): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feeder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feeder: Iterator[Map[String, AnyRef]], numberOfRecords: Int): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feeder
a source of records
- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feeder: Iterator[Map[String, AnyRef]]): ScenarioBuilder
Attach a feed action.
Attach a feed action.
- feeder
a source of records
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: Supplier[Iterator[Map[String, AnyRef]]], numberOfRecords: Function[Session, Integer]): ScenarioBuilder
Attach a feed action
Attach a feed action
- feederBuilder
a supplier so that the underlying
Iteratorcan be lazily loaded- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: Supplier[Iterator[Map[String, AnyRef]]], numberOfRecords: String): ScenarioBuilder
Attach a feed action
Attach a feed action
- feederBuilder
a supplier so that the underlying
Iteratorcan be lazily loaded- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: Supplier[Iterator[Map[String, AnyRef]]], numberOfRecords: Int): ScenarioBuilder
Attach a feed action
Attach a feed action
- feederBuilder
a supplier so that the underlying
Iteratorcan be lazily loaded- numberOfRecords
the number of records to poll from the feeder at once
- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def feed(feederBuilder: Supplier[Iterator[Map[String, AnyRef]]]): ScenarioBuilder
Attach a feed action
Attach a feed action
- feederBuilder
a supplier so that the underlying
Iteratorcan be lazily loaded- returns
a new StructureBuilder
- Definition Classes
- Feeds
- Annotations
- @Nonnull()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foreach(seq: Function[Session, List[_ <: AnyRef]], attributeName: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
Define a loop that will iterate over a list of values.
- seq
the list of values to iterate over, expressed as a function
- attributeName
the key to store the current element in the
Session- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component to define the loop content
- Definition Classes
- ForEach
- Annotations
- @Nonnull()
- def foreach(seq: Function[Session, List[_ <: AnyRef]], attributeName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
- def foreach(seq: String, attributeName: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
Define a loop that will iterate over a list of values.
- seq
the list of values to iterate over, expressed as a Gatling Expression Language String, must evaluate to a
List- attributeName
the key to store the current element in the
Session- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component to define the loop content
- Definition Classes
- ForEach
- Annotations
- @Nonnull()
- def foreach(seq: String, attributeName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
Define a loop that will iterate over a list of values.
- seq
the list of values to iterate over, expressed as a Gatling Expression Language String, must evaluate to a
List- attributeName
the key to store the current element in the
Session- returns
a DSL component to define the loop content
- Definition Classes
- ForEach
- Annotations
- @Nonnull()
- def foreach(seq: List[_ <: AnyRef], attributeName: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
Define a loop that will iterate over a list of values.
- seq
the static list of values to iterate over
- attributeName
the key to store the current element in the
Session- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component to define the loop content
- Definition Classes
- ForEach
- Annotations
- @Nonnull()
- def foreach(seq: List[_ <: AnyRef], attributeName: String): On[ScenarioBuilder]
Define a loop that will iterate over a list of values.
- def forever(counterName: String): On[ScenarioBuilder]
Define a loop that will iterate forever.
- def forever(): On[ScenarioBuilder]
Define a loop that will iterate forever.
Define a loop that will iterate forever.
- returns
a DSL component for defining the loop content
- Definition Classes
- Forever
- Annotations
- @Nonnull()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def group(name: Function[Session, String]): On[ScenarioBuilder]
Define a group
Define a group
- name
the name of the group, expressed as a function
- returns
a DSL component for defining the wrapped block
- Definition Classes
- Groups
- Annotations
- @Nonnull()
- def group(name: String): On[ScenarioBuilder]
Define a group
Define a group
- name
the name of the group, expressed as a Gatling Expression Language String
- returns
a DSL component for defining the wrapped block
- Definition Classes
- Groups
- Annotations
- @Nonnull()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def injectClosed(steps: <repeated...>[ClosedInjectionStep]): PopulationBuilder
- Annotations
- @Nonnull()
- def injectOpen(steps: <repeated...>[OpenInjectionStep]): PopulationBuilder
- Annotations
- @Nonnull()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make(f: Function[core.structure.ScenarioBuilder, core.structure.ScenarioBuilder]): ScenarioBuilder
- Definition Classes
- ScenarioBuilder → Errors → RoundRobinSwitch → UniformRandomSwitch → RandomSwitchOrElse → RandomSwitch → DoSwitchOrElse → DoSwitch → DoIfEqualsOrElse → DoIfEquals → DoIfOrElse → DoIf → DoWhileDuring → AsLongAsDuring → DoWhile → AsLongAs → Forever → During → ForEach → Repeat → RendezVous → Paces → Pauses → Feeds → Groups → Execs
- Annotations
- @Override()
- 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 pace(min: Function[Session, Duration], max: Function[Session, Duration], counterName: String): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds as functions
- def pace(min: Function[Session, Duration], max: Function[Session, Duration]): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds as functions
Attach a pace action where the duration is random between 2 bounds as functions
- min
the minimum duration of the pace
- max
the maximum duration of the pace
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(min: String, max: String, counterName: String): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds as Gatling Expression Language strings.
Attach a pace action where the duration is random between 2 bounds as Gatling Expression Language strings. These expressions must resolve to either
Integers, then the unit will be seconds, orDurations.- min
the minimum duration of the pace
- max
the maximum duration of the pace
- counterName
the name of the loop counter, as stored in the
Session- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(min: Duration, max: Duration, counterName: String): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds
- def pace(min: Duration, max: Duration): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds
Attach a pace action where the duration is random between 2 bounds
- min
the minimum duration of the pace
- max
the maximum duration of the pace
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(min: Long, max: Long, counterName: String): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds
- def pace(min: Long, max: Long): ScenarioBuilder
Attach a pace action where the duration is random between 2 bounds
Attach a pace action where the duration is random between 2 bounds
- min
the minimum duration of the pace in seconds
- max
the maximum duration of the pace in seconds
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(duration: Function[Session, Duration], counterName: String): ScenarioBuilder
Attach a pace action
- def pace(duration: Function[Session, Duration]): ScenarioBuilder
Attach a pace action
Attach a pace action
- duration
the duration of the pace
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(duration: String, counterName: String): ScenarioBuilder
Attach a pace action where the duration is defined as a Gatling Expression Language string.
Attach a pace action where the duration is defined as a Gatling Expression Language string. This expression must resolve to either an
Integer, then the unit will be seconds, or aDuration.- duration
the duration of the pace
- counterName
the name of the loop counter, as stored in the
Session- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(duration: String): ScenarioBuilder
Attach a pace action where the duration is defined as a Gatling Expression Language string.
Attach a pace action where the duration is defined as a Gatling Expression Language string. This expression must resolve to either an
Integer, then the unit will be seconds, or aDuration.- duration
the duration of the pace
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(duration: Duration, counterName: String): ScenarioBuilder
Attach a pace action
- def pace(duration: Duration): ScenarioBuilder
Attach a pace action
Attach a pace action
- duration
the duration of the pace
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pace(duration: Long, counterName: String): ScenarioBuilder
Attach a pace action
- def pace(duration: Long): ScenarioBuilder
Attach a pace action
Attach a pace action
- duration
the duration of the pace in seconds
- returns
a new StructureBuilder
- Definition Classes
- Paces
- Annotations
- @Nonnull()
- def pause(min: Function[Session, Duration], max: Function[Session, Duration], pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: Function[Session, Duration], max: Function[Session, Duration]): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: String, max: String, pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: String, max: String): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: Duration, max: Duration, pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: Duration, max: Duration): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: Long, max: Long, pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(min: Long, max: Long): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(f: Function[Session, Duration], pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(f: Function[Session, Duration]): ScenarioBuilder
Attach a pause as a function
Attach a pause as a function
- f
the pause duration as a function
- returns
a new StructureBuilder
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: String, pauseType: PauseType): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: String): ScenarioBuilder
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
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: Duration, pauseType: PauseType): ScenarioBuilder
Attach a pause
Attach a pause
- duration
the pause duration
- pauseType
the type of pause
- returns
a new StructureBuilder
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: Duration): ScenarioBuilder
Attach a pause
Attach a pause
- duration
the pause duration
- returns
a new StructureBuilder
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: Long, pauseType: PauseType): ScenarioBuilder
Attach a pause
Attach a pause
- duration
the pause duration in seconds
- pauseType
the type of pause
- returns
a new StructureBuilder
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def pause(duration: Long): ScenarioBuilder
Attach a pause
Attach a pause
- duration
the pause duration in seconds
- returns
a new StructureBuilder
- Definition Classes
- Pauses
- Annotations
- @Nonnull()
- def randomSwitch(): On[ScenarioBuilder]
Execute one of the "choices" randomly based on their respective weight.
Execute one of the "choices" randomly based on their respective weight. Weights are expressed in percents so their sum must be <= 100%.
- returns
a DSL component for defining the "choices"
- Definition Classes
- RandomSwitch
- Annotations
- @Nonnull()
- def randomSwitchOrElse(): On[ScenarioBuilder]
Execute one of the "choices" randomly based on their respective weight.
Execute one of the "choices" randomly based on their respective weight. Weights are expressed in percents so their sum must be <= 100%.
- returns
the DSL component for defining the "else" block
- Definition Classes
- RandomSwitchOrElse
- Annotations
- @Nonnull()
- def rendezVous(users: Int): ScenarioBuilder
Make virtual users wait until enough of them reach this point
Make virtual users wait until enough of them reach this point
- users
the number of virtual users that must reach this point
- returns
a new StructureBuilder
- Definition Classes
- RendezVous
- Annotations
- @Nonnull()
- def repeat(times: Function[Session, Integer], counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
- def repeat(times: Function[Session, Integer]): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
Define a loop that will iterate for a given number of times.
- times
the number of iteration, expressed as a function
- returns
a DSL component for defining the loop content
- Definition Classes
- Repeat
- Annotations
- @Nonnull()
- def repeat(times: String, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
Define a loop that will iterate for a given number of times.
- times
the number of iteration, expressed as a Gatling Expression Language String that must evaluate to an
Integer- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the loop content
- Definition Classes
- Repeat
- Annotations
- @Nonnull()
- def repeat(times: String): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
Define a loop that will iterate for a given number of times.
- times
the number of iteration, expressed as a Gatling Expression Language String that must evaluate to an
Integer- returns
a DSL component for defining the loop content
- Definition Classes
- Repeat
- Annotations
- @Nonnull()
- def repeat(times: Int, counterName: String): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
- def repeat(times: Int): On[ScenarioBuilder]
Define a loop that will iterate for a given number of times.
Define a loop that will iterate for a given number of times.
- times
the number of iteration
- returns
a DSL component for defining the loop content
- Definition Classes
- Repeat
- Annotations
- @Nonnull()
- def roundRobinSwitch(): On[ScenarioBuilder]
Execute one of the "choices" in a round-robin fashion.
Execute one of the "choices" in a round-robin fashion. Round-robin is global, not per virtual user.
- returns
a new
StructureBuilder
- Definition Classes
- RoundRobinSwitch
- Annotations
- @Nonnull()
- def stopInjector(message: Function[Session, String]): ScenarioBuilder
Have the virtual user abruptly stop the injector
Have the virtual user abruptly stop the injector
- message
the message, expressed as a function
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def stopInjector(message: String): ScenarioBuilder
Have the virtual user abruptly stop the injector
Have the virtual user abruptly stop the injector
- message
the message, expressed as a Gatling Expression Language String
- returns
a new
StructureBuilder
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryMax(times: Function[Session, Integer], counterName: String): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1), expressed as a function
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def tryMax(times: Function[Session, Integer]): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1), expressed as function
- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def tryMax(times: String, counterName: String): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1), expressed as a Gatling Expression Language String
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def tryMax(times: String): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1), expressed as a Gatling Expression Language String
- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def tryMax(times: Int, counterName: String): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1)
- counterName
the name of the loop counter, as stored in the
Session- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def tryMax(times: Int): TryMax[ScenarioBuilder]
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
Define a block that is interrupted and retried for a given virtual user if it experiences a failure.
- times
the maximum number of tries, including the first one (hence number of retries + 1)
- returns
a DSL component for defining the tried block
- Definition Classes
- Errors
- Annotations
- @Nonnull()
- def uniformRandomSwitch(): On[ScenarioBuilder]
Execute one of the "choices" in a random fashion, with each having even weights.
Execute one of the "choices" in a random fashion, with each having even weights.
- returns
a DSL component for defining the "choices"
- Definition Classes
- UniformRandomSwitch
- 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()