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(chainBuilders: <repeated...>[ChainBuilder]): T

    Attach some ChainBuilders.

    Attach some ChainBuilders. Chains will be attached sequentially.

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

    chainBuilders

    some ChainBuilders

    returns

    a new StructureBuilder

    Annotations
    @Nonnull()
  10. def exec(actionBuilder: ActionBuilder): T

    Attach a new action.

    Attach a new action.

    
    exec(http("name").get("url"))
    
    

    actionBuilder

    the Action builder

    returns

    a new StructureBuilder

    Annotations
    @Nonnull()
  11. 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()
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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()

Inherited from AnyRef

Inherited from Any

Ungrouped