jmeter报错:java.lang.IllegalArgumentException: Filename must not be null or empty
报错日志:
2020-07-08 09:58:16,973 ERROR o.a.j.t.JMeterThread: Test failed!
java.lang.IllegalArgumentException: Filename must not be null or empty
at org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:256) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:190) ~[ApacheJMeter_components.jar:5.3]
at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:398) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:390) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.control.GenericController.next(GenericController.java:159) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.control.LoopController.next(LoopController.java:134) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:91) ~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254) [ApacheJMeter_core.jar:5.3]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
2020-07-08 09:58:16,973 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2020-07-08 09:58:16,973 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-07-08 09:58:16,973 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
注意:.CSVDataSet.iterationStart(CSVDataSet.java:190) ~[ApacheJMeter_components.jar:5.3]
看了一下自己的CSV Data Set Config,原来只是添加了,但没有进行输入填写就运行了,所以报错了,之后先把这个CSV Data Set Config配置元器disable后再运行,运行正常