Class TestManager


  • public class TestManager
    extends Object
    TestManager encapsulates functions that gather JMeter Test files and execute the tests
    • Constructor Detail

      • TestManager

        public TestManager()
    • Method Detail

      • setTestFilesDirectory

        public TestManager setTestFilesDirectory​(File file)
      • setReportDirectory

        public TestManager setReportDirectory​(File file)
      • setIgnoreJVMKilled

        public TestManager setIgnoreJVMKilled​(Boolean ignoreJVMKillExitCode)
      • setPostTestPauseInSeconds

        public TestManager setPostTestPauseInSeconds​(String postTestPauseInSeconds)
        Sets a pause after each test has been executed.
        Parameters:
        postTestPauseInSeconds - Number of seconds to pause after a test has completed
        Returns:
        String
      • executeTests

        public List<String> executeTests()
                                  throws org.apache.maven.plugin.MojoExecutionException
        Executes all tests and returns the resultFile names
        Returns:
        the list of resultFile names
        Throws:
        org.apache.maven.plugin.MojoExecutionException - MojoExecutionException