|Summary:||Jmeter/Ant test run fails with “Fatal error during transformation”|
|Component:||Main||Assignee:||JMeter issues mailing list <issues>|
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: report: [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 BUILD FAILED /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:��. 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
Hello, 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.