Package org.apache.jmeter.engine
Class StandardJMeterEngine
- java.lang.Object
-
- org.apache.jmeter.engine.StandardJMeterEngine
-
- All Implemented Interfaces:
Runnable,JMeterEngine
public class StandardJMeterEngine extends Object implements JMeterEngine, Runnable
Runs JMeter tests, either directly for local GUI and non-GUI invocations, or started byRemoteJMeterEngineImplwhen running in server mode.
-
-
Constructor Summary
Constructors Constructor Description StandardJMeterEngine()StandardJMeterEngine(String host)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaskThreadsToStop()voidconfigure(HashTree testTree)voidexit()booleanisActive()static voidregister(TestStateListener tl)voidreset()voidrun()voidrunTest()voidsetProperties(Properties p)static voidstopEngine()static voidstopEngineNow()voidstopTest()voidstopTest(boolean now)static booleanstopThread(String threadName)static booleanstopThreadNow(String threadName)
-
-
-
Constructor Detail
-
StandardJMeterEngine
public StandardJMeterEngine()
-
StandardJMeterEngine
public StandardJMeterEngine(String host)
-
-
Method Detail
-
stopEngineNow
public static void stopEngineNow()
-
stopEngine
public static void stopEngine()
-
register
public static void register(TestStateListener tl)
-
stopThread
public static boolean stopThread(String threadName)
-
stopThreadNow
public static boolean stopThreadNow(String threadName)
-
configure
public void configure(HashTree testTree)
- Specified by:
configurein interfaceJMeterEngine
-
runTest
public void runTest() throws JMeterEngineException- Specified by:
runTestin interfaceJMeterEngine- Throws:
JMeterEngineException
-
reset
public void reset()
- Specified by:
resetin interfaceJMeterEngine
-
stopTest
public void stopTest()
-
stopTest
public void stopTest(boolean now)
- Specified by:
stopTestin interfaceJMeterEngine
-
askThreadsToStop
public void askThreadsToStop()
-
exit
public void exit()
- Specified by:
exitin interfaceJMeterEngine
-
setProperties
public void setProperties(Properties p)
- Specified by:
setPropertiesin interfaceJMeterEngine
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceJMeterEngine
-
-