Bug 62850 - Jmeter/Ant test run fails with “Fatal error during transformation”
Summary: Jmeter/Ant test run fails with “Fatal error during transformation”
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Keywords: NoFeedbackFromReporter
Depends on:
Reported: 2018-10-24 03:37 UTC by wuluotianqing
Modified: 2018-12-26 14:18 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description wuluotianqing 2018-10-24 03:37:47 UTC
I've been following the instructions in the Jmeter Ant Task, but I keep on getting the following error:
     [xslt] Processing /usr1/jenkins/jmeter/report/jtl/JmeterTestReport20181023161556.jtl to /usr1/jenkins/jmeter/report/html/JmeterTestReport20181023161556.html
     [xslt] Loading stylesheet /usr1/jenkins/apache-jmeter-3.1/extras/jmeter.results.shanhe.me.xsl
     [xslt] /usr1/jenkins/jmeter/report/jtl/JmeterTestReport20181023161556.jtl:285:49: Fatal Error! Character reference "&#
     [xslt] Failed to process /usr1/jenkins/jmeter/report/jtl/JmeterTestReport20181023161556.jtl

/usr1/jenkins/jmeter/build_IVS_20181023161556.xml:22: The following error occurred while executing this line:
/usr1/jenkins/jmeter/build_IVS_20181023161556.xml:233: Fatal error during transformation using /usr1/jenkins/apache-jmeter-3.1/extras/jmeter.results.shanhe.me.xsl: Character reference "&#; SystemID: file:/usr1/jenkins/jmeter/report/jtl/JmeterTestReport20181023161556.jtl; Line#: 285; Column#: 49

I've been searching for solutions and tried it one by one,but found out failed.
Finally, I found there are many illegal XML characters in the jtl report.Something like:��&#x8.
So I traced Jmeter script,and I found that some interfaces are download files, those interface response data returned as strings , when jmeter generates jtl report,and then transform jtl to html report,the problem occurs.

By the way,I can solve the problem by setting the jmeter.save.saveservice.response_data and jmeter.save.saveservice.response_data.on_error in the jmeter.properties to flase, so jmeter will not output the response data to the jtl report.

But,is this a jmeter bug?
Comment 1 Philippe Mouawad 2018-10-27 13:13:41 UTC
Version 3.1 of JMeter is very old.
Can you try last version 5.0 to see if your reproduce issue ?
If you still do, please attach the result file from which you try to generate the file.

Thank you
Comment 2 Philippe Mouawad 2018-12-26 14:18:48 UTC
Closing as no feedback from reporter.