On 14/10/2008, akshata s.m. <[EMAIL PROTECTED]> wrote:
> 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?
>

Make sure that the file exists and is readable at the location specified.

>  Thanks in advance.
>
>
>
>  Regards,
>
>
>  Akshata
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to