public class DistributedRunner extends Object
JMeter,
RemoteStart| Modifier and Type | Field and Description |
|---|---|
static String |
CONTINUE_ON_FAIL |
static String |
RETRIES_DELAY |
static String |
RETRIES_NUMBER |
| Constructor and Description |
|---|
DistributedRunner() |
DistributedRunner(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
protected JMeterEngine |
createEngine(String address)
A factory method that might be overridden for unit testing
|
void |
exit(List<String> addresses) |
Collection<? extends JMeterEngine> |
getEngines() |
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) |
public static final String RETRIES_NUMBER
public static final String RETRIES_DELAY
public static final String CONTINUE_ON_FAIL
public DistributedRunner()
public DistributedRunner(Properties props)
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()
protected JMeterEngine createEngine(String address) throws RemoteException, NotBoundException
address - address for engineRemoteException - if registry can't be contactedNotBoundException - when name for address can't be foundpublic void setStdout(PrintStream stdout)
public void setStdErr(PrintStream stdErr)
public Collection<? extends JMeterEngine> getEngines()
Collection of JMeterEngineCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.