|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.engine.DistributedRunner
public class DistributedRunner
This class serves all responsibility of starting and stopping distributed tests. It was refactored from JMeter and RemoteStart classes to unify retry behavior.
JMeter
,
RemoteStart
Field Summary | |
---|---|
static String |
CONTINUE_ON_FAIL
|
static String |
RETRIES_DELAY
|
static String |
RETRIES_NUMBER
|
Constructor Summary | |
---|---|
DistributedRunner()
|
|
DistributedRunner(Properties props)
|
Method Summary | |
---|---|
protected JMeterEngine |
createEngine(String address)
A factory method that might be overridden for unit testing |
void |
exit(List<String> addresses)
|
void |
init(List<String> addresses,
HashTree tree)
|
void |
setStdErr(PrintStream stdErr)
|
void |
setStdout(PrintStream stdout)
|
void |
shutdown(List<String> addresses)
|
void |
start()
Start all engines that were previously initiated |
void |
start(List<String> addresses)
Starts a remote testing engines |
void |
stop()
Stop all engines that were previously initiated |
void |
stop(List<String> addresses)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RETRIES_NUMBER
public static final String RETRIES_DELAY
public static final String CONTINUE_ON_FAIL
Constructor Detail |
---|
public DistributedRunner()
public DistributedRunner(Properties props)
Method Detail |
---|
public void init(List<String> addresses, HashTree tree)
public void start(List<String> addresses)
addresses
- list of the DNS names or IP addresses of the remote testing enginespublic void start()
public void stop(List<String> addresses)
public void stop()
public void shutdown(List<String> addresses)
public void exit(List<String> addresses)
protected JMeterEngine createEngine(String address) throws RemoteException, NotBoundException, MalformedURLException
address
- address for engine
RemoteException
NotBoundException
MalformedURLException
public void setStdout(PrintStream stdout)
public void setStdErr(PrintStream stdErr)
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |