1
votes

I am getting below error while replaying the script.

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]

Though it is not impacting the replay. Need to understand the reason and fixes for the same. Thanks in advance!!

1
Welcome! We probably will need enough of the script so the error can be generated. - kismert

1 Answers

1
votes
  1. Try to avoid using non-ASCII characters and spaces in

  2. According to JMeter Best Practices you should stick to latest JMeter version so consider upgrading to JMeter 5.0 (or to the latest version available at JMeter Downloads page). It won't fix particular your issue, however theoretically JMeter should become faster and have some new features