Hi Deepak
Thanks for your reply
The test plan has a request to upload a file by specifying a parameter.

The parameter name is uploadFileName
The mime type is application/pdf
The file to attach is given with its entire path like c:\test.pdf

The resulting Jmeter script is not sending the file attachment. I verified it 
on the server. If there were a file attachment the server would print out a 
message on the console. BTW, it is Jboss with embedded Tomcat

Regarding IE/Firefox, I tried to record the file attachment by running Jmeter's 
Proxy. The recording was partially successful in the sense that the file upload 
request was created but no file was sent to the server. On the contrary, I am 
seeing a file download from the server. This behavior is not reproducible 
without the proxy. I think the proxy is intercepting the file attachment and 
precluding it from sending to the server.

I'd appreciate your help.
Murthy




________________________________
From: Deepak Shetty <[email protected]>
To: JMeter Users List <[email protected]>
Sent: Wednesday, September 23, 2009 4:44:36 PM
Subject: Re: file upload problem

a. Should have no bearing on your problem
b. What exactly did you try in your script? what is the response you are
getting (using View results tree).?
c. What do you mean tried in IE/firefox? if its not working from the browser
it probably wont work from Jmeter .

On Wed, Sep 23, 2009 at 1:27 PM, murthy gandikota <
[email protected]> wrote:

> Hi
>
> I am new to this group and jmeter. So forgive me if this question has been
> asked before. I am using 2.3.3.2 v
>
> For the first time I am trying to upload a file. The request has been set
> up to upload an application/pdf mime type file.
> However, the request doesn't go through because:
> a) I have a constant throughput timer set for 10 minutes
> b) In response to the upload, the server apparently is sending a file to
> download (which does not happen normally)
> c) tried this with both IE and Firefox
>
> I have drawn all blanks so far in searching for this topic on web.
>
> Can someone please tell me there is a simple solution to all this?
>
> Thanks
> Murthy
>
>
>



      

Reply via email to