Bug 53675 - Add PATCH verb to HTTP sampler
Add PATCH verb to HTTP sampler
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.7
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-08-07 16:19 UTC by Marcos Placona
Modified: 2012-08-23 02:16 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Placona 2012-08-07 16:19:09 UTC
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.
Comment 1 Philippe Mouawad 2012-08-10 13:05:27 UTC
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
Comment 3 Marcos Placona 2012-08-10 14:05:03 UTC
> 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
Comment 4 Sebb 2012-08-23 02:16:46 UTC
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