java.io.FileNotFoundException: at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.jmeter.protocol.http.sampler.AjpSampler.setConnectionHeaders(AjpSampler.java:266) at org.apache.jmeter.protocol.http.sampler.AjpSampler.setupConnection(AjpSampler.java:192) at org.apache.jmeter.protocol.http.sampler.AjpSampler.sample(AjpSampler.java:116) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1075) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1064) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:426) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255) at java.lang.Thread.run(Unknown Source)
Hello, Can you attach a simple Test plan showing the issue , also attach jmeter.log and finally tell where is the folder in which you put the file to send and where it is relative to jmeter install folder and jmx file
Hello, Unfortunately, I can't do this, but I'm suppouse the proboblem lying in AjpSampler 263 String fn = fa.getName(); 264 File input = new File(fn); In my opinion this should look like: 263 String fn = fa.getPath(); 264 File input = new File(fn);
Date: Thu Dec 20 12:55:00 2012 New Revision: 1424442 URL: http://svn.apache.org/viewvc?rev=1424442&view=rev Log: Bug 54326 - AjpSampler send file in post throws FileNotFoundException Fix also file leak Bugzilla Id: 54326 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3019