Hello,


I tried to generate HTTP requests (using HTTP proxy server) to upload a
file. I browse the file. Say the location is F:\\Folder1\file1.doc and
click 'Ok' to save the file.



I obseve the following logs:



java.io.FileNotFoundException: file1.doc (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.http.sampler.PostWriter.writeFileToStream(PostWriter.java:402)

    at 
org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:110)

    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:111)

    at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:455)

    at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)

    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)



How can i resolve this issue?

Thanks in advance.



Regards,

Akshata




      

Reply via email to