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 2019/12/05 02:52:45 UTC
[Bug 63986] New: Jmeter change the POST request when Json body
contain blanket and slash
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
Bug ID: 63986
Summary: Jmeter change the POST request when Json body contain
blanket and slash
Product: JMeter
Version: 5.2.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: nguyetnm.it@gmail.com
Target Milestone: JMETER_5.2
Please review my post here
https://stackoverflow.com/questions/59170591/jmeter-change-the-post-request-when-json-body-contain-branket-and-slash/59175934#59175934
This issue happen when POST request Json body contain both \\\ and {}
character.
After sending this request, Jmeter will change \\\ to \\ and it leads to
incorrect request and in my case it shows 500 server error.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
moon <ng...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Status|NEW |NEEDINFO
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
I tried your SO Question and I don't reproduce the behaviour ?
Can you attach as simple test plan reproducing issue ?
Thank you
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
--- Comment #4 from moon <ng...@gmail.com> ---
My original POST request is
{"id":"KpiFormData","entity":"[\n\t\"{\\\"Timeout\\\":
\\\"10\\\",\\\"kpiType\\\": \\\"Marketing.KPI.Common, Marketing.KPI,
Version=x.x.x.0, Culture=neutral,
PublicKeyToken=3fafga352gts345\\\",\\\"widgetID\\\":
\\\"KpiWidget_0\\\",\\\"Weight\\\": \\\"Medium\\\",\\\"CurrentContent\\\":
\\\"${pageId}_${version}\\\"}\",\n\t\"{}\"\n]"}
When I hit SEND button, \\\ in my original request will change to \\ and it
leads to 500 internal server error, more detail, please check this post
https://stackoverflow.com/questions/59170591/jmeter-change-the-post-request-when-json-body-contain-branket-and-slash
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
moon <ng...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
--- Comment #3 from ashkola <he...@list.ru> ---
Hello, im faced the same issue.
To reproduce the situation http sampler must contain parameters.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63986] Jmeter change the POST request when Json body contain
blanket and slash
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63986
--- Comment #2 from ashkola <he...@list.ru> ---
Created attachment 36912
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36912&action=edit
Reproduce bug 63986
--
You are receiving this mail because:
You are the assignee for the bug.