Apache Jmeter 4.0 Java IO错误结果采集器

Apache Jmeter 4.0 Java IO错误结果采集器,jmeter,performance-testing,Jmeter,Performance Testing,我在重播脚本时出错 ERROR o.a.j.r.ResultCollector: Exception occurred while initializing file output. java.io.IOException: Invalid argument at java.io.WinNTFileSystem.canonicalize0(Native Method) ~[?:1.8.0_66] at java.io.WinNTFileSystem.canonicalize(Un

我在重播脚本时出错

ERROR o.a.j.r.ResultCollector: Exception occurred while initializing file output.
java.io.IOException: Invalid argument
    at java.io.WinNTFileSystem.canonicalize0(Native Method) ~[?:1.8.0_66]
    at java.io.WinNTFileSystem.canonicalize(Unknown Source) ~[?:1.8.0_66]
    at java.io.File.getCanonicalPath(Unknown Source) ~[?:1.8.0_66]
    at org.apache.jmeter.reporters.ResultCollector.getFileWriter(ResultCollector.java:449) ~[ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:324) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:350) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:215) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:384) [ApacheJMeter_core.jar:4.0 r1823414]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_66]
虽然这不会影响重播。需要了解原因和修复相同。提前谢谢

  • 尽量避免在中使用非字符和空格

    • java安装
    • JMeter安装
    • 测试脚本位置
    • 结果文件位置(个)

      因为你可能正遭受类似的痛苦

  • 根据你应该坚持最新的JMT版本,所以考虑升级到(或者到最新版本在页面可用)。它不会解决您的特定问题,但是理论上JMeter应该会变得更快,并具有一些新特性


    欢迎我们可能需要足够的脚本来生成错误。