Packages

c

io.gatling.javaapi.core

ScenarioBuilder

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.

Linear Supertypes
StructureBuilder[ScenarioBuilder, core.structure.ScenarioBuilder], Errors[ScenarioBuilder, core.structure.ScenarioBuilder], RoundRobinSwitch[ScenarioBuilder, core.structure.ScenarioBuilder], UniformRandomSwitch[ScenarioBuilder, core.structure.ScenarioBuilder], RandomSwitchOrElse[ScenarioBuilder, core.structure.ScenarioBuilder], RandomSwitch[ScenarioBuilder, core.structure.ScenarioBuilder], DoSwitchOrElse[ScenarioBuilder, core.structure.ScenarioBuilder], DoSwitch[ScenarioBuilder, core.structure.ScenarioBuilder], DoIfEqualsOrElse[ScenarioBuilder, core.structure.ScenarioBuilder], DoIfEquals[ScenarioBuilder, core.structure.ScenarioBuilder], DoIfOrElse[ScenarioBuilder, core.structure.ScenarioBuilder], DoIf[ScenarioBuilder, core.structure.ScenarioBuilder], DoWhileDuring[ScenarioBuilder, core.structure.ScenarioBuilder], AsLongAsDuring[ScenarioBuilder, core.structure.ScenarioBuilder], DoWhile[ScenarioBuilder, core.structure.ScenarioBuilder], AsLongAs[ScenarioBuilder, core.structure.ScenarioBuilder], Forever[ScenarioBuilder, core.structure.ScenarioBuilder], During[ScenarioBuilder, core.structure.ScenarioBuilder], ForEach[ScenarioBuilder, core.structure.ScenarioBuilder], Repeat[ScenarioBuilder, core.structure.ScenarioBuilder], RendezVous[ScenarioBuilder, core.structure.ScenarioBuilder], Paces[ScenarioBuilder, core.structure.ScenarioBuilder], Pauses[ScenarioBuilder, core.structure.ScenarioBuilder], Feeds[ScenarioBuilder, core.structure.ScenarioBuilder], Groups[ScenarioBuilder, core.structure.ScenarioBuilder], Execs[ScenarioBuilder, core.structure.ScenarioBuilder], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScenarioBuilder
  2. StructureBuilder
  3. Errors
  4. RoundRobinSwitch
  5. UniformRandomSwitch
  6. RandomSwitchOrElse
  7. RandomSwitch
  8. DoSwitchOrElse
  9. DoSwitch
  10. DoIfEqualsOrElse
  11. DoIfEquals
  12. DoIfOrElse
  13. DoIf
  14. DoWhileDuring
  15. AsLongAsDuring
  16. DoWhile
  17. AsLongAs
  18. Forever
  19. During
  20. ForEach
  21. Repeat
  22. RendezVous
  23. Paces
  24. Pauses
  25. Feeds
  26. Groups
  27. Execs
  28. AnyRef
  29. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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()
  6. 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
  7. def asLongAs(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

    condition

    the condition, 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
    AsLongAs
    Annotations
    @NonNull()
  8. 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()
  9. 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()
  10. 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()
  11. 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()
  12. 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()
  13. 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()
  14. 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()
  15. 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()
  16. 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()
  17. 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()
  18. 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()
  19. 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()
  20. 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()
  21. 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()
  22. 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()
  23. 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()
  24. 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()
  25. 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()
  26. 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()
  27. 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()
  28. 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 a 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()
  29. 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()
  30. 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()
  31. 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()
  32. 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 a 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()
  33. 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()
  34. 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()
  35. 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()
  36. 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 a 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()
  37. 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()
  38. 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()
  39. 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()
  40. 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 a Duration

    returns

    a DSL component for defining the loop content

    Definition Classes
    AsLongAsDuring
    Annotations
    @NonNull()
  41. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  42. 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()
  43. 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()
  44. 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()
  45. 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()
  46. 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()
  47. 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()
  48. 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()
  49. 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()
  50. 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()
  51. 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()
  52. 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()
  53. 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()
  54. 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()
  55. 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()
  56. 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()
  57. 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()
  58. 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()
  59. 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()
  60. 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()
  61. 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()
  62. 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()
  63. 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()
  64. 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()
  65. 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()
  66. 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()
  67. 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()
  68. 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()
  69. 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()
  70. 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()
  71. 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()
  72. 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()
  73. 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()
  74. 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()
  75. 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()
  76. 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()
  77. 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()
  78. 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()
  79. 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()
  80. 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()
  81. 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 a 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()
  82. 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()
  83. 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()
  84. 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()
  85. 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 a 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()
  86. 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()
  87. 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()
  88. 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()
  89. 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 a 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()
  90. 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()
  91. 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()
  92. 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()
  93. 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 a Duration

    returns

    a DSL component for defining the loop content

    Definition Classes
    DoWhileDuring
    Annotations
    @NonNull()
  94. 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()
  95. 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()
  96. 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()
  97. 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()
  98. 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()
  99. 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 a Duration

    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()
  100. 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 a 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()
  101. 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 a Duration

    returns

    a DSL component for defining the loop content

    Definition Classes
    During
    Annotations
    @NonNull()
  102. 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()
  103. def during(duration: 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

    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()
  104. 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()
  105. 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()
  106. 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()
  107. 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()
  108. 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()
  109. 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()
  110. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  111. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  112. def exec(chainBuilders: List[ChainBuilder]): ScenarioBuilder

    Attach some StructureBuilders.

    Attach some StructureBuilders. Those can be ChainBuilders or a ScenarioBuilders. In the case of a ScenarioBuilder, only the chain of actions is considered, without the scenario name. Chains will be attached sequentially.

    
    ChainBuilder chain1 = ???
    ChainBuilder chain2 = ???
    List chains = Arrays.asList(chain1, chain2);
    ChainBuilder chain1ThenChain2 = exec(chains);
    
    

    chainBuilders

    some ChainBuilders

    returns

    a new StructureBuilder

    Definition Classes
    Execs
    Annotations
    @NonNull()
  113. def exec(executable: Executable, executables: <repeated...>[Executable]): ScenarioBuilder

    Attach some ChainBuilders.

    Attach some ChainBuilders. Chains will be attached sequentially.

    
    ChainBuilder chain1 = ???
    ChainBuilder chain2 = ???
    ChainBuilder chain1ThenChain2 = exec(chain1, chain2);
    
    

    executable

    some ChainBuilder or ActionBuilder

    executables

    other ChainBuilders or ActionBuilders

    returns

    a new StructureBuilder

    Definition Classes
    Execs
    Annotations
    @NonNull()
  114. 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()
  115. def exitBlockOnFail(): ExitBlockOnFail[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.

    returns

    a DSL component for defining the tried block

    Definition Classes
    Errors
    Annotations
    @NonNull()
  116. def exitHere(): ScenarioBuilder

    Have the virtual user exit here

    Have the virtual user exit here

    returns

    a new StructureBuilder

    Definition Classes
    Errors
    Annotations
    @NonNull()
  117. 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()
  118. 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()
  119. 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()
  120. 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()
  121. 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()
  122. 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()
  123. 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()
  124. 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()
  125. 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()
  126. 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()
  127. 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()
  128. 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 Iterator can be lazily loaded

    numberOfRecords

    the number of records to poll from the feeder at once

    returns

    a new StructureBuilder

    Definition Classes
    Feeds
    Annotations
    @NonNull()
  129. 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 Iterator can be lazily loaded

    numberOfRecords

    the number of records to poll from the feeder at once

    returns

    a new StructureBuilder

    Definition Classes
    Feeds
    Annotations
    @NonNull()
  130. 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 Iterator can be lazily loaded

    numberOfRecords

    the number of records to poll from the feeder at once

    returns

    a new StructureBuilder

    Definition Classes
    Feeds
    Annotations
    @NonNull()
  131. def feed(feederBuilder: Supplier[Iterator[Map[String, AnyRef]]]): ScenarioBuilder

    Attach a feed action

    Attach a feed action

    feederBuilder

    a supplier so that the underlying Iterator can be lazily loaded

    returns

    a new StructureBuilder

    Definition Classes
    Feeds
    Annotations
    @NonNull()
  132. 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()
  133. def foreach(seq: Function[Session, List[_ <: AnyRef]], 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 function

    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()
  134. 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()
  135. 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()
  136. 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()
  137. def foreach(seq: List[_ <: AnyRef], 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 static list of values to iterate over

    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()
  138. def forever(counterName: String): On[ScenarioBuilder]

    Define a loop that will iterate forever.

    Define a loop that will iterate forever.

    counterName

    the name of the loop counter, as stored in the Session

    returns

    a DSL component for defining the loop content

    Definition Classes
    Forever
    Annotations
    @NonNull()
  139. 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()
  140. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  141. 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()
  142. 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()
  143. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  144. def injectClosed(steps: List[ClosedInjectionStep]): PopulationBuilder
    Annotations
    @NonNull()
  145. def injectClosed(steps: <repeated...>[ClosedInjectionStep]): PopulationBuilder
    Annotations
    @NonNull()
  146. def injectOpen(steps: List[OpenInjectionStep]): PopulationBuilder
    Annotations
    @NonNull()
  147. def injectOpen(steps: <repeated...>[OpenInjectionStep]): PopulationBuilder
    Annotations
    @NonNull()
  148. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  149. def make(f: Function[core.structure.ScenarioBuilder, core.structure.ScenarioBuilder]): ScenarioBuilder
  150. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  151. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  152. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  153. 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

    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

    counterName

    the name of the loop counter, as stored in the Session

    returns

    a new StructureBuilder

    Definition Classes
    Paces
    Annotations
    @NonNull()
  154. 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()
  155. 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, or Durations.

    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()
  156. def pace(min: Duration, max: Duration, counterName: String): 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

    counterName

    the name of the loop counter, as stored in the Session

    returns

    a new StructureBuilder

    Definition Classes
    Paces
    Annotations
    @NonNull()
  157. 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()
  158. def pace(min: Long, max: Long, counterName: String): 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

    counterName

    the name of the loop counter, as stored in the Session

    returns

    a new StructureBuilder

    Definition Classes
    Paces
    Annotations
    @NonNull()
  159. 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()
  160. def pace(duration: Function[Session, Duration], counterName: String): ScenarioBuilder

    Attach a pace action

    Attach a pace action

    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()
  161. 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()
  162. 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 a Duration.

    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()
  163. 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 a Duration.

    duration

    the duration of the pace

    returns

    a new StructureBuilder

    Definition Classes
    Paces
    Annotations
    @NonNull()
  164. def pace(duration: Duration, counterName: String): ScenarioBuilder

    Attach a pace action

    Attach a pace action

    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()
  165. 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()
  166. def pace(duration: Long, counterName: String): ScenarioBuilder

    Attach a pace action

    Attach a pace action

    duration

    the duration of the pace in seconds

    counterName

    the name of the loop counter, as stored in the Session

    returns

    a new StructureBuilder

    Definition Classes
    Paces
    Annotations
    @NonNull()
  167. 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()
  168. 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()
  169. 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()
  170. 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 a Duration.

    min

    the pause minimum

    max

    the pause maximum

    pauseType

    the type of pause

    returns

    a new StructureBuilder

    Definition Classes
    Pauses
    Annotations
    @NonNull()
  171. 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 a Duration.

    min

    the pause minimum

    max

    the pause maximum

    returns

    a new StructureBuilder

    Definition Classes
    Pauses
    Annotations
    @NonNull()
  172. 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()
  173. 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()
  174. 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()
  175. 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()
  176. 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()
  177. 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()
  178. 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 a Duration.

    duration

    the pause duration as a Gatling Expression Language string

    pauseType

    the type of pause

    returns

    a new StructureBuilder

    Definition Classes
    Pauses
    Annotations
    @NonNull()
  179. 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 a Duration.

    duration

    the pause duration as a Gatling Expression Language string

    returns

    a new StructureBuilder

    Definition Classes
    Pauses
    Annotations
    @NonNull()
  180. 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()
  181. def pause(duration: Duration): ScenarioBuilder

    Attach a pause

    Attach a pause

    duration

    the pause duration

    returns

    a new StructureBuilder

    Definition Classes
    Pauses
    Annotations
    @NonNull()
  182. 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()
  183. 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()
  184. 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()
  185. 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()
  186. 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()
  187. def repeat(times: Function[Session, Integer], 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 function

    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()
  188. 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()
  189. 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()
  190. 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()
  191. def repeat(times: Int, 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

    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()
  192. 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()
  193. 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()
  194. 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()
  195. 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()
  196. def stopInjectorIf(message: Function[Session, String], condition: String): ScenarioBuilder

    Have the virtual user abruptly stop the injector if a condition is met

    Have the virtual user abruptly stop the injector if a condition is met

    message

    the message, expressed as a function

    condition

    the condition, expressed as a Gatling Expression Language String

    returns

    a new StructureBuilder

    Definition Classes
    Errors
    Annotations
    @NonNull()
  197. def stopInjectorIf(message: String, condition: Function[Session, Boolean]): ScenarioBuilder

    Have the virtual user abruptly stop the injector if a condition is met

    Have the virtual user abruptly stop the injector if a condition is met

    message

    the message, expressed as a Gatling Expression Language String

    condition

    the condition, expressed as a function

    returns

    a new StructureBuilder

    Definition Classes
    Errors
    Annotations
    @NonNull()
  198. def stopInjectorIf(message: Function[Session, String], condition: Function[Session, Boolean]): ScenarioBuilder

    Have the virtual user abruptly stop the injector if a condition is met

    Have the virtual user abruptly stop the injector if a condition is met

    message

    the message, expressed as a function

    condition

    the condition, expressed as a function

    returns

    a new StructureBuilder

    Definition Classes
    Errors
    Annotations
    @NonNull()
  199. def stopInjectorIf(message: String, condition: String): ScenarioBuilder

    Have the virtual user abruptly stop the injector if a condition is met

    Have the virtual user abruptly stop the injector if a condition is met

    message

    the message, expressed as a Gatling Expression Language String

    condition

    the condition, expressed as a Gatling Expression Language String

    returns

    a new StructureBuilder

    Definition Classes
    Errors
    Annotations
    @NonNull()
  200. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  201. def toString(): String
    Definition Classes
    AnyRef → Any
  202. 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()
  203. 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()
  204. 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()
  205. 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()
  206. 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()
  207. 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()
  208. 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()
  209. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  210. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  211. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from StructureBuilder[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Errors[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from RoundRobinSwitch[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from UniformRandomSwitch[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from RandomSwitchOrElse[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from RandomSwitch[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoSwitchOrElse[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoSwitch[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoIfEqualsOrElse[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoIfEquals[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoIfOrElse[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoIf[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoWhileDuring[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from AsLongAsDuring[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from DoWhile[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from AsLongAs[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Forever[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from During[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from ForEach[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Repeat[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from RendezVous[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Paces[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Pauses[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Feeds[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Groups[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from Execs[ScenarioBuilder, core.structure.ScenarioBuilder]

Inherited from AnyRef

Inherited from Any

Ungrouped