Class UriReport
java.lang.Object
hudson.plugins.performance.reports.AbstractReport
hudson.plugins.performance.reports.UriReport
- All Implemented Interfaces:
ModelObject,Serializable,Comparable<UriReport>
public class UriReport
extends AbstractReport
implements Serializable, ModelObject, Comparable<UriReport>
A report about a particular tested URI.
This object belongs under PerformanceReport.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class hudson.plugins.performance.reports.AbstractReport
dataFormat, DEFAULT_PERCENTILES, excludeResponseTime, FIFTY_PERCENT, isCalculatedPercentilesValues, LOGGER, NINETY_FIVE_PERCENT, NINETY_PERCENT, ONE_HUNDRED_PERCENT, percentFormat, percentilesDiffValues, percentilesValues, showTrendGraphs, ZERO_PERCENT -
Constructor Summary
ConstructorsConstructorDescriptionUriReport(PerformanceReport performanceReport, String staplerUri, String uri) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHttpSample(HttpSample sample) voidaddLastBuildUriReport(UriReport lastBuildUriReport) voidvoidintintvoiddoErrorGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoPercentileGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoSummarizerTrendGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoThroughputGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) booleandoublelonglonglonglonglonglongdoubledoubleRun<?,?> getBuild()getEnd()doublelonggetMax()longlonglonggetMin()intgetStart()floatDeprecated.doubledoublegetUri()inthashCode()booleanbooleanisFailed()protected booleanintvoidvoidsetThroughput(Long throughput) Deprecated.Methods inherited from class hudson.plugins.performance.reports.AbstractReport
checkPercentileAndSet, errorPercentFormated, get90LineFormated, get95LineFormated, getAverageFormated, getMaxFormated, getMeanFormated, getPercentileLabel, getPercentilesDiffValues, getPercentilesValues, isExcludeResponseTime, isIncludeResponseTime, isShowTrendGraphs, parsePercentiles, setExcludeResponseTime, setShowTrendGraphs
-
Field Details
-
END_PERFORMANCE_PARAMETER
- See Also:
-
percentiles
-
-
Constructor Details
-
UriReport
-
-
Method Details
-
readResolve
-
addHttpSample
-
setFromTaurusFinalStats
-
compareTo
- Specified by:
compareToin interfaceComparable<UriReport>
-
equals
-
hashCode
public int hashCode() -
countErrors
public int countErrors()- Specified by:
countErrorsin classAbstractReport
-
errorPercent
public double errorPercent()- Specified by:
errorPercentin classAbstractReport
-
getAverage
public long getAverage()- Specified by:
getAveragein classAbstractReport
-
calculatePercentiles
public void calculatePercentiles()- Specified by:
calculatePercentilesin classAbstractReport
-
calculateDiffPercentiles
public void calculateDiffPercentiles()- Specified by:
calculateDiffPercentilesin classAbstractReport
-
get90Line
public long get90Line()- Specified by:
get90Linein classAbstractReport
-
get95Line
public long get95Line()- Specified by:
get95Linein classAbstractReport
-
getHttpCode
- Specified by:
getHttpCodein classAbstractReport
-
getMedian
public long getMedian()- Specified by:
getMedianin classAbstractReport
-
getBuild
-
getDisplayName
- Specified by:
getDisplayNamein interfaceModelObject
-
getHttpSampleList
-
getPerformanceReport
-
getSortedDuration
-
getDurations
-
getMax
public long getMax()- Specified by:
getMaxin classAbstractReport
-
getMin
public long getMin()- Specified by:
getMinin classAbstractReport
-
getStaplerUri
-
getUri
-
getShortUri
-
isFailed
public boolean isFailed() -
samplesCount
public int samplesCount()- Specified by:
samplesCountin classAbstractReport
-
encodeUriReport
- Throws:
UnsupportedEncodingException
-
addLastBuildUriReport
-
getAverageDiff
public long getAverageDiff()- Specified by:
getAverageDiffin classAbstractReport
-
getMedianDiff
public long getMedianDiff()- Specified by:
getMedianDiffin classAbstractReport
-
get90LineDiff
public long get90LineDiff()- Specified by:
get90LineDiffin classAbstractReport
-
get95LineDiff
public long get95LineDiff()- Specified by:
get95LineDiffin classAbstractReport
-
getErrorPercentDiff
public double getErrorPercentDiff()- Specified by:
getErrorPercentDiffin classAbstractReport
-
getLastBuildHttpCodeIfChanged
- Specified by:
getLastBuildHttpCodeIfChangedin classAbstractReport
-
getSamplesCountDiff
public int getSamplesCountDiff()- Specified by:
getSamplesCountDiffin classAbstractReport
-
getSummarizerErrors
public float getSummarizerErrors() -
doSummarizerTrendGraph
public void doSummarizerTrendGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
doErrorGraph
public void doErrorGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
doPercentileGraph
public void doPercentileGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
doThroughputGraph
public void doThroughputGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
getStart
-
getEnd
-
isIncludeResponseTime
-
setThroughput
Deprecated. -
getThroughput
Deprecated. -
hasSamples
public boolean hasSamples() -
getAverageSizeInKb
public double getAverageSizeInKb() -
getTotalTrafficInKb
public double getTotalTrafficInKb() -
getAverageSizeInKbDiff
public double getAverageSizeInKbDiff() -
getTotalTrafficInKbDiff
public double getTotalTrafficInKbDiff()
-