package open
- Alphabetic
- Public
- All
Type Members
-
case class
AtOnceOpenInjection(users: Long) extends OpenInjectionStep with Product with Serializable
Inject all the users at once
-
case class
ConstantRateOpenInjection(rate: Double, duration: FiniteDuration) extends OpenInjectionStep with Product with Serializable
Inject users at constant rate : an other expression of a RampInjection
-
case class
HeavisideOpenInjection(users: Long, duration: FiniteDuration) extends OpenInjectionStep 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) - abstract class InjectionIterator extends AbstractIterator[FiniteDuration]
- trait MetaOpenInjectionSupport extends AnyRef
-
case class
NothingForOpenInjection(duration: FiniteDuration) extends OpenInjectionStep with Product with Serializable
Don't injection any user for a given duration
-
case class
OpenInjectionProfile(steps: Iterable[OpenInjectionStep]) extends InjectionProfile with Product with Serializable
This class represents the configuration of a scenario
This class represents the configuration of a scenario
- steps
the number of users that will behave as this scenario says
- sealed trait OpenInjectionStep extends AnyRef
- trait OpenInjectionSupport extends MetaOpenInjectionSupport
- class OpenWorkload extends Workload
-
case class
PoissonOpenInjection(duration: FiniteDuration, startRate: Double, endRate: Double, seed: Long = System.nanoTime) extends OpenInjectionStep 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
-
case class
RampOpenInjection(users: Long, duration: FiniteDuration) extends OpenInjectionStep with Product with Serializable
Ramp a given number of users over a given duration
-
case class
RampRateOpenInjection(startRate: Double, endRate: Double, duration: FiniteDuration) extends OpenInjectionStep with Product with Serializable
- startRate
Initial injection rate in users/seconds
- endRate
Final injection rate in users/seconds
- duration
Injection duration
Value Members
- object OpenInjectionSupport
- object UserStream