Summary: | Don't use colon in JSON renderer to display indentation | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Felix Schumacher <felix.schumacher> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | p.mouawad |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 4.0 | ||
Target Milestone: | JMETER_5.0 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | remove the colon from the "tab" string |
Date: Mon Jul 16 16:48:21 2018 New Revision: 1836054 URL: http://svn.apache.org/viewvc?rev=1836054&view=rev Log: Don't use a colon as part of the "tab" string when indenting JSON in RenderAsJSON. Bugzilla Id: 62545 Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4825 |
Created attachment 36033 [details] remove the colon from the "tab" string The RenderAsJSON component uses ": " as indentation string for a "tab". This makes the rendered JSON string an invalid JSON string. It is better to use a string of four spaces to build the indentation as the resulting string is then valid JSON.