trait Execs[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Execs methods for defining actions.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one, eg
ChainBuilder chain1 = ???
// chain2 is different from chain1
// chain1 isn't modified and doesn't have this new "exec"
ChainBuilder chain2 = chain1.exec(???);
- Alphabetic
- By Inheritance
- Execs
- 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 exec(chainBuilders: List[ChainBuilder]): T
Attach some
StructureBuilders.Attach some
StructureBuilders. Those can beChainBuilders or aScenarioBuilders. In the case of aScenarioBuilder, only the chain of actions is considered, without the scenario name. Chains will be attached sequentially.ChainBuilder chain1 = ??? ChainBuilder chain2 = ??? Listchains = Arrays.asList(chain1, chain2); ChainBuilder chain1ThenChain2 = exec(chains); - chainBuilders
some
ChainBuilders- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def exec(executable: Executable, executables: <repeated...>[Executable]): T
Attach some
ChainBuilders.Attach some
ChainBuilders. Chains will be attached sequentially.ChainBuilder chain1 = ??? ChainBuilder chain2 = ??? ChainBuilder chain1ThenChain2 = exec(chain1, chain2);- executable
some
ChainBuilderorActionBuilder- executables
other
ChainBuilders orActionBuilders- returns
a new StructureBuilder
- Annotations
- @NonNull()
- def exec(f: Function[Session, Session]): T
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
- Annotations
- @NonNull()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()