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.
- Alphabetic
- By Inheritance
- Errors
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- def exitHere(): T
Have the virtual user exit here
- 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()
- 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()
- 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()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def 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()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryMax(times: Function[Session, Integer], counterName: String): TryMax[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()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()