Package org.apache.jmeter.engine
Class ClientJMeterEngine
- java.lang.Object
-
- org.apache.jmeter.engine.ClientJMeterEngine
-
- All Implemented Interfaces:
JMeterEngine
public class ClientJMeterEngine extends Object implements JMeterEngine
Class to run remote tests from the client JMeter and collect remote samples
-
-
Constructor Summary
Constructors Constructor Description ClientJMeterEngine(String host)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(HashTree testTree)voidexit()StringgetHost()booleanisActive()voidreset()voidrunTest()voidsetProperties(Properties p)voidstopTest(boolean now)static voidtidyRMI(Logger logger)Tidy up RMI access to allow JMeter client to exit.
-
-
-
Constructor Detail
-
ClientJMeterEngine
public ClientJMeterEngine(String host) throws MalformedURLException, NotBoundException, RemoteException
-
-
Method Detail
-
configure
public void configure(HashTree testTree)
- Specified by:
configurein interfaceJMeterEngine
-
stopTest
public void stopTest(boolean now)
- Specified by:
stopTestin interfaceJMeterEngine
-
reset
public void reset()
- Specified by:
resetin interfaceJMeterEngine
-
runTest
public void runTest() throws JMeterEngineException- Specified by:
runTestin interfaceJMeterEngine- Throws:
JMeterEngineException
-
tidyRMI
public static void tidyRMI(Logger logger)
Tidy up RMI access to allow JMeter client to exit. Currently just interrups the "RMI Reaper" thread.- Parameters:
logger- where to log the information
-
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
-
getHost
public String getHost()
-
-