Bug 61769

Summary: View Results Tree: Use syntax highlighter in XPath Tester, JSON Path Tester and CSS/JQuery Tester
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2017-11-16 22:00:28 UTC
For better UX, the testers should use syntax highlighter and possibly formatting
Comment 1 Philippe Mouawad 2017-11-16 22:01:39 UTC
Author: pmouawad
Date: Thu Nov 16 22:01:20 2017
New Revision: 1815516

URL: http://svn.apache.org/viewvc?rev=1815516&view=rev
Log:
Bug 61769 - View Results Tree: Use syntax highlighter in XPath Tester, JSON Path Tester and CSS/JQuery Tester
Bugzilla Id: 61769

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsCssJQuery.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Philippe Mouawad 2017-11-16 22:04:11 UTC
It would be nice if we could have the [+] for XML:
http://bobbylight.github.io/RSyntaxTextArea/images/rsta2.png

I didn't find the option to have it yet.

Also it would be nice if we could pretty print the XML.
Html pretty printing might modify the HTML if we use Jsoup so not sure it's a good idea.