Re: PATCH request .unable to submit PATCH request with parameters.

2016-05-11 Thread Deepak Shetty
Understand the specs and generate the multipart form-data. Again this is
worst case - why did the JMeter option not work for you?

On Wed, May 11, 2016 at 8:49 AM, Ratna Kar  wrote:

> how can i use the raw request sampler for submitting multipart/form-data
> request ?
>
> On Tue, May 10, 2016 at 11:11 PM, Deepak Shetty  wrote:
>
> > Did you try use multi-part form-data  for post on the HTTP Sampler ?
> >
> http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
> > If it doesnt work  compare Jmeter request/response (using View Results
> > tree) v/s browser
> > worst case use http://jmeter-plugins.org/wiki/RawRequest/
> >
> > On Tue, May 10, 2016 at 2:03 AM, Ratna Kar 
> > wrote:
> >
> > > My requirement is to send multipart/form-data request using jmeter. how
> > can
> > > i do this ?
> > >
> > > I am using the body data as
> > >
> > > Content-Type: multipart/form-data; boundary="--1235545443656"
> > >
> > > --1235545443656
> > > Content-Disposition: form-data; name="action"
> > >
> > > submit
> > > --1235545443656
> > > Content-Disposition: form-data; name="note"
> > >
> > > note
> > > --1235545443656--
> > >
> > > This is a PATCH request.
> > >
> > > On the server side i am getting error like
> > >
> > > org.jvnet.mimepull.MIMEParsingException: Missing start boundary.
> > >
> > > Can any one help me ..
> > > i would like to submit a multipart/form-data request through which i
> want
> > > to submit 2 parameters.
> > >
> >
>


Re: PATCH request .unable to submit PATCH request with parameters.

2016-05-11 Thread Ratna Kar
how can i use the raw request sampler for submitting multipart/form-data
request ?

On Tue, May 10, 2016 at 11:11 PM, Deepak Shetty  wrote:

> Did you try use multi-part form-data  for post on the HTTP Sampler ?
> http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
> If it doesnt work  compare Jmeter request/response (using View Results
> tree) v/s browser
> worst case use http://jmeter-plugins.org/wiki/RawRequest/
>
> On Tue, May 10, 2016 at 2:03 AM, Ratna Kar 
> wrote:
>
> > My requirement is to send multipart/form-data request using jmeter. how
> can
> > i do this ?
> >
> > I am using the body data as
> >
> > Content-Type: multipart/form-data; boundary="--1235545443656"
> >
> > --1235545443656
> > Content-Disposition: form-data; name="action"
> >
> > submit
> > --1235545443656
> > Content-Disposition: form-data; name="note"
> >
> > note
> > --1235545443656--
> >
> > This is a PATCH request.
> >
> > On the server side i am getting error like
> >
> > org.jvnet.mimepull.MIMEParsingException: Missing start boundary.
> >
> > Can any one help me ..
> > i would like to submit a multipart/form-data request through which i want
> > to submit 2 parameters.
> >
>


Re: PATCH request .unable to submit PATCH request with parameters.

2016-05-10 Thread Deepak Shetty
Did you try use multi-part form-data  for post on the HTTP Sampler ?
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
If it doesnt work  compare Jmeter request/response (using View Results
tree) v/s browser
worst case use http://jmeter-plugins.org/wiki/RawRequest/

On Tue, May 10, 2016 at 2:03 AM, Ratna Kar  wrote:

> My requirement is to send multipart/form-data request using jmeter. how can
> i do this ?
>
> I am using the body data as
>
> Content-Type: multipart/form-data; boundary="--1235545443656"
>
> --1235545443656
> Content-Disposition: form-data; name="action"
>
> submit
> --1235545443656
> Content-Disposition: form-data; name="note"
>
> note
> --1235545443656--
>
> This is a PATCH request.
>
> On the server side i am getting error like
>
> org.jvnet.mimepull.MIMEParsingException: Missing start boundary.
>
> Can any one help me ..
> i would like to submit a multipart/form-data request through which i want
> to submit 2 parameters.
>


PATCH request .unable to submit PATCH request with parameters.

2016-05-10 Thread Ratna Kar
My requirement is to send multipart/form-data request using jmeter. how can
i do this ?

I am using the body data as

Content-Type: multipart/form-data; boundary="--1235545443656"

--1235545443656
Content-Disposition: form-data; name="action"

submit
--1235545443656
Content-Disposition: form-data; name="note"

note
--1235545443656--

This is a PATCH request.

On the server side i am getting error like

org.jvnet.mimepull.MIMEParsingException: Missing start boundary.

Can any one help me ..
i would like to submit a multipart/form-data request through which i want
to submit 2 parameters.