https://bz.apache.org/bugzilla/show_bug.cgi?id=61493

            Bug ID: 61493
           Summary: Max thread and Min thread active in Graphite backend
                    listener is giving wrong value
           Product: JMeter
           Version: 3.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

package org.apache.jmeter.visualizers.backend;

  /**
     * @return the max number of active threads for this test run 
     *          using a sliding window of SLIDING_WINDOW_SIZE
     */
    public int getMaxActiveThreads() {
        return (int) usersStats.getMin();
    }

    /**
     * @return the mean number of active threads for this test run
     *          using a sliding window of SLIDING_WINDOW_SIZE
     */
    public int getMeanActiveThreads() {
        return (int) usersStats.getMean();
    }

    /**
     * @return the min number of active threads for this test run
     *          using a sliding window of SLIDING_WINDOW_SIZE
     */
    public int getMinActiveThreads() {
        return (int) usersStats.getMax();
    }

    /**
     * @return finished threads
     */

*getMaxActiveThreads() and getMinActiveThreads() functions are interchanged

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to