Class RemoteConfiguration
- java.lang.Object
-
- com.lazerycode.jmeter.configuration.RemoteConfiguration
-
public class RemoteConfiguration extends Object
This is used by the TestManager to configure remote serverList and stopServersAfterTests settings for each test run.
Configuration in pom.xml:
<remoteConfig> <stopServersAfterTests></stopServersAfterTests> <startServersBeforeTests></startServersBeforeTests> <serverList></serverList> <startAndStopServersForEachTest></startAndStopServersForEachTest> </remoteConfig>
- Author:
- Arne Franken
-
-
Constructor Summary
Constructors Constructor Description RemoteConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ConfigurationFiles,PropertiesMapping>
getPropertiesMap()
String
getServerList()
boolean
isStartAndStopServersForEachTest()
boolean
isStartServersBeforeTests()
boolean
isStopServersAfterTests()
void
setPropertiesMap(Map<ConfigurationFiles,PropertiesMapping> propertiesMap)
String
toString()
Remote configuration details formatted for command line output.
-
-
-
Method Detail
-
isStopServersAfterTests
public boolean isStopServersAfterTests()
- Returns:
- Stop remote servers when the test finishes
-
isStartServersBeforeTests
public boolean isStartServersBeforeTests()
- Returns:
- Start all remote servers as defined in jmeter.properties when the test starts
-
getServerList
public String getServerList()
- Returns:
- Comma separated list of servers to serverList when starting tests
-
isStartAndStopServersForEachTest
public boolean isStartAndStopServersForEachTest()
- Returns:
- Remote serverList and stopServersAfterTests for every test, or once for the entire test suite of tests.
-
getPropertiesMap
public Map<ConfigurationFiles,PropertiesMapping> getPropertiesMap()
- Returns:
- propertycontainers with information specified in the various property sources.
-
setPropertiesMap
public void setPropertiesMap(Map<ConfigurationFiles,PropertiesMapping> propertiesMap)
-
-