jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Jmeter Report - facing this error while creating a report An error occurred: Data exporter "html" is unable to export data.

Open LeenaPrem opened this issue 11 months ago • 3 comments

Expected behavior

Able to run the tests successfully , Logfile in csv format got generated . But i am facing above error . i serached this forun for clues and couldn't find anything like this. Hence posting this

An error occurred: Data exporter "html" is unable to export data.

Actual behavior

No response

Steps to reproduce the problem

An error occurred: Data exporter "html" is unable to export data.**

JMeter Version

latest version

Java Version

openjdk version "23" 2024-09-17 OpenJDK Runtime Environment (build 23+37-2369)

OS Version

No response

LeenaPrem avatar Feb 03 '25 11:02 LeenaPrem

Please provide the stacktrace or a steps to reproduce the issue. It is hard to analyze the issue otherwise.

vlsi avatar Feb 03 '25 13:02 vlsi

I have the same problem.

I have no stacktrace on the screen, or in jmeter.log

Here is my output :

$ ./jmeter.sh -g jmeter_complet.res.txt -o jmeter.report.html
WARNING: package sun.awt.X11 not in java.desktop
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
An error occurred: Data exporter "html" is unable to export data.

In the jmeter.log file :

2025-06-27 20:28:11,056 INFO o.a.j.u.JMeterUtils: Setting Locale to fr_FR
2025-06-27 20:28:11,081 INFO o.a.j.u.JMeterUtils: Could not find resources for 'fr_FR', using 'fr'
2025-06-27 20:28:11,083 INFO o.a.j.JMeter: Loading user properties from: user.properties
2025-06-27 20:28:11,083 INFO o.a.j.JMeter: Loading system properties from: system.properties
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: Copyright (c) 1998-2024 The Apache Software Foundation
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: Version 5.6.3
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: java.version=17.0.2
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: os.name=Windows 11
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: os.arch=amd64
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: os.version=10.0
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: file.encoding=Cp1252
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: java.awt.headless=null
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: Max memory     =6362759168
2025-06-27 20:28:11,084 INFO o.a.j.JMeter: Available Processors =20
2025-06-27 20:28:11,095 INFO o.a.j.JMeter: Default Locale=français (France)
2025-06-27 20:28:11,095 INFO o.a.j.JMeter: JMeter  Locale=français (France)
2025-06-27 20:28:11,095 INFO o.a.j.JMeter: JMeterHome=C:\Java\apache-jmeter-5.6.3
2025-06-27 20:28:11,095 INFO o.a.j.JMeter: user.dir  =C:\Java\apache-jmeter-5.6.3\bin
2025-06-27 20:28:11,097 INFO o.a.j.JMeter: PWD       =C:\Java\apache-jmeter-5.6.3\bin
2025-06-27 20:28:11,097 INFO o.a.j.JMeter: IP: 10.x.x.x Name: xxxx FullName: xxxxxxxxxxx

In the output folder, I only have a file "statistics.json" which seems quite fine.

Maybe my input file is too big : 3404100 lines

Any hint to solve this issue?

emmguyot-adscom avatar Jun 27 '25 18:06 emmguyot-adscom

Using the -L jmeter=DEBUG option, I got a stack trace in the log : It says that the report-template directory wasn't found. I don't why I don't have it (and examples and templates). I've extracted them again, and now it works.

emmguyot-adscom avatar Jun 29 '25 18:06 emmguyot-adscom