BUILD FAILED
/usr/bin/ant/apache-ant-1.10.5/bin/build.xml:21: The following error occurred while executing this line:
/usr/bin/ant/apache-ant-1.10.5/bin/build.xml:32: Fatal error during transformation using /usr/bin/jmeter/apache-jmeter-5.1/extras/jmeter-results-report_21.xsl: Content is not allowed in prolog.; SystemID: file:/usr/bin/jmeter/apache-jmeter-5.1/jmtReport/TestReport201903130339.jtl; Line#: 1; Column#: 1
解决方法:
1、打开Jmeter/bin/jmeter.properties文件,找到 # jmeter.save.saveservice.output_format=csv
2、把#去掉
3、把csv改为xml
4、再次执行ant -buildfile命令
希望能帮到大家。