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 TypeMethodDescriptionvoid
addHttpSample
(HttpSample sample) void
addLastBuildUriReport
(UriReport lastBuildUriReport) void
void
int
int
void
doErrorGraph
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) void
doPercentileGraph
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) void
doSummarizerTrendGraph
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) void
doThroughputGraph
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) boolean
double
long
long
long
long
long
long
double
double
Run<?,
?> getBuild()
getEnd()
double
long
getMax()
long
long
long
getMin()
int
getStart()
float
Deprecated.double
double
getUri()
int
hashCode()
boolean
boolean
isFailed()
protected boolean
int
void
void
setThroughput
(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:
compareTo
in interfaceComparable<UriReport>
-
equals
-
hashCode
public int hashCode() -
countErrors
public int countErrors()- Specified by:
countErrors
in classAbstractReport
-
errorPercent
public double errorPercent()- Specified by:
errorPercent
in classAbstractReport
-
getAverage
public long getAverage()- Specified by:
getAverage
in classAbstractReport
-
calculatePercentiles
public void calculatePercentiles()- Specified by:
calculatePercentiles
in classAbstractReport
-
calculateDiffPercentiles
public void calculateDiffPercentiles()- Specified by:
calculateDiffPercentiles
in classAbstractReport
-
get90Line
public long get90Line()- Specified by:
get90Line
in classAbstractReport
-
get95Line
public long get95Line()- Specified by:
get95Line
in classAbstractReport
-
getHttpCode
- Specified by:
getHttpCode
in classAbstractReport
-
getMedian
public long getMedian()- Specified by:
getMedian
in classAbstractReport
-
getBuild
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
-
getHttpSampleList
-
getPerformanceReport
-
getSortedDuration
-
getDurations
-
getMax
public long getMax()- Specified by:
getMax
in classAbstractReport
-
getMin
public long getMin()- Specified by:
getMin
in classAbstractReport
-
getStaplerUri
-
getUri
-
getShortUri
-
isFailed
public boolean isFailed() -
samplesCount
public int samplesCount()- Specified by:
samplesCount
in classAbstractReport
-
encodeUriReport
- Throws:
UnsupportedEncodingException
-
addLastBuildUriReport
-
getAverageDiff
public long getAverageDiff()- Specified by:
getAverageDiff
in classAbstractReport
-
getMedianDiff
public long getMedianDiff()- Specified by:
getMedianDiff
in classAbstractReport
-
get90LineDiff
public long get90LineDiff()- Specified by:
get90LineDiff
in classAbstractReport
-
get95LineDiff
public long get95LineDiff()- Specified by:
get95LineDiff
in classAbstractReport
-
getErrorPercentDiff
public double getErrorPercentDiff()- Specified by:
getErrorPercentDiff
in classAbstractReport
-
getLastBuildHttpCodeIfChanged
- Specified by:
getLastBuildHttpCodeIfChanged
in classAbstractReport
-
getSamplesCountDiff
public int getSamplesCountDiff()- Specified by:
getSamplesCountDiff
in 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()
-