Packages

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(???);

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Execs
  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 exec(chainBuilders: List[ChainBuilder]): T

    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

    Annotations
    @NonNull()
  9. 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 ChainBuilder or ActionBuilder

    executables

    other ChainBuilders or ActionBuilders

    returns

    a new StructureBuilder

    Annotations
    @NonNull()
  10. 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()
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def setInSession(input: Function[Session, AnyRef], attributeName: String): T

    Attach a new action that will evaluate a function and store the result in the Session.

    Attach a new action that will evaluate a function and store the result in the Session. Important: the function must only perform fast in-memory operations.

    
    setInSession(session -> UUID.randomUUID().toString(), "uuid")
    
    

    input

    the value to store, expressed as a function

    attributeName

    the name of the attribute to store the value into

    returns

    a new StructureBuilder

    Annotations
    @NonNull()
  18. def setInSession(input: String, attributeName: String): T

    Attach a new action that will evaluate a Gatling Expression Language String and store the result in the Session.

    Attach a new action that will evaluate a Gatling Expression Language String and store the result in the Session. Typically useful when the expression is non-deterministic, eg random, and its result must be used in multiple places.

    
    setInSession("#{randomUuid()", "uuid")
    }
    

    input

    the value to store, expressed as a Gatling Expression Language String

    attributeName

    the name of the attribute to store the value into

    returns

    a new StructureBuilder

    Annotations
    @NonNull()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. 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 AnyRef

Inherited from Any

Ungrouped