Class JsonExporter
java.lang.Object
org.apache.jmeter.report.dashboard.AbstractDataExporter
org.apache.jmeter.report.dashboard.JsonExporter
- All Implemented Interfaces:
DataExporter
Implementation of
DataExporter
that exports statistics to JSON- Since:
- 5.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(SampleContext context, File file, ReportGeneratorConfiguration reportGeneratorConfiguration) Export data from the specified context using the given configuration.Methods inherited from class org.apache.jmeter.report.dashboard.AbstractDataExporter
findData, findValue, getName, getPropertyFromConfig, setName
-
Field Details
-
OUTPUT_FILENAME
- See Also:
-
-
Constructor Details
-
JsonExporter
public JsonExporter()
-
-
Method Details
-
export
public void export(SampleContext context, File file, ReportGeneratorConfiguration reportGeneratorConfiguration) throws ExportException Description copied from interface:DataExporter
Export data from the specified context using the given configuration.- Parameters:
context
- the context (must not benull
)file
- the file which from samples come (must not benull
)reportGeneratorConfiguration
- the configuration (must not benull
)- Throws:
ExportException
- the export exception
-