Packages

trait Errors[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef

Methods for defining error handling components.

Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Errors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def make(f: Function[W, W]): T

Concrete 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def exitBlockOnFail(chain: ChainBuilder): T

    Define a block that is interrupted for a given virtual user if it experiences a failure.

    Define a block that is interrupted for a given virtual user if it experiences a failure.

    chain

    the block to be eventually interrupted

    returns

    a new StructureBuilder

    Annotations
    @Nonnull()
  9. def exitHere(): T

    Have the virtual user exit here

    Have the virtual user exit here

    returns

    a new StructureBuilder

    Annotations
    @Nonnull()
  10. def exitHereIf(condition: Function[Session, Boolean]): T

    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

    Annotations
    @Nonnull()
  11. def exitHereIf(condition: String): T

    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

    Annotations
    @Nonnull()
  12. def exitHereIfFailed(): T

    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

    Annotations
    @Nonnull()
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def stopInjector(message: Function[Session, String]): T

    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

    Annotations
    @Nonnull()
  21. def stopInjector(message: String): T

    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

    Annotations
    @Nonnull()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def tryMax(times: Function[Session, Integer], counterName: String): TryMax[T]

    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

    Annotations
    @Nonnull()
  25. def tryMax(times: Function[Session, Integer]): TryMax[T]

    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

    Annotations
    @Nonnull()
  26. def tryMax(times: String, counterName: String): TryMax[T]

    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

    Annotations
    @Nonnull()
  27. def tryMax(times: String): TryMax[T]

    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

    Annotations
    @Nonnull()
  28. def tryMax(times: Int, counterName: String): TryMax[T]

    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

    Annotations
    @Nonnull()
  29. def tryMax(times: Int): TryMax[T]

    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

    Annotations
    @Nonnull()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped