jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudheer reddy <gsudheer...@gmail.com>
Subject Re: The upload document process fails
Date Mon, 24 May 2010 06:36:38 GMT
Hi Rushabh

  u have to do this with send files with request

u can  check the below attached screenshot and make necessary changes  on
ur test plan.

rgds
Sudheer

On Mon, May 24, 2010 at 11:52 AM, Rushabh Doshi <rdoshi@asite.com> wrote:

> Thanks Sudheer. I didn't get you properly. I have tried but it doesn't
> work for me.
>
> You mean to say should I send below listed parameters in "Send
> Parameters with the request" or "Send Files with the request"
>
> Can you explain exactly what needs to be done here?
>
> Thanks,
> Rushabh
>
> -----Original Message-----
> From: sudheer reddy [mailto:gsudheer.08@gmail.com]
> Sent: Friday, May 21, 2010 9:44 PM
> To: JMeter Users List
> Subject: Re: The upload document process fails
>
> Hi Rushab
>
> * in the http parameters  u r sending remove the end content and place
> this
> end content  in the  path parameters  like shown below*
> **
> *file path           newfile
> application/textfile*
> *filepath1          endcontent*
> **
> *this will help u i think so bcoz i faced the same problem and i solved
> in
> this way*
> **
> *rgds*
> *Sudheer*
>
>
> On Fri, May 21, 2010 at 7:25 PM, Rushabh Doshi <rdoshi@asite.com> wrote:
>
> > Hi All,
> >
> >
> >
> > Using JMeter version 2.3.4 r785646
> >
> >
> >
> > While executing the JMeter script with the http request using
> > Multipart/form-data for HTTP POST, the upload document process fails.
> >
> >
> >
> > In the View results tree we have observed the following:
> >
> >
> >
> > In the http request, it displays "Content-Transfer-Encoding: 8bit"
> > against each parameter. This is not sent by the browser (have verified
> > in HTTP watch & HTTP Headers)
> >
> >
> >
> > Secondly, in the same request, it also displays
> > "Content-Transfer-Encoding: binary" for one of the post parameters.
> >
> >
> >
> > We have added HTTP Header Manager in the same reuest "Content-Type" -
> > multipart/form-data;
> >
> > boundary=---------------------------7da2a92586061e , which matches
> with
> > the browser.
> >
> >
> >
> >
> >
> > Following JMeter request - response
> >
> > -----------------------------7d159c1302d0y0
> >
> > Content-Disposition: form-data; name="upFile0"; filename="Ash1.JPG"
> >
> > Content-Type: image/jpeg
> >
> > Content-Transfer-Encoding: binary
> >
> >
> >
> > <actual file content, not shown here>
> >
> > -----------------------------
> >
> >
> >
> > -----------------------------7d159c1302d0y0
> >
> > Content-Disposition: form-data; name="upFile0"
> >
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Content-Transfer-Encoding: 8bit
> >
> > -----------------------------
> >
> >
> >
> > Browser Response
> >
> > -----------------------------41184676334
> >
> > Content-Disposition: form-data; name="upFile0"; filename="Ash1.JPG"
> >
> > Content-Type: image/jpeg
> >
> > -----------------------------
> >
> >
> >
> > -----------------------------41184676334
> >
> > Content-Disposition: form-data; name="XXXXX1"
> >
> >
> >
> > Ash1
> >
> > -----------------------------
> >
> >
> >
> > We have also captured the scenario in Firefox and there those values &
> > parameters are matched with the request.
> >
> >
> >
> > Can you advise on what is missing or what needs to be done to execute
> > the request successfully?
> >
> >
> >
> > Thanks & Regards,
> >
> > Rushabh
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
View raw message