hudson.plugins.performance
Class PerformanceReport

java.lang.Object
  extended by hudson.plugins.performance.AbstractReport
      extended by 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.


Constructor Summary
PerformanceReport()
           
 
Method Summary
 void addSample(HttpSample pHttpSample)
           
 int compareTo(PerformanceReport jmReport)
           
 int countErrors()
           
 double errorPercent()
           
 long get90Line()
           
 long getAverage()
           
 long getAverageDiff()
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 java.lang.String getDisplayName()
           
 UriReport getDynamic(java.lang.String token)
           
 double getErrorPercentDiff()
           
 java.lang.String getHttpCode()
           
 HttpSample getHttpSample()
           
 java.lang.String getLastBuildHttpCodeIfChanged()
           
 long getMax()
           
 long getMedian()
           
 long getMedianDiff()
           
 long getMin()
           
 java.lang.String getReportFileName()
           
 int getSizeDiff()
           
 java.util.List<UriReport> getUriListOrdered()
           
 java.util.Map<java.lang.String,UriReport> getUriReportMap()
           
 void setHttpSample(HttpSample httpSample)
           
 void setLastBuildReport(PerformanceReport lastBuildReport)
           
 void setReportFileName(java.lang.String reportFileName)
           
 int size()
           
 
Methods inherited from class hudson.plugins.performance.AbstractReport
errorPercentFormated, get90LineFormated, getAverageFormated, getMaxFormated, getMeanFormated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceReport

public PerformanceReport()
Method Detail

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.