[已解决]软件测试:Jmeter运行错误

2017/07/14 18:25:49 INFO  - jmeter.threads.JMeterThread: Thread finished: 线程组 1-19
2017/07/14 18:25:50 INFO  - jmeter.threads.JMeterThread: Thread started: 线程组 1-20
2017/07/14 18:25:50 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.IllegalArgumentException: Could not read file header line
 at org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:292)
 at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:178)
 at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:408)
 at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:400)
 at org.apache.jmeter.control.GenericController.next(GenericController.java:162)
 at org.apache.jmeter.control.LoopController.next(LoopController.java:123)
 at org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:88)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:259)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: E:\Study\apache-jmeter-2.13\project (拒绝访问。)
 at java.io.FileInputStream.open0(Native Method)
 at java.io.FileInputStream.open(Unknown Source)
 at java.io.FileInputStream.(Unknown Source)
 at org.apache.jmeter.services.FileServer.createBufferedReader(FileServer.java:407)
 at org.apache.jmeter.services.FileServer.readLine(FileServer.java:333)
 at org.apache.jmeter.services.FileServer.readLine(FileServer.java:317)
 at org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:281)
 ... 8 more
解决办法是:删除CSV Data Set Config(如上图)

 

你可能感兴趣的:(jmeter)