Bug 65004

Summary: HTTP(S) Test Script recorder computes wrong HTTP Request breaking the application
Product: JMeter - Now in Github Reporter: UbikLoadPack support <support>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal Keywords: FixedInTrunk
Priority: P2    
Version: 5.3   
Target Milestone: JMETER 5.4.1   
Hardware: All   
OS: All   
Attachments: Broken HTTP Request

Description UbikLoadPack support 2020-12-17 20:19:35 UTC
Created attachment 37626 [details]
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
Comment 2 Felix Schumacher 2021-01-02 12:17:18 UTC
Is this the same as https://bz.apache.org/bugzilla/show_bug.cgi?id=60649 ?
Comment 3 The ASF infrastructure team 2022-09-24 20:38:21 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5458