Created attachment 28540 [details] Jmeter Log File Not Found in BFS Sampler. Sampler does not referencing any file though. Script has been working fine for a couple years with 2.4 and 2.5.1. tested 2,6 today and am experiencing this now. - Two thread groups - Both reference same user csv file (user,pass) - Each thread logs in the users and executes HTTP procedures - Second Thread group uses BFS sampler (in while container) to set a couple variables - Language is javascript - Script is simple randt = vars.get("randtop"); var randomx=Math.floor(Math.random()*randt); vars.put("GR",randomx); - Attaching Log Jmeter is throwing a 500 error Thread Name: Thread Group QDN 1-1 Sample Start: 2012-04-03 18:52:23 GMT Load time: 2 Latency: 0 Size in bytes: 0 Headers size in bytes: 0 Body size in bytes: 0 Sample Count: 1 Error Count: 1 Response code: 500 Response message: java.io.FileNotFoundException: pcmuser_1_250.csv (The system cannot find the file specified) Response headers: SampleResult fields: ContentType: DataEncoding: null 2012/04/03 18:21:49 WARN - jmeter.protocol.java.sampler.BSFSampler: Problem evaluating the script java.io.FileNotFoundException: pcmuser_1_250.csv (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.jmeter.protocol.java.sampler.BSFSampler.sample(BSFSampler.java:97) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271) at java.lang.Thread.run(Unknown Source)
Hello, Can you attach a simple test plan that reproduces the issue ? Thanks Regards Philippe
I think this is currently fixed in nightly build which you can find here: http://jmeter.apache.org/nightly.html *** This bug has been marked as a duplicate of bug 52728 ***
Replaced the Bin and Lib directories with the last night (4/03) build. Still has same problem.
(In reply to comment #3) > Replaced the Bin and Lib directories with the last night (4/03) build. > > Still has same problem. Strike that. I replaced the lib and bin directory again and verified the version. For some reason, most the files were replaced on the first copy but not all of them. Windows can be weird. e:\jmeter-run-2.6\bin>jmeter -v Copyright (c) 1998-2012 The Apache Software Foundation Version r1308652 Successfully execute this procedure. Thanks!
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2801