Annotation Type UserFeeder


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Documented
    public @interface UserFeeder
    Annotation used to mark simulation class fields of type User, that is the injection point where the users will be injected. Users are required to be able to make calls against web services. They might be pre-authenticated according to selected authentication strategy.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      long delay
      Delay between login requests while requesting token from IMS.
      java.lang.Class<? extends UserRepositoryFactory> factory
      Factory implementation of UserRepositoryFactory.
      int max
      Maximum number of users to be injected.
    • Element Detail

      • max

        int max
        Maximum number of users to be injected.

        Returns:
        Max. number of users.
        Default:
        -1
      • delay

        long delay
        Delay between login requests while requesting token from IMS.

        Returns:
        Delay in millis.
        Default:
        0L
      • factory

        java.lang.Class<? extends UserRepositoryFactory> factory
        Factory implementation of UserRepositoryFactory.

        Returns:
        The class type of the factory.
        Default:
        io.ryos.rhino.sdk.users.DefaultUserRepositoryFactoryImpl.class