On 15/10/2008, akshata s.m. <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  The file exists on the location specified.

Are you sure? JMeter says it cannot find the file. Are you using a
relative file name? If so is it relative to the JMeter launch
directory?

>  In actual it is a ".fpz"
>  file which i am trying to upload to a file attribute in my web
>  application.

JMeter does not care what the file name is.

>
>  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.
>

Same as for any other test plan - make sure that the parameters are correct.

>
>  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]
>
>
>
>
>

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

Reply via email to