public class StandardJMeterEngine extends Object implements JMeterEngine, Runnable
RemoteJMeterEngineImpl when running in server mode.| Constructor and Description |
|---|
StandardJMeterEngine() |
StandardJMeterEngine(String host) |
| Modifier and Type | Method and Description |
|---|---|
void |
askThreadsToStop()
Clean shutdown ie, wait for end of current running samplers
|
void |
configure(HashTree testTree)
Configure engine
|
void |
exit()
Remote exit
Called by RemoteJMeterEngineImpl.rexit()
and by notifyTestListenersOfEnd() iff exitAfterTest is true;
in turn that is called by the run() method and the StopTest class
also called
|
boolean |
isActive() |
static void |
register(TestStateListener tl) |
void |
reset()
Stop test if running
|
void |
run() |
void |
runTest()
Runs the test
|
void |
setProperties(Properties p)
set Properties on engine
|
static void |
stopEngine() |
static void |
stopEngineNow() |
void |
stopTest()
Stop Test Now
|
void |
stopTest(boolean now) |
static boolean |
stopThread(String threadName) |
static boolean |
stopThreadNow(String threadName) |
public StandardJMeterEngine()
public StandardJMeterEngine(String host)
public static void stopEngineNow()
public static void stopEngine()
public static void register(TestStateListener tl)
public static boolean stopThread(String threadName)
public static boolean stopThreadNow(String threadName)
public void configure(HashTree testTree)
JMeterEngineconfigure in interface JMeterEnginetestTree - the test planpublic void runTest()
throws JMeterEngineException
JMeterEnginerunTest in interface JMeterEngineJMeterEngineException - if an error occurspublic void reset()
JMeterEnginereset in interface JMeterEnginepublic void stopTest()
stopTest in interface JMeterEnginepublic void stopTest(boolean now)
stopTest in interface JMeterEnginenow - boolean that tell whether stop is immediate (interrupt) or not (wait for current sample end)public void askThreadsToStop()
public void exit()
exit in interface JMeterEnginepublic void setProperties(Properties p)
JMeterEnginesetProperties in interface JMeterEnginep - the properties to setpublic boolean isActive()
isActive in interface JMeterEngineCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.