com.lazerycode.jmeter.testrunner
Class TestManager

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.lazerycode.jmeter.JMeterMojo
          extended by 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


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestManager(JMeterArgumentsArray testArgs, File logsDir, File testFilesDirectory, List<String> testFiles, List<String> excludeTestFiles, boolean suppressJMeterOutput)
           
 
Method Summary
 List<String> executeTests()
          Executes all tests and returns the resultFile names
 void setExitCheckPause(int value)
          Set how long to wait for JMeter to clean up it's threads after a test run.
 void setRemoteConfig(RemoteConfig remoteConfig)
          Set remote configuration
 void setTestEndDetection(boolean value)
          Deprecated.  
 
Methods inherited from class com.lazerycode.jmeter.JMeterMojo
execute
 
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
 

Constructor Detail

TestManager

public TestManager(JMeterArgumentsArray testArgs,
                   File logsDir,
                   File testFilesDirectory,
                   List<String> testFiles,
                   List<String> excludeTestFiles,
                   boolean suppressJMeterOutput)
Method Detail

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.