Package com.lazerycode.jmeter.testrunner
Class TestManager
- java.lang.Object
-
- com.lazerycode.jmeter.testrunner.TestManager
-
public class TestManager extends Object
TestManager encapsulates functions that gather JMeter Test files and execute the tests
-
-
Constructor Summary
Constructors Constructor Description TestManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
executeTests()
Executes all tests and returns the resultFile namesTestManager
setBaseTestArgs(JMeterArgumentsArray argumentsArray)
TestManager
setBinDir(File file)
TestManager
setGenerateReports(Boolean value)
TestManager
setIgnoreJVMKilled(Boolean ignoreJVMKillExitCode)
TestManager
setJMeterProcessJVMSettings(JMeterProcessJVMSettings settings)
TestManager
setPostTestPauseInSeconds(String postTestPauseInSeconds)
Sets a pause after each test has been executed.TestManager
setRemoteServerConfiguration(RemoteConfiguration configuration)
TestManager
setReportDirectory(File file)
TestManager
setRuntimeJarName(String value)
TestManager
setSuppressJMeterOutput(Boolean value)
TestManager
setTestFilesDirectory(File file)
TestManager
setTestFilesExcluded(List<String> values)
TestManager
setTestFilesIncluded(List<String> values)
-
-
-
Method Detail
-
setBinDir
public TestManager setBinDir(File file)
-
setBaseTestArgs
public TestManager setBaseTestArgs(JMeterArgumentsArray argumentsArray)
-
setTestFilesDirectory
public TestManager setTestFilesDirectory(File file)
-
setRemoteServerConfiguration
public TestManager setRemoteServerConfiguration(RemoteConfiguration configuration)
-
setSuppressJMeterOutput
public TestManager setSuppressJMeterOutput(Boolean value)
-
setJMeterProcessJVMSettings
public TestManager setJMeterProcessJVMSettings(JMeterProcessJVMSettings settings)
-
setRuntimeJarName
public TestManager setRuntimeJarName(String value)
-
setReportDirectory
public TestManager setReportDirectory(File file)
-
setGenerateReports
public TestManager setGenerateReports(Boolean value)
-
setTestFilesExcluded
public TestManager setTestFilesExcluded(List<String> values)
-
setTestFilesIncluded
public TestManager setTestFilesIncluded(List<String> values)
-
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
-
-