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 void
configure(HashTree testTree)
void
exit()
String
getHost()
boolean
isActive()
void
reset()
void
runTest()
void
setProperties(Properties p)
void
stopTest(boolean now)
static void
tidyRMI(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:
configure
in interfaceJMeterEngine
-
stopTest
public void stopTest(boolean now)
- Specified by:
stopTest
in interfaceJMeterEngine
-
reset
public void reset()
- Specified by:
reset
in interfaceJMeterEngine
-
runTest
public void runTest() throws JMeterEngineException
- Specified by:
runTest
in 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:
exit
in interfaceJMeterEngine
-
setProperties
public void setProperties(Properties p)
- Specified by:
setProperties
in interfaceJMeterEngine
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceJMeterEngine
-
getHost
public String getHost()
-
-