com.lazerycode.jmeter.testrunner
Class TestManager
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.lazerycode.jmeter.JMeterMojo
com.lazerycode.jmeter.testrunner.TestManager
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class TestManager
- extends JMeterMojo
TestManager encapsulates functions that gather JMeter Test files and execute the tests
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestManager
public TestManager(JMeterArgumentsArray testArgs,
File logsDir,
File testFilesDirectory,
List<String> testFiles,
List<String> excludeTestFiles,
boolean suppressJMeterOutput)
setExitCheckPause
public void setExitCheckPause(int value)
- Set how long to wait for JMeter to clean up it's threads after a test run.
- Parameters:
value
- int
setTestEndDetection
public void setTestEndDetection(boolean value)
- Deprecated.
- Should we use old test end detection method (log file scanning)
TODO remove this option in 1.4.2?
- Parameters:
value
-
setRemoteConfig
public void setRemoteConfig(RemoteConfig remoteConfig)
- Set remote configuration
- Parameters:
remoteConfig
-
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
Copyright © 2012. All Rights Reserved.