You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/04/05 11:28:42 UTC

[Bug 62260] New: Improve Rest support

https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

            Bug ID: 62260
           Summary: Improve Rest support
           Product: JMeter
           Version: 4.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com
  Target Milestone: ---

Created attachment 35841
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35841&action=edit
Sampler Parameters Tab screenshot

Hello,

In order to test RESTFUL applications JMeter has currently some limits:

- As per Bug 60015, multipart/form-data only works for POST, it should work for
other methods
- As per discussion on dev mailing list (MultiPart/form-data : Supporting JSON
body + file upload :
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201703.mbox/%3CCAH9fUpb9pAJYUchwUbvtA5VC_Cr5B4pSaR62pXYg9sF2Z1-kMg%40mail.gmail.com%3E),
one cannot specify some content-type on parts of a multipart. Providing this
would make JMeter even more powerful than Postman on this level


As a minor side effect, it will drop the feature related to Bug 60092 (maybe it
can be added later)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 35842
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35842&action=edit
Sampler File Upload Tab screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |60015


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=60015
[Bug 60015] Multipart/form-data works only for POST using HTTPClient4 while it
should for PUT, DELETE...
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Thu Apr  5 19:10:44 2018
New Revision: 1828467

URL: http://svn.apache.org/viewvc?rev=1828467&view=rev
Log:
Bug 62260 - Improve Rest support
This also fixes:
- Bug 60190 - Content-Type is added for POST unconditionally
Bug 60015 - Multipart/form-data works only for POST using HTTPClient4 while it
should for PUT, DELETE...

Contributed  by UbikLoadPack
Bugzilla Id: 62260

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPArgument.java
   
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java
   
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaluramghelot89@gmail.com

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 60015 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |JMETER_4.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Thu Apr  5 19:41:52 2018
New Revision: 1828470

URL: http://svn.apache.org/viewvc?rev=1828470&view=rev
Log:
Bug 62260
Revert changes unrelated to issue + issue in java.
Add test case for No KeepAlive to ensure Connection: close is present
Bugzilla Id: 62260

Modified:
    jmeter/trunk/bin/testfiles/TestKeepAlive.csv
    jmeter/trunk/bin/testfiles/TestKeepAlive.jmx
    jmeter/trunk/bin/testfiles/TestKeepAlive.xml
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

--- Comment #2 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 35843
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35843&action=edit
Request sent

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62260] Improve Rest support

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62260

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |60190


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=60190
[Bug 60190] Content-Type is added for POST unconditionally
-- 
You are receiving this mail because:
You are the assignee for the bug.