ANT配置异常:BUILD FAILED D: est estAutopcuild.xml:24: The following error occurred while executing

时间:2024-03-20 08:09:03

目录

一、异常如下

二、解决如下:

2.1找到jmeter的bin目录

2.2找到jmeter.properties文件并打开编辑

三、修改csv为xml

3.1找到这行jmeter.save.saveservice.output_format=csv

​ 3.2找到build.xml文件所在的文件路径

3.3在build.xml文件地址,输入cmd并回车

​ 四、成功


一、异常如下

BUILD FAILED
D:\test\testAuto\pc\build.xml:24: The following error occurred while executing this line:
D:\test\testAuto\pc\build.xml:46: input file D:\test\testAuto\pc\resultlog\jtl\TestReport202009211140.jtl does not exist

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing

二、解决如下:

2.1找到jmeter的bin目录

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing

2.2找到jmeter.properties文件并打开编辑

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing

三、修改csv为xml

3.1找到这行jmeter.save.saveservice.output_format=csv

修改为jmeter.save.saveservice.output_format=xml

#jmeter.save.saveservice.output_format=csv
jmeter.save.saveservice.output_format=xml

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing 3.2找到build.xml文件所在的文件路径

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing

3.3在build.xml文件地址,输入cmd并回车

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing 四、成功

ANT配置异常:BUILD FAILED D:\test\testAuto\pc\build.xml:24: The following error occurred while executing