Class JMeterParser
java.lang.Object
hudson.plugins.performance.parsers.PerformanceReportParser
hudson.plugins.performance.parsers.AbstractParser
hudson.plugins.performance.parsers.JMeterParser
- All Implemented Interfaces:
ExtensionPoint,Describable<PerformanceReportParser>
Parser for JMeter.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.plugins.performance.parsers.AbstractParser
AbstractParser.ObjectInputStreamWithClassMappingNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.plugins.performance.parsers.AbstractParser
filterRegex, format, isNumberDateFormat, percentilesFields inherited from class hudson.plugins.performance.parsers.PerformanceReportParser
baselineBuild, excludeResponseTime, glob, reportURL, showTrendGraphs -
Constructor Summary
ConstructorsConstructorDescriptionJMeterParser(String glob, String percentiles) JMeterParser(String glob, String percentiles, String filterRegex) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanUtility method that checks if the provided file has XML content.Methods inherited from class hudson.plugins.performance.parsers.AbstractParser
clearDateFormat, createPerformanceReport, loadSerializedReport, parse, parseTimestamp, saveSerializedReportMethods inherited from class hudson.plugins.performance.parsers.PerformanceReportParser
all, getDescriptor, getReportName, isExcludeResponseTime, isShowTrendGraphs, setBaselineBuild, setExcludeResponseTime, setShowTrendGraphs
-
Constructor Details
-
JMeterParser
-
JMeterParser
-
-
Method Details
-
getDefaultGlobPattern
- Specified by:
getDefaultGlobPatternin classPerformanceReportParser
-
isXmlFile
Utility method that checks if the provided file has XML content.This implementation looks for the first non-empty file. If an XML prolog appears there, this method returns
true, otherwisefalseis returned.- Parameters:
file- File from which the content is to e analyzed. Cannot be null.- Returns:
trueif the file content has been determined to be XML, otherwisefalse.- Throws:
IOException
-