Annotation Type RampUp


  • @Retention(RUNTIME)
    public @interface RampUp
    Ramp-up annotation is used to increase the load in controlled steps, from start rps till it reaches the target RPS during the ramp-up phase defined with duration. If you wish you can override this annotation's properties als via System properties,e.g. -Dsimulation.rampup.io.ryos.rhino.test.ReactiveSleepTestSimulation.startRps=100

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int durationInMins
      Ramp-up duration in minutes.
      long startRps
      Start request-per-second.
      long targetRps
      Target request-per-second.
    • Element Detail

      • startRps

        long startRps
        Start request-per-second.

        Returns:
        Start RPS.
        Default:
        0L
      • targetRps

        long targetRps
        Target request-per-second.

        Returns:
        Target request-per-second.
        Default:
        100L
      • durationInMins

        int durationInMins
        Ramp-up duration in minutes. After the duration elapses, the request stays at the level of target RPS.

        Returns:
        Ramp-up phase.
        Default:
        -1