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 namesTestManagersetBaseTestArgs(JMeterArgumentsArray argumentsArray)TestManagersetBinDir(File file)TestManagersetGenerateReports(Boolean value)TestManagersetIgnoreJVMKilled(Boolean ignoreJVMKillExitCode)TestManagersetJMeterProcessJVMSettings(JMeterProcessJVMSettings settings)TestManagersetPostTestPauseInSeconds(String postTestPauseInSeconds)Sets a pause after each test has been executed.TestManagersetRemoteServerConfiguration(RemoteConfiguration configuration)TestManagersetReportDirectory(File file)TestManagersetRuntimeJarName(String value)TestManagersetSuppressJMeterOutput(Boolean value)TestManagersetTestFilesDirectory(File file)TestManagersetTestFilesExcluded(List<String> values)TestManagersetTestFilesIncluded(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
-
-