Am 15.02.2016 um 21:40 schrieb Philippe Mouawad:
On Monday, February 15, 2016, Felix Schumacher <
[email protected]> wrote:

Am 15.02.2016 um 21:30 schrieb Philippe Mouawad:

Wouldn't a standard property (comma separated values) be better ?

Yes. That would be even better.

Merge them into the ones we already have, or replace them?
no firm opinion.
Merge might be safer ?
Merge is probably safer. So use the ones we have already as the base stock?

Are you restricting it to webdav or to all methods ?
I think it should be free. Who knows what methods creep up in the future?

If all maybe we need to have a way to express if it can have a body or not
?
If it is needed, we could add another comma separated list, that lists those. But I think we can start without.

Felix


On Monday, February 15, 2016, Felix Schumacher <
[email protected]> wrote:

Am 15.02.2016 um 21:19 schrieb Philippe Mouawad:
Hi Felix,
There are other webdav methods that we don't support, should we add them
all ?

I thought about putting the list of supported methods into a file, so
anyone could edit it, if a new method is needed.

What do you think about that?


Felix
Regards
On Monday, February 15, 2016, <[email protected]> wrote:

Author: fschumacher

Date: Mon Feb 15 20:08:25 2016
New Revision: 1730604

URL: http://svn.apache.org/viewvc?rev=1730604&view=rev
Log:
HTTP Sampler : Added WebDAV verb (SEARCH).

Bugzilla Id: 59005

Modified:



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

Modified:


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
URL:


http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=1730604&r1=1730603&r2=1730604&view=diff



==============================================================================
---


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
(original)
+++


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Mon Feb 15 20:08:25 2016
@@ -96,7 +96,7 @@ import org.apache.oro.text.regex.Perl5Ma
    public abstract class HTTPSamplerBase extends AbstractSampler
        implements TestStateListener, TestIterationListener,
ThreadListener,
HTTPConstantsInterface {

-    private static final long serialVersionUID = 240L;
+    private static final long serialVersionUID = 241L;

        private static final Logger log =
LoggingManager.getLoggerForClass();

@@ -241,7 +241,8 @@ public abstract class HTTPSamplerBase ex
            HTTPConstants.LOCK,
            HTTPConstants.UNLOCK,
            HTTPConstants.REPORT,
-        HTTPConstants.MKCALENDAR
+        HTTPConstants.MKCALENDAR,
+        HTTPConstants.SEARCH
            };

        private static final List<String> METHODLIST =
Collections.unmodifiableList(Arrays.asList(METHODS));

Modified:


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java
URL:


http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java?rev=1730604&r1=1730603&r2=1730604&view=diff



==============================================================================
---


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java
(original)
+++


jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java
Mon Feb 15 20:08:25 2016
@@ -49,6 +49,7 @@ public interface HTTPConstantsInterface
        String CONNECT = "CONNECT"; // $NON-NLS-1$
        String REPORT = "REPORT"; // $NON-NLS-1$
        String MKCALENDAR = "MKCALENDAR"; // $NON-NLS-1$
+    String SEARCH = "SEARCH"; // $NON-NLS-1$
        String HEADER_AUTHORIZATION = "Authorization"; // $NON-NLS-1$
        String HEADER_COOKIE = "Cookie"; // $NON-NLS-1$
        String HEADER_CONNECTION = "Connection"; // $NON-NLS-1$

Modified: jmeter/trunk/xdocs/changes.xml
URL:


http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1730604&r1=1730603&r2=1730604&view=diff



==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Mon Feb 15 20:08:25 2016
@@ -107,6 +107,7 @@ Summary
            This is the same behaviour as with <code>POST</code>
requests.</li>
        <li><bug>58860</bug>HTTP Request : Add automatic variable
generation
in HTTP parameters table by right click. Contributed by Benoit Wiart
(benoit dot wiart at gmail.com)</li>
        <li><bug>58923</bug>normalize URIs when downloading embedded
resources.</li>
+    <li><bug>59005</bug>HTTP Sampler : Added WebDAV verb
(SEARCH).</li>
        <li><bug>59006</bug>Change Default proxy recording port to 8888
to
align it with Recording Template. Contributed by Antonio Gomes
Rodrigues
(ra0077 at gmail.com)</li>
    </ul>


Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
URL:


http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1730604&r1=1730603&r2=1730604&view=diff



==============================================================================
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Feb 15
20:08:25 2016
@@ -157,7 +157,8 @@ Latency is set to the time it takes to l
             </li>
             <li>It does not support virtual hosts.</li>
             <li>It does not support the following methods:
<code>COPY</code>, <code>LOCK</code>, <code>MKCOL</code>,
<code>MOVE</code>,
-             <code>PATCH</code>, <code>PROPFIND</code>,
<code>PROPPATCH</code>, <code>UNLOCK</code>, <code>REPORT</code>,
<code>MKCALENDAR</code>.</li>
+             <code>PATCH</code>, <code>PROPFIND</code>,
<code>PROPPATCH</code>, <code>UNLOCK</code>, <code>REPORT</code>,
+             <code>MKCALENDAR</code>, <code>SEARCH</code>.</li>
             <li>It does not support client based certificate testing
with
Keystore Config.</li>
             </ul>
             <note>Note: the <code>FILE</code> protocol is intended for
testing purposes only.
@@ -232,7 +233,8 @@ https.default.protocol=SSLv3
              <code>OPTIONS</code>, <code>PUT</code>,
<code>DELETE</code>,
<code>PATCH</code> (not supported for
              <code>JAVA</code> implementation). With
<code>HttpClient4</code>, the following methods related to WebDav are
              also allowed: <code>COPY</code>, <code>LOCK</code>,
<code>MKCOL</code>, <code>MOVE</code>,
-          <code>PROPFIND</code>, <code>PROPPATCH</code>,
<code>UNLOCK</code>, <code>REPORT</code>,
<code>MKCALENDAR</code>.</property>
+          <code>PROPFIND</code>, <code>PROPPATCH</code>,
<code>UNLOCK</code>, <code>REPORT</code>, <code>MKCALENDAR</code>,
+          <code>SEARCH</code>.</property>
            <property name="Content Encoding" required="No">
            Content encoding to be used (for <code>POST</code>,
<code>PUT</code>, <code>PATCH</code> and <code>FILE</code>).
            This is the character encoding to be used, and is not
related
to
the Content-Encoding HTTP header.






Reply via email to