Class JMeterCsvParser
- java.lang.Object
-
- hudson.plugins.performance.parsers.PerformanceReportParser
-
- hudson.plugins.performance.parsers.AbstractParser
-
- hudson.plugins.performance.parsers.JMeterCsvParser
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<PerformanceReportParser>
public class JMeterCsvParser extends AbstractParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JMeterCsvParser.DescriptorImpl
-
Nested 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 Modifier and Type Field Description int
bytesIdx
char
delimiter
int
elapsedIdx
int
responseCodeIdx
int
sentBytesIdx
int
successIdx
int
timestampIdx
int
urlIdx
-
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
Constructors Constructor Description JMeterCsvParser(String glob, String percentiles)
JMeterCsvParser(String glob, String percentiles, String filterRegex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultGlobPattern()
protected static char
lookingForDelimiter(String line)
protected void
parseCSV(Reader in, String[] header, PerformanceReport report)
protected String[]
readCSVHeader(String line)
-
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
-
-
-
-
Method Detail
-
getDefaultGlobPattern
public String getDefaultGlobPattern()
- Specified by:
getDefaultGlobPattern
in classPerformanceReportParser
-
parseCSV
protected void parseCSV(Reader in, String[] header, PerformanceReport report) throws IOException
- Throws:
IOException
-
lookingForDelimiter
protected static char lookingForDelimiter(String line)
-
-