Annotation Type Simulation


  • @Retention(RUNTIME)
    public @interface Simulation
    Simulation annotation is used to mark classes as Simulation entities. Simulation entities contain the load test methods as well as metadata describing how to generate load against a service instance under test.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int durationInMins
      Duration of the Simulation in minutes.
      int maxNumberOfUsers
      The number of users that simulation employs.
      java.lang.String name
      The name of the simulation.
      java.lang.String userRegion
      The region of the test users.
    • Element Detail

      • name

        java.lang.String name
        The name of the simulation. Name must be unique if the package contains multiple simulations.

        Returns:
        name of the simulation.
        Default:
        ""
      • userRegion

        java.lang.String userRegion
        The region of the test users. The user source must provide as many users in that region that the simulation requires, otherwise the simulation will not start.

        Returns:
        user region.
        Default:
        "all"
      • maxNumberOfUsers

        int maxNumberOfUsers
        The number of users that simulation employs. The user source must provide as many users that the simulation requires, otherwise the simulation will not start.

        Returns:
        Number of users that Simulation requires.
        Default:
        2
      • durationInMins

        int durationInMins
        Duration of the Simulation in minutes.

        Returns:
        duration of the Simulation in minutes.
        Default:
        1