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 2020/12/17 20:19:35 UTC

[Bug 65004] New: HTTP(S) Test Script recorder computes wrong HTTP Request breaking the application

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

            Bug ID: 65004
           Summary: HTTP(S) Test Script recorder computes wrong HTTP
                    Request breaking the application
           Product: JMeter
           Version: 5.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com
  Target Milestone: JMETER 5.4.1

Created attachment 37626
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37626&action=edit
Broken HTTP Request

Let's say you have a request with header:

Content-Type=application/x-www-form-urlencoded

And:

POST /xxx/yyy/53484288-56a5-421b-a049-356b096f9840
{"key":"XXXX","prefixQuery":{"keywords":"TOTO"}}


The recorder will compute a HTTP Request with arguments as below:

Name={"key":"XXXX","prefixQuery":{"keywords":"TOTO"}}
Value=

See attached screenshot.

If some json value contains an '=', then you'll have :
Name=json part until '=' excluded
Value=json part starting from '='

In both cases, the HTTP request is invalid and application request will fail

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

[Bug 65004] HTTP(S) Test Script recorder computes wrong HTTP Request breaking the application

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Keywords|                            |FixedInTrunk
         Resolution|---                         |FIXED

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
https://github.com/apache/jmeter/commit/acca046473657083e6b139402652d4b78c5229cb

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

[Bug 65004] HTTP(S) Test Script recorder computes wrong HTTP Request breaking the application

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

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Is this the same as https://bz.apache.org/bugzilla/show_bug.cgi?id=60649 ?

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