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: [email protected]
          Reporter: [email protected]
  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.

Reply via email to