The request: add the PATCH verb to the HTTP sampler such that it allows you to select it when creating a sampler The rationale: many newly-developed web services I find myself implementing tests against take XML input to non-POST calls. Whilst you can already do GET, POST, HEAD, PUT, OPTIONS, TRACE AND DELETE, PATCH isn't one of the options.
Http client proposes this method since 4.2 final, so we could add it as part of httpclient4 implementation. It is also true that this method is rather rarely used. Regards Philippe
See: http://mail-archives.apache.org/mod_mbox/hc-dev/201205.mbox/%3c1569577145.3795.1337170982470.JavaMail.tomcat@hel.zones.apache.org%3e
> It is also true that this method is rather rarely used. Yeah, but when you need it, you need it ;-) (In reply to comment #1) > Http client proposes this method since 4.2 final, so we could add it as part > of httpclient4 implementation. > > It is also true that this method is rather rarely used. > > Regards > > Philippe
Added. Note that this does not work for the Java HTTP implementation. URL: http://svn.apache.org/viewvc?rev=1376344&view=rev Log: Add PATCH verb to HTTP sampler Bugzilla Id: 53675 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml URL: http://svn.apache.org/viewvc?rev=1376345&view=rev Log: Add PATCH verb to HTTP HC3.1 sampler Bugzilla Id: 53675 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java URL: http://svn.apache.org/viewvc?rev=1376346&view=rev Log: Supported for HC3.1 as well Bugzilla Id: 53675 Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2876