public class ClientJMeterEngine extends Object implements JMeterEngine
| Constructor and Description |
|---|
ClientJMeterEngine(String hostAndPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(HashTree testTree)
Configure engine
|
void |
exit()
Exit engine
|
String |
getHost() |
boolean |
isActive() |
void |
reset()
Stop test if running
|
void |
runTest()
Runs the test
|
void |
setProperties(Properties p)
set Properties on engine
|
void |
stopTest(boolean now) |
static void |
tidyRMI(org.slf4j.Logger logger)
Tidy up RMI access to allow JMeter client to exit.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstopTestpublic ClientJMeterEngine(String hostAndPort) throws NotBoundException, RemoteException
NotBoundExceptionRemoteExceptionpublic void configure(HashTree testTree)
configure in interface JMeterEnginetestTree - the test planpublic 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 reset()
reset in interface JMeterEnginepublic void runTest()
throws JMeterEngineException
JMeterEnginerunTest in interface JMeterEngineJMeterEngineException - if an error occurspublic static void tidyRMI(org.slf4j.Logger logger)
logger - where to log the informationpublic void exit()
exit in interface JMeterEnginepublic void setProperties(Properties p)
setProperties in interface JMeterEnginep - the properties to setpublic boolean isActive()
isActive in interface JMeterEnginepublic String getHost()
Copyright © 1998-2020 Apache Software Foundation. All Rights Reserved.