com.lazerycode.jmeter.testrunner
Class TestManager

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.lazerycode.jmeter.JMeterAbstractMojo
          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 class com.lazerycode.jmeter.JMeterAbstractMojo
binDir, customPropertiesFile, ignoreResultErrors, ignoreResultFailures, jmeterConfigArtifact, libDir, libExtDir, mavenProject, pluginArtifacts, pluginProperties, propertiesGlobal, propertiesJMeter, propertiesReplacedByCustomFiles, propertiesSaveService, propertiesSystem, propertiesUpgrade, propertiesUser, proxyConfig, remoteConfig, resultsDir, resultsFileNameDateFormat, testResultsTimestamp, workDir
 
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 setRemoteConfig(RemoteConfiguration remoteConfig)
          Set remote configuration
 
Methods inherited from class com.lazerycode.jmeter.JMeterMojo
execute, parseTestResults
 
Methods inherited from class com.lazerycode.jmeter.JMeterAbstractMojo
generateJMeterDirectoryTree, getArtifactNamed, initialiseJMeterArgumentsArray, overrideSecurityManager, overrideUncaughtExceptionHandler, populateJMeterDirectoryTree, propertyConfiguration, waitForTestToFinish
 
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

setRemoteConfig

public void setRemoteConfig(RemoteConfiguration 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.