i use rawhttp solve this problem. thx a lot. 在 2012-8-16 上午8:42,"Adrian Speteanu" <asp.ad...@gmail.com>写道:
> You can also consider plugin: > http://code.google.com/p/jmeter-plugins/wiki/RawRequest > > Is not as complex as curl, but will allow you to define the full string > jmeter sends to the server (you can basically define whatever string to > send to the server). > > Adrian S > > On Thu, Aug 16, 2012 at 5:42 PM, Deepak Shetty <shet...@gmail.com> wrote: > > > You could make it work with a java sampler e.g. > > > > > http://stackoverflow.com/questions/10093514/how-to-set-requestbody-for-http-delete-method- > > I haven't verified > > On Aug 16, 2012 7:33 AM, "Neo Qing" <neoq...@gmail.com> wrote: > > > > > thanks for your response.if jmeter does not support this naturally.can > i > > > use curl as a plugin? > > > 在 2012-8-16 凌晨1:04,"sebb" <seb...@gmail.com>写道: > > > > > > > > On 16 August 2012 03:47, Neo Qing <neoq...@gmail.com> wrote: > > > > > Hi,There: > > > > > I'm facing a problem, I'm testing a web service with HTTP > > DELETE, > > > and > > > > > it needs request body,but I found that JMeter ignores the HTTP > DELETE > > > > > Request body, how to solve this problem? thanks a lot. > > > > > > > > As far as I'm aware, the DELETE URI itself was intended to fully > > > > specify the target of the deletion. > > > > RFC 2616 does not mention (or disallow) a body. > > > > > > > > As such, JMeter does not currently allow a body. > > > > I'm not sure if the HTTP implementations it uses allow one either. > > > > > > > > It looks as though this might be clarified shortly [1] but existing > > > > software may not always support DELETE bodies. > > > > > > > > You can raise a JMeter enhancement request via Bugzilla but it may > not > > > > be possible to implement it for some while. > > > > > > > > [1] > > > http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-19#page-23 > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > > > > For additional commands, e-mail: user-h...@jmeter.apache.org > > > > > > > > > >