rollno748 / Extended-csv-dataset-config

This plugin will enable Apache JMeter users to have similar parameter advantage as LoadRunner
MIT License
25 stars 7 forks source link

不支持参数化文件相对路劲 #2

Closed zhangzhaox closed 2 years ago

zhangzhaox commented 2 years ago

image image

rollno748 commented 2 years ago

Thanks for opening the issue,

I don't think you have placed the csv/txt file properly. When you don't provide the path for the csv/txt - The JMeter will try to find it in the same place where you have kept the jmx file.

I have tried the same option as yours - It works fine perfectly for me

image

image

Please verify and revert for closing this issue

zhangzhaox commented 2 years ago

2022-04-25 15:13:34,898 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2022-04-25 15:13:34,899 INFO o.a.j.t.JMeterThread: Thread started: 线程组 1-1 2022-04-25 15:13:34,899 INFO c.d.j.u.ExtFileServer: Stored: 10w_vin.txt Alias: 10w_vin.txt@1413763366** 2022-04-25 15:13:34,900 ERROR o.a.j.t.JMeterThread: Test failed! java.lang.IllegalArgumentException: File 10w_vin.txt must exist and be readable at com.di.jmeter.utils.ExtFileServer.createBufferedReader(ExtFileServer.java:433) ~[di-extended-csv-1.1.jar:?] at com.di.jmeter.utils.ExtFileServer.readLine(ExtFileServer.java:346) ~[di-extended-csv-1.1.j 10w_vin.txt ar:?] at com.di.jmeter.utils.ExtFileServer.readSequential(ExtFileServer.java:599) ~[di-extended-csv-1.1.jar:?] at com.di.jmeter.config.ExtendedCsvDataSet.iterationStart(ExtendedCsvDataSet.java:89) ~[di-extended-csv-1.1.jar:?] at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:399) ~[ApacheJMeter_core.jar:5.4.3] at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:391) ~[ApacheJMeter_core.ja

Extended-csv-dataset-config.zip

zhangzhaox commented 2 years ago

image