public interface StatsSummary
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.jmeter.samplers.SampleResult result)
Adds given sample result data to collected statistics.
|
Instant |
endTime()
Gets the instant when the last sample ended.
|
CountMetricSummary |
errors()
Gets metrics for number of samples that failed.
|
default long |
errorsCount()
Gets the total number of samples that failed.
|
Instant |
firstTime()
Gets the instant when the first sample started.
|
CountMetricSummary |
receivedBytes()
Gets metrics for received bytes in sample responses.
|
CountMetricSummary |
samples()
Gets metrics for number of samples
|
default long |
samplesCount()
Gets the total number of samples.
|
TimeMetricSummary |
sampleTime()
Gets metrics for time spent in samples.
|
default Duration |
sampleTimePercentile99()
Gets the 99 percentile of samples times.
|
CountMetricSummary |
sentBytes()
Gets metrics for sent bytes in samples requests.
|
void add(org.apache.jmeter.samplers.SampleResult result)
result - contains new data to include in collected statistics.Instant firstTime()
When associated to a test plan or transaction it gets its start time.
Instant endTime()
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.
CountMetricSummary samples()
This counts both failing and passing samples.
default long samplesCount()
CountMetricSummary errors()
default long errorsCount()
TimeMetricSummary sampleTime()
default Duration sampleTimePercentile99()
99% of samples took less or equal to the returned value.
CountMetricSummary receivedBytes()
CountMetricSummary sentBytes()
Copyright © 2024. All rights reserved.