Bug 60336 - SaveService: output JMX from JMeterTreeNode or JMeterTreeModel
Summary: SaveService: output JMX from JMeterTreeNode or JMeterTreeModel
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.0
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-03 13:52 UTC by Wyatt Epp
Modified: 2016-11-14 12:38 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wyatt Epp 2016-11-03 13:52:50 UTC
This is something that would be useful to have if you're working with the API.

I specifically found need for it when working with the ProxyControl API because deliverSampler works with JMeterTreeNodes.  So to output usable JMX with SaveService, I had to write code that traverses a JMeterTreeModel and builds a ListedHashTree.  (It didn't end up being especially long, but it was tricky to debug.)
Comment 1 Philippe Mouawad 2016-11-12 13:36:50 UTC
Hi Wyatt,
Would you like to contribute your work ?

Thanks
Comment 2 Wyatt Epp 2016-11-14 12:38:23 UTC
(In reply to Philippe Mouawad from comment #1)
> Hi Wyatt,
> Would you like to contribute your work ?
I'd love to!  If my proxy daemon ever gets through legal, I'll even be able to contribute the bulk of what's needed for this (I think), though I haven't integrated it with SaveService at all.

We're building up for public release of a new product very soon, so hopefully I'll be able to make headway on releasing code after that.

But if someone gets to this before then, that's good too.