https://bz.apache.org/bugzilla/show_bug.cgi?id=62850
Bug ID: 62850
Summary: Jmeter/Ant test run fails with “Fatal error during
transformation”
Product: JMeter
Version: 3.1
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.1
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?
--
You are receiving this mail because:
You are the assignee for the bug.