Class UserMetric
java.lang.Object
org.apache.jmeter.visualizers.backend.UserMetric
User metric
- Since:
- 2.13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SampleResult result) Add aSampleResultto be used in the statisticsvoidclear()Clear statsintintintintintvoidReset metric except for percentile related data
-
Constructor Details
-
UserMetric
public UserMetric()
-
-
Method Details
-
add
Add aSampleResultto be used in the statistics- Parameters:
result-SampleResultnot used
-
resetForTimeInterval
public void resetForTimeInterval()Reset metric except for percentile related data -
getMaxActiveThreads
public int getMaxActiveThreads()- Returns:
- the max number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getMeanActiveThreads
public int getMeanActiveThreads()- Returns:
- the mean number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getMinActiveThreads
public int getMinActiveThreads()- Returns:
- the min number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE
-
getFinishedThreads
public int getFinishedThreads()- Returns:
- finished threads
-
getStartedThreads
public int getStartedThreads()- Returns:
- started threads
-
clear
public void clear()Clear stats
-