Im curious what the issue is that you are trying to solve http://jmeter.apache.org/usermanual/component_reference.html#Generate_Summary_Results does work in non-gui mode . Are you trying to get this into your backend listener ?
Heres my sample for BackEndListener with source code http://theworkaholic.blogspot.com/2015/05/graphs-for-jmeter-using-elasticsearch.html because the backend I used (ElasticSearch) can itself do all the percentiles/averages/max over a rolling time period - I didnt need to do anything additional in my listener other than send the data I received - Depending on the tool you use you might have to. regards deepak On Tue, Jul 12, 2016 at 5:12 PM, David Luu <[email protected]> wrote: > I've not really used listeners beside aggregate graph/report, view results > tree, and some jmeterplugins.org ones. Came to know listeners don't work > in > CLI mode (e.g. > > https://www.blazemeter.com/blog/top-2-techniques-get-jmeter-test-results-non-gui-mode > ) > > I recently came across an interesting post: > > http://www.testautomationguru.com/jmeter-real-time-results-influxdb-grafana > > the author apparently modified the jmeter core package's Summariser > component to be able to also work like the backend listener in GUI mode. > Unfortunately so far, it appears he/she only released the compiled changes, > but not the source code. > > Anyone do anything similar? It would be nice to base/build upon that for > other data analysis purposes other than send to influxdb. And I'd rather > not have to figure things out from scratch & reinventing the wheel via > poking through the jmeter source code head on. >
