Bug 64119

Summary: Set JSON as default into 'View Results Tree'
Product: JMeter Reporter: vlatko606
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 5.2.1   
Target Milestone: JMETER_5.3.0   
Hardware: All   
OS: All   
Attachments: jmeter
Use the order property to set the default renderer

Description vlatko606 2020-02-06 12:00:42 UTC
Created attachment 36994 [details]
jmeter

I can find way to set: order of the renders, but is it possible to set JSON as default?

What ever I set, text is always set as default render.

*The config file that i used is: jmeter.proporties

*JMeter version: 5.11

*view.results.tree.renderers_order=.RenderAsJSON,.RenderAsText,.RenderAsRegexp,.RenderAsBoundaryExtractor,.RenderAsCssJQuery,.RenderAsXPath,org.apache.jmeter.extractor.json.render.RenderAsJsonRenderer,.RenderAsHTML,.RenderAsHTMLFormatted,.RenderAsHTMLWithEmbedded,.RenderAsDocument,.RenderAsXML
Comment 1 Felix Schumacher 2020-02-11 22:32:27 UTC
Created attachment 37013 [details]
Use the order property to set the default renderer

I think it makes sense to use the order property for renderers to select the default renderer as well.

What are others thinking?
Comment 2 Philippe Mouawad 2020-02-12 08:51:50 UTC
Hi Felix,
Makes sense to me.

Regards
Comment 3 Felix Schumacher 2020-02-12 17:16:37 UTC
Will be contained in the next version of JMeter.

@vlatko606 can you try the next nightly and report back, if it works for you?

commit 243e0d1d8d875e6205d8da57189a28ff74e4953a
AuthorDate: Tue Feb 11 23:33:21 2020 +0100

    Use order property for renderes to select default renderer
    
    Use first renderer from view.results.tree.renderers_order property as default in View Results Tree
    
    Bugzilla Id: 64119
---
 .../visualizers/ViewResultsFullVisualizer.java     | 24 ++++++++++++++--------
 xdocs/changes.xml                                  |  2 ++
 2 files changed, 18 insertions(+), 8 deletions(-)