Interface StatsSummary
-
- All Known Implementing Classes:
EmbeddedStatsSummary
public interface StatsSummaryContains summary statistics of a group of collected sample results.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidadd(org.apache.jmeter.samplers.SampleResult result)Adds given sample result data to collected statistics.InstantendTime()Gets the instant when the last sample ended.CountMetricSummaryerrors()Gets metrics for number of samples that failed.default longerrorsCount()Gets the total number of samples that failed.InstantfirstTime()Gets the instant when the first sample started.CountMetricSummaryreceivedBytes()Gets metrics for received bytes in sample responses.CountMetricSummarysamples()Gets metrics for number of samplesdefault longsamplesCount()Gets the total number of samples.TimeMetricSummarysampleTime()Gets metrics for time spent in samples.default DurationsampleTimePercentile99()Gets the 99 percentile of samples times.CountMetricSummarysentBytes()Gets metrics for sent bytes in samples requests.
-
-
-
Method Detail
-
add
void add(org.apache.jmeter.samplers.SampleResult result)
Adds given sample result data to collected statistics.- Parameters:
result- contains new data to include in collected statistics.- Since:
- 0.37
-
firstTime
Instant firstTime()
Gets the instant when the first sample started.When associated to a test plan or transaction it gets its start time.
-
endTime
Instant endTime()
Gets the instant when the last sample ended.When associated to a test plan or transaction it gets its end time.
Take into consideration that for transactions this time takes not only into consideration the endTime of last sample, but also the time spent in timers and pre and postprocessors.
-
samples
CountMetricSummary samples()
Gets metrics for number of samplesThis counts both failing and passing samples.
- Since:
- 0.37
-
samplesCount
default long samplesCount()
Gets the total number of samples.
-
errors
CountMetricSummary errors()
Gets metrics for number of samples that failed.- Since:
- 0.37
-
errorsCount
default long errorsCount()
Gets the total number of samples that failed.
-
sampleTime
TimeMetricSummary sampleTime()
Gets metrics for time spent in samples.
-
sampleTimePercentile99
default Duration sampleTimePercentile99()
Gets the 99 percentile of samples times.99% of samples took less or equal to the returned value.
- Since:
- 0.15
-
receivedBytes
CountMetricSummary receivedBytes()
Gets metrics for received bytes in sample responses.
-
sentBytes
CountMetricSummary sentBytes()
Gets metrics for sent bytes in samples requests.
-
-