Interface Phase.Builder

    • Method Detail

      • initialNumberOfUsers

        Phase.Builder initialNumberOfUsers​(Integer initialNumberOfUsers)

        Specifies how many concurrent users to start with. The value should be between 1 and 3.

        Parameters:
        initialNumberOfUsers - Specifies how many concurrent users to start with. The value should be between 1 and 3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spawnRate

        Phase.Builder spawnRate​(Integer spawnRate)

        Specified how many new users to spawn in a minute.

        Parameters:
        spawnRate - Specified how many new users to spawn in a minute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationInSeconds

        Phase.Builder durationInSeconds​(Integer durationInSeconds)

        Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds.

        Parameters:
        durationInSeconds - Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.