org.apache.jmeter.threads
public final class JMeterContextService extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addTotalThreads(int thisGroup)
Update the total number of threads
|
static void |
clearTotalThreads()
Set total threads to zero
|
static void |
endTest()
Called by MainFrame#testEnded().
|
static JMeterContext |
getContext()
Gives access to the current thread context.
|
static int |
getNumberOfThreads()
Get the number of currently active threads
|
static long |
getTestStartTime() |
static int |
getTotalThreads()
Get the total number of threads (>= active)
|
static void |
startTest()
Method is called by the JMeterEngine class when a test run is started.
|
public static JMeterContext getContext()
public static void startTest()
public static int getNumberOfThreads()
public static void endTest()
public static long getTestStartTime()
public static int getTotalThreads()
public static void addTotalThreads(int thisGroup)
thisGroup
- number of threads in this thread grouppublic static void clearTotalThreads()
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.