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.ObjectInputStreamWithClassMapping
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.plugins.performance.parsers.AbstractParser
filterRegex, format, isNumberDateFormat, percentiles
Fields 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 boolean
Utility method that checks if the provided file has XML content.Methods inherited from class hudson.plugins.performance.parsers.AbstractParser
clearDateFormat, createPerformanceReport, loadSerializedReport, parse, parseTimestamp, saveSerializedReport
Methods 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:
getDefaultGlobPattern
in 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
, otherwisefalse
is returned.- Parameters:
file
- File from which the content is to e analyzed. Cannot be null.- Returns:
true
if the file content has been determined to be XML, otherwisefalse
.- Throws:
IOException
-