Class 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 Detail

      • RemoteConfiguration

        public RemoteConfiguration()
    • 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.
      • toString

        public String toString()
        Remote configuration details formatted for command line output.
        Overrides:
        toString in class Object
        Returns:
        String