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, wait
stopTest
public ClientJMeterEngine(String hostAndPort) throws NotBoundException, RemoteException
NotBoundException
RemoteException
public void configure(HashTree testTree)
configure
in interface JMeterEngine
testTree
- the test planpublic void stopTest(boolean now)
stopTest
in interface JMeterEngine
now
- boolean that tell whether stop is immediate (interrupt) or not (wait for current sample end)public void reset()
reset
in interface JMeterEngine
public void runTest() throws JMeterEngineException
JMeterEngine
runTest
in interface JMeterEngine
JMeterEngineException
- if an error occurspublic static void tidyRMI(org.slf4j.Logger logger)
logger
- where to log the informationpublic void exit()
exit
in interface JMeterEngine
public void setProperties(Properties p)
setProperties
in interface JMeterEngine
p
- the properties to setpublic boolean isActive()
isActive
in interface JMeterEngine
public String getHost()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.