Class TestPlanStats


  • public class TestPlanStats
    extends Object
    Contains all statistics collected during the execution of a test plan.

    When using different samples, specify different names on them to be able to get each sampler specific statistics after they run.

    Since:
    0.1
    • Method Detail

      • addSampleResult

        public void addSampleResult​(org.apache.jmeter.samplers.SampleResult result)
      • setStart

        public void setStart​(Instant start)
      • setEnd

        public void setEnd​(Instant end)
      • duration

        public Duration duration()
        Provides the time taken to run the test plan.
      • overall

        public StatsSummary overall()
        Provides statistics for the entire test plan.
      • byLabel

        public StatsSummary byLabel​(String label)
        Provides statistics for a specific label (usually a sampler label).
      • labels

        public Set<String> labels()
        Provides a set of collected labels (usually samplers labels).