org.apache.jmeter.report.dashboard

## Class ReportGenerator

- java.lang.Object
- - org.apache.jmeter.report.dashboard.ReportGenerator

-     public class ReportGenerator
      extends java.lang.Object

  The class ReportGenerator provides a way to generate all the templated files of the plugin.
  Since:
    3.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `APDEX_SUMMARY_CONSUMER_NAME`
    `static java.lang.String` | `BEGIN_DATE_CONSUMER_NAME`
    `static java.lang.String` | `DATE_RANGE_FILTER_CONSUMER_NAME`
    `static java.lang.String` | `END_DATE_CONSUMER_NAME`
    `static java.lang.String` | `ERRORS_SUMMARY_CONSUMER_NAME`
    `static java.lang.String` | `NAME_FILTER_CONSUMER_NAME`
    `static java.lang.String` | `NORMALIZER_CONSUMER_NAME`
    `static java.lang.String` | `REQUESTS_SUMMARY_CONSUMER_NAME`
    `static java.lang.String` | `START_INTERVAL_CONTROLLER_FILTER_CONSUMER_NAME`
    `static java.lang.String` | `STATISTICS_SUMMARY_CONSUMER_NAME`
    `static java.lang.String` | `TOP5_ERRORS_BY_SAMPLER_CONSUMER_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReportGenerator(java.lang.String resultsFile, ResultCollector resultCollector)` Instantiates a new report generator.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `generate()` Generate dashboard reports using the data from the specified CSV File.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### NORMALIZER_CONSUMER_NAME

          public static final java.lang.String NORMALIZER_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### BEGIN_DATE_CONSUMER_NAME

          public static final java.lang.String BEGIN_DATE_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### END_DATE_CONSUMER_NAME

          public static final java.lang.String END_DATE_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### NAME_FILTER_CONSUMER_NAME

          public static final java.lang.String NAME_FILTER_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### DATE_RANGE_FILTER_CONSUMER_NAME

          public static final java.lang.String DATE_RANGE_FILTER_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### APDEX_SUMMARY_CONSUMER_NAME

          public static final java.lang.String APDEX_SUMMARY_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### ERRORS_SUMMARY_CONSUMER_NAME

          public static final java.lang.String ERRORS_SUMMARY_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### REQUESTS_SUMMARY_CONSUMER_NAME

          public static final java.lang.String REQUESTS_SUMMARY_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### STATISTICS_SUMMARY_CONSUMER_NAME

          public static final java.lang.String STATISTICS_SUMMARY_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### TOP5_ERRORS_BY_SAMPLER_CONSUMER_NAME

          public static final java.lang.String TOP5_ERRORS_BY_SAMPLER_CONSUMER_NAME

      See Also:
        Constant Field Values

    - #### START_INTERVAL_CONTROLLER_FILTER_CONSUMER_NAME

          public static final java.lang.String START_INTERVAL_CONTROLLER_FILTER_CONSUMER_NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ReportGenerator

          public ReportGenerator(java.lang.String resultsFile,
                                 ResultCollector resultCollector)
                          throws ConfigurationException

      Instantiates a new report generator.
      Parameters:
        `resultsFile` - the test results file
        `resultCollector` - Can be null, used if generation occurs at end of test
      Throws:
        `ConfigurationException` - when loading configuration from file fails

  - ### Method Detail

    - #### generate

          public void generate()
                        throws GenerationException

      Generate dashboard reports using the data from the specified CSV File.
      Throws:
        `GenerationException` - when the generation failed

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.