zoukankan      html  css  js  c++  java
  • 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后再运行,运行正常

  • 相关阅读:
    1094. Car Pooling
    121. Best Time to Buy and Sell Stock
    58. Length of Last Word
    510. Inorder Successor in BST II
    198. House Robber
    57. Insert Interval
    15. 3Sum java solutions
    79. Word Search java solutions
    80. Remove Duplicates from Sorted Array II java solutions
    34. Search for a Range java solutions
  • 原文地址:https://www.cnblogs.com/fengliting/p/13265222.html
Copyright © 2011-2022 走看看