public class RemoteConfiguration extends Object
<remoteConfig>
<stopServersAfterTests></stopServersAfterTests>
<startServersBeforeTests></startServersBeforeTests>
<serverList></serverList>
<startAndStopServersForEachTest></startAndStopServersForEachTest>
</remoteConfig>
Constructor and Description |
---|
RemoteConfiguration() |
Modifier and Type | Method and Description |
---|---|
Map<ConfigurationFiles,PropertiesMapping> |
getPropertiesMap() |
String |
getServerList() |
boolean |
isStartAndStopServersForEachTest() |
boolean |
isStartServersBeforeTests() |
boolean |
isStopServersAfterTests() |
void |
setPropertiesMap(Map<ConfigurationFiles,PropertiesMapping> propertiesMap) |
void |
setServerList(String serverList)
Comma separated list of servers to serverList when starting tests
|
void |
setStartAndStopServersForEachTest(boolean startAndStopServersForEachTest)
Remote serverList and stopServersAfterTests for every test, or once for the entire test suite of tests.
|
void |
setStartServersBeforeTests(boolean startServersBeforeTests)
Start all remote servers as defined in jmeter.properties when the test starts
Default:
Boolean.FALSE |
void |
setStopServersAfterTests(boolean stopServersAfterTests)
Stop remote servers when the test finishes
Default:
Boolean.FALSE |
String |
toString()
Remote configuration details formatted for command line output.
|
public boolean isStopServersAfterTests()
public void setStopServersAfterTests(boolean stopServersAfterTests)
Boolean.FALSE
stopServersAfterTests
- booleanpublic boolean isStartServersBeforeTests()
public void setStartServersBeforeTests(boolean startServersBeforeTests)
Boolean.FALSE
startServersBeforeTests
- booleanpublic String getServerList()
public void setServerList(String serverList)
serverList
- Stringpublic boolean isStartAndStopServersForEachTest()
public void setStartAndStopServersForEachTest(boolean startAndStopServersForEachTest)
Boolean.TRUE
(once for the entire suite of tests)startAndStopServersForEachTest
- booleanpublic String toString()
public Map<ConfigurationFiles,PropertiesMapping> getPropertiesMap()
public void setPropertiesMap(Map<ConfigurationFiles,PropertiesMapping> propertiesMap)
Copyright © 2018. All rights reserved.