jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61493] New: Max thread and Min thread active in Graphite backend listener is giving wrong value
Date Wed, 06 Sep 2017 11:21:06 GMT
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: issues@jmeter.apache.org
          Reporter: mayank3636@gmail.com
  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.
Mime
View raw message