Class Top5ErrorsSummaryData

java.lang.Object
org.apache.jmeter.report.processor.Top5ErrorsSummaryData

public class Top5ErrorsSummaryData extends Object
Summary data for TOP 5 of errors. Compute a map of Sample / Number of errors
Since:
3.1
  • Constructor Details

    • Top5ErrorsSummaryData

      public Top5ErrorsSummaryData()
  • Method Details

    • registerError

      public void registerError(String errorMessage)
      Stores the provided error message and counts the number of times it is registered.
      Parameters:
      errorMessage - String error message to register
    • incErrors

      public void incErrors()
    • incTotal

      public void incTotal()
    • getTotal

      public long getTotal()
    • getErrors

      public long getErrors()
    • getTop5ErrorsMetrics

      public Object[][] getTop5ErrorsMetrics()
      Return Top 5 errors and associated frequency.
      Returns:
      array of [String, Long]