You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ratna Kar <ra...@gmail.com> on 2016/05/10 09:03:49 UTC
PATCH request .unable to submit PATCH request with parameters.
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.
Posted by Deepak Shetty <sh...@gmail.com>.
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 <ra...@gmail.com> 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 <sh...@gmail.com> 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 <ra...@gmail.com>
> > 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.
Posted by Ratna Kar <ra...@gmail.com>.
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 <sh...@gmail.com> 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 <ra...@gmail.com>
> 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.
Posted by Deepak Shetty <sh...@gmail.com>.
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 <ra...@gmail.com> 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.
>