public class SamplingPerformanceResultsSummary extends PerformanceResultsSummary
PerformanceResultsSummary based on Samples from a JMeter
like idiom.
By calling updateWithSample(long, long, String) this class updates its internal state so it can
provide an accurate report that can be used in a Event.TYPE_PERFORMANCE_RESULT typed Event.
NOTE: Performance results are due to be refactored in the near futureearliestTimestamp, latestTimestamp, maxResponseTime, maxResponseTimeNotOk, maxResponseTimeOk, minResponseTime, minResponseTimeNotOk, minResponseTimeOk, totalNumberOfNotOkRequests, totalNumberOfOkRequests, totalNumberOfRequests| Constructor and Description |
|---|
SamplingPerformanceResultsSummary() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDuration() |
protected long |
getMaxResponseTime() |
protected long |
getMeanResponseTime() |
protected long |
getMeanResponseTimeNotOk() |
protected long |
getMeanResponseTimeOk() |
long |
getMinResponseTime() |
protected double |
getStandardDeviation() |
protected double |
getStandardDeviationNotOk() |
protected double |
getStandardDeviationOk() |
void |
updateWithSample(long timestamp,
long elapsed,
java.lang.String sampleResult) |
createPerformanceResultEvent, setEarliestTimestamp, setLatestTimestamp, setMaxResponseTime, setMaxResponseTimeNotOk, setMaxResponseTimeOk, setMeanResponseTime, setMeanResponseTimeNotOk, setMeanResponseTimeOk, setMinResponseTime, setMinResponseTimeNotOk, setMinResponseTimeOk, setOtherProperties, setStandardDeviation, setStandardDeviationNotOk, setStandardDeviationOk, setTotalNumberOfNotOkRequests, setTotalNumberOfOkRequests, setTotalNumberOfRequestspublic void updateWithSample(long timestamp,
long elapsed,
java.lang.String sampleResult)
public int getDuration()
getDuration in class PerformanceResultsSummaryprotected double getStandardDeviation()
getStandardDeviation in class PerformanceResultsSummaryprotected double getStandardDeviationOk()
getStandardDeviationOk in class PerformanceResultsSummaryprotected double getStandardDeviationNotOk()
getStandardDeviationNotOk in class PerformanceResultsSummaryprotected long getMeanResponseTime()
getMeanResponseTime in class PerformanceResultsSummaryprotected long getMeanResponseTimeOk()
getMeanResponseTimeOk in class PerformanceResultsSummaryprotected long getMeanResponseTimeNotOk()
getMeanResponseTimeNotOk in class PerformanceResultsSummarypublic long getMinResponseTime()
getMinResponseTime in class PerformanceResultsSummaryprotected long getMaxResponseTime()
getMaxResponseTime in class PerformanceResultsSummary