com.lazerycode.jmeter
Class RemoteConfig

java.lang.Object
  extended by com.lazerycode.jmeter.RemoteConfig

public class RemoteConfig
extends Object

Is used for configuration of all remote related configuration.

Configuration in pom.xml:

 <remoteConfig>
     <stop></stop>
     <startAll></startAll>
     <start></start>
     <startAndStopOnce></startAndStopOnce>
 </remoteConfig>
 
 

Author:
Arne Franken

Constructor Summary
RemoteConfig()
           
 
Method Summary
 String getStart()
           
 boolean isStartAll()
           
 boolean isStartAndStopOnce()
           
 boolean isStop()
           
 void setStart(String start)
          Comma separated list of servers to start when starting tests
 void setStartAll(boolean startAll)
          Start all remote servers as defined in jmeter.properties when the test starts Default: Boolean.FALSE
 void setStartAndStopOnce(boolean startAndStopOnce)
          Remote start and stop for every test, or once for the entire test suite of tests.
 void setStop(boolean stop)
          Stop remote servers when the test finishes Default: Boolean.FALSE
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteConfig

public RemoteConfig()
Method Detail

isStop

public boolean isStop()
Returns:
Stop remote servers when the test finishes

setStop

public void setStop(boolean stop)
Stop remote servers when the test finishes Default: Boolean.FALSE

Parameters:
stop -

isStartAll

public boolean isStartAll()
Returns:
Start all remote servers as defined in jmeter.properties when the test starts

setStartAll

public void setStartAll(boolean startAll)
Start all remote servers as defined in jmeter.properties when the test starts Default: Boolean.FALSE

Parameters:
startAll -

getStart

public String getStart()
Returns:
Comma separated list of servers to start when starting tests

setStart

public void setStart(String start)
Comma separated list of servers to start when starting tests

Parameters:
start -

isStartAndStopOnce

public boolean isStartAndStopOnce()
Returns:
Remote start and stop for every test, or once for the entire test suite of tests.

setStartAndStopOnce

public void setStartAndStopOnce(boolean startAndStopOnce)
Remote start and stop for every test, or once for the entire test suite of tests. Default: Boolean.TRUE (once for the entire suite of tests)

Parameters:
startAndStopOnce -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.