com.lazerycode.jmeter
Class JMeterMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.lazerycode.jmeter.JMeterAbstractMojo
com.lazerycode.jmeter.JMeterMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- PropertyFileMerger, PropertyHandler, TestManager
public class JMeterMojo
- extends JMeterAbstractMojo
JMeter Maven plugin.
- Author:
- Tim McCune
Fields inherited from class com.lazerycode.jmeter.JMeterAbstractMojo |
binDir, customPropertiesFile, ignoreResultErrors, ignoreResultFailures, jmeterConfigArtifact, libDir, libExtDir, logsDir, mavenProject, pluginArtifacts, pluginProperties, propertiesGlobal, propertiesJMeter, propertiesReplacedByCustomFiles, propertiesSaveService, propertiesSystem, propertiesUpgrade, propertiesUser, proxyConfig, remoteConfig, resultsDir, resultsFileNameDateFormat, suppressJMeterOutput, testArgs, testFilesDirectory, testFilesExcluded, testFilesIncluded, testResultsTimestamp, workDir |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Run all the JMeter tests. |
protected void |
parseTestResults(List<String> results)
Scan JMeter result files for "error" and "failure" messages |
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 |
JMeterMojo
public JMeterMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Run all the JMeter tests.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
parseTestResults
protected void parseTestResults(List<String> results)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Scan JMeter result files for "error" and "failure" messages
- Parameters:
results
- List of JMeter result files.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2012. All Rights Reserved.