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后再运行,运行正常

  • 相关阅读:
    1.1、MyEclipse自定义注释
    angular2 组件内容嵌入(ng-content)
    常用css初始化样式(淘宝)
    web移动端rem的适配
    PSCC2019常用基础操作
    vs Code打开新的文件会覆盖窗口中的文件?
    关于将ECharts引入到项目中的几种方式
    VS code 设置侧边栏字体大小
    Visual Studio Code(VS code)你们都在用吗?或许你们需要看一下这篇博文
    Angular 监听滚动条事件
  • 原文地址:https://www.cnblogs.com/fengliting/p/13265222.html
Copyright © 2011-2022 走看看