hudson.plugins.performance
Class PerformanceReport
java.lang.Object
hudson.plugins.performance.AbstractReport
hudson.plugins.performance.PerformanceReport
- All Implemented Interfaces:
- java.lang.Comparable<PerformanceReport>
public class PerformanceReport
- extends AbstractReport
- implements java.lang.Comparable<PerformanceReport>
Represents a single performance report, which consists of multiple UriReports for
different URLs that was tested.
This object belongs under PerformanceReportMap.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceReport
public PerformanceReport()
addSample
public void addSample(HttpSample pHttpSample)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
compareTo
public int compareTo(PerformanceReport jmReport)
- Specified by:
compareTo in interface java.lang.Comparable<PerformanceReport>
countErrors
public int countErrors()
- Specified by:
countErrors in class AbstractReport
errorPercent
public double errorPercent()
- Specified by:
errorPercent in class AbstractReport
getAverage
public long getAverage()
- Specified by:
getAverage in class AbstractReport
get90Line
public long get90Line()
- Specified by:
get90Line in class AbstractReport
getMedian
public long getMedian()
- Specified by:
getMedian in class AbstractReport
getHttpCode
public java.lang.String getHttpCode()
- Specified by:
getHttpCode in class AbstractReport
getBuild
public hudson.model.AbstractBuild<?,?> getBuild()
getDisplayName
public java.lang.String getDisplayName()
getDynamic
public UriReport getDynamic(java.lang.String token)
throws java.io.IOException
- Throws:
java.io.IOException
getHttpSample
public HttpSample getHttpSample()
getMax
public long getMax()
- Specified by:
getMax in class AbstractReport
getMin
public long getMin()
- Specified by:
getMin in class AbstractReport
getReportFileName
public java.lang.String getReportFileName()
getUriListOrdered
public java.util.List<UriReport> getUriListOrdered()
getUriReportMap
public java.util.Map<java.lang.String,UriReport> getUriReportMap()
setHttpSample
public void setHttpSample(HttpSample httpSample)
setReportFileName
public void setReportFileName(java.lang.String reportFileName)
size
public int size()
- Specified by:
size in class AbstractReport
setLastBuildReport
public void setLastBuildReport(PerformanceReport lastBuildReport)
getAverageDiff
public long getAverageDiff()
- Specified by:
getAverageDiff in class AbstractReport
getMedianDiff
public long getMedianDiff()
- Specified by:
getMedianDiff in class AbstractReport
getErrorPercentDiff
public double getErrorPercentDiff()
- Specified by:
getErrorPercentDiff in class AbstractReport
getLastBuildHttpCodeIfChanged
public java.lang.String getLastBuildHttpCodeIfChanged()
- Specified by:
getLastBuildHttpCodeIfChanged in class AbstractReport
getSizeDiff
public int getSizeDiff()
- Specified by:
getSizeDiff in class AbstractReport
Copyright © 2012. All Rights Reserved.