Interface StatsSummary

  • All Known Implementing Classes:
    EmbeddedStatsSummary

    public interface StatsSummary
    Contains summary statistics of a group of collected sample results.
    Since:
    0.1
    • 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 samples

        This 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.
      • 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.