Bug 65004 - HTTP(S) Test Script recorder computes wrong HTTP Request breaking the application
Summary: HTTP(S) Test Script recorder computes wrong HTTP Request breaking the applica...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.3
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER 5.4.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2020-12-17 20:19 UTC by UbikLoadPack support
Modified: 2021-01-02 12:17 UTC (History)
0 users



Attachments
Broken HTTP Request (121.63 KB, image/png)
2020-12-17 20:19 UTC, UbikLoadPack support
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ?