Hello,


The file exists on the location specified. In actual it is a ".fpz"
file which i am trying to upload to a file attribute in my web
application.



I have also tried uploading a valid document file which gave me similar logs as 
below..



Kindly let me know the steps or the proceedure to generate HTTP request 
samplers in this scenario.



Regards,

Akshata



--- On Tue, 10/14/08, sebb <[EMAIL PROTECTED]> wrote:
From: sebb <[EMAIL PROTECTED]>
Subject: Re: File Upload failure
To: "JMeter Users List" <[email protected]>, [EMAIL PROTECTED]
Date: Tuesday, October 14, 2008, 7:41 AM

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