io.gatling.core.controller

inject

package inject

Visibility
  1. Public
  2. All

Type Members

  1. case class AtOnceInjection(users: Int) extends InjectionStep with Product with Serializable

    Injection all the users at once

  2. case class ConstantRateInjection(rate: Double, duration: FiniteDuration) extends InjectionStep with Product with Serializable

    Inject users at constant rate : an other expression of a RampInjection

  3. case class HeavisideInjection(users: Int, duration: FiniteDuration) extends InjectionStep with Product with Serializable

    Injection rate following a Heaviside distribution function

    Injection rate following a Heaviside distribution function

    numberOfInjectedUsers(t) = u(t)
                             = ??(t)
                             = Heaviside(t)
                             = 1/2 + 1/2*erf(k*t)
                             // (good numerical approximation)
  4. case class InjectionProfile(injectionSteps: Iterable[InjectionStep]) extends Product with Serializable

    This class represents the configuration of a scenario

    This class represents the configuration of a scenario

    injectionSteps

    the number of users that will behave as this scenario says

  5. trait InjectionStep extends AnyRef

  6. trait InjectionSupport extends AnyRef

  7. case class NothingForInjection(duration: FiniteDuration) extends InjectionStep with Product with Serializable

    Don't injection any user for a given duration

  8. case class PoissonInjection(duration: FiniteDuration, startRate: Double, endRate: Double, seed: Long = System.nanoTime) extends InjectionStep with Product with Serializable

    Inject users following a Poisson random process, with a ramped injection rate.

    Inject users following a Poisson random process, with a ramped injection rate.

    A Poisson process models users arriving at a page randomly. You can specify the rate that users arrive at, and this rate can ramp-up.

    Note that since this injector has an element of randomness, the total number of users may vary from run to run, depending on the seed.

    duration

    the length of time this injector should run for

    startRate

    initial injection rate for users

    endRate

    final injection rate for users

    seed

    a seed for the randomization. If the same seed is re-used, the same timings will be obtained

  9. case class RampInjection(users: Int, duration: FiniteDuration) extends InjectionStep with Product with Serializable

    Ramp a given number of users over a given duration

  10. case class RampRateInjection(r1: Double, r2: Double, duration: FiniteDuration) extends InjectionStep with Product with Serializable

    The injection scheduling follows this equation u = r1*t + (r2-r1)/(2*duration)*t²

    The injection scheduling follows this equation u = r1*t + (r2-r1)/(2*duration)*t²

    r1

    Initial injection rate in users/seconds

    r2

    Final injection rate in users/seconds

    duration

    Injection duration

  11. case class SplitInjection(possibleUsers: Int, step: InjectionStep, separator: InjectionStep) extends InjectionStep with Product with Serializable

    Inject users through separated steps until reaching the closest possible amount of total users.

    Inject users through separated steps until reaching the closest possible amount of total users.

    possibleUsers

    The maximum possible of total users.

    step

    The step that will be repeated.

    separator

    Will be injected in between the regular injection steps.

Ungrouped