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/11/14 21:53:11 UTC

[Bug 60649] HTTP(S) Test Script Recorder: wrong postdata

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

Pierre <ku...@neuf.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from Pierre <ku...@neuf.fr> ---
I am getting the same behavior on my tests because the content-type is not
correctly set on the app i'm testing...

What do you think if the behavior of DefaultSamplerCreater is changed like
this:
1. Tries to parse data and splits name and value (I assume it's the current way
of working)
2. If 'name' is not null AND 'value' is null, then consider that the format is
just raw data, not name=value

From a quick look, if it really was a name=value format but with an empty
value, the data will still be sent to the server like received while recording,
with no modifications, so it'll be fine.

Let me know your thoughts!

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