Class Sequence

java.lang.Object
io.hyperfoil.api.config.Sequence
All Implemented Interfaces:
Serializable

public class Sequence extends Object implements Serializable
Sequences are a series of one or more Step's that perform one logical unit of operation. Steps within a Sequence are executed in order. State is shared between sequences via the Session. This allows sequences to pass request scoped state between Step invocations.

Sequences form the basis of a timed operation.

See Also:
  • Constructor Details

    • Sequence

      public Sequence(String name, int id, int concurrency, int offset, Step[] steps)
  • Method Details

    • id

      public int id()
    • concurrency

      public int concurrency()
    • offset

      public int offset()
      Returns:
      Index for first instance for cases where we need an array of all concurrent instances.
    • reserve

      public void reserve(Session session)
    • name

      public String name()
    • steps

      public Step[] steps()