Package com.lazerycode.jmeter.results
Class ResultScanner
- java.lang.Object
-
- com.lazerycode.jmeter.results.ResultScanner
-
- All Implemented Interfaces:
IResultScanner
public class ResultScanner extends Object implements IResultScanner
Handles checking a JMeter results file in XML format for errors and failures.- Author:
- Jon Roberts
-
-
Constructor Summary
Constructors Constructor Description ResultScanner(boolean countSuccesses, boolean countFailures, boolean isCsv, boolean onlyFailWhenMatchingFailureMessage, List<String> failureMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFailureCount()intgetSuccessCount()intgetTotalCount()voidparseResultFile(File file)Work out how to parse the file (if at all)
-
-
-
Method Detail
-
parseResultFile
public void parseResultFile(File file) throws org.apache.maven.plugin.MojoExecutionException
Work out how to parse the file (if at all)- Parameters:
file- File to parse- Throws:
org.apache.maven.plugin.MojoExecutionException- MojoExecutionException
-
getFailureCount
public int getFailureCount()
- Specified by:
getFailureCountin interfaceIResultScanner- Returns:
- failureCount
-
getSuccessCount
public int getSuccessCount()
- Specified by:
getSuccessCountin interfaceIResultScanner- Returns:
- failureCount
-
getTotalCount
public int getTotalCount()
- Specified by:
getTotalCountin interfaceIResultScanner
-
-