Hello, We are looking for Total Transactions per second graph in HTML Report. Currently in 4.0 code it is generating transactions per second graph. So we need similar graph aggregation by Time and Transaction status.
Created attachment 35927 [details] Jmeter Total TPS Graph generator enhancement.
Comment on attachment 35927 [details] Jmeter Total TPS Graph generator enhancement. This attachement contains source code and property changes for Total TPS graph enhancement. Add new class file core\org\jmeter\report\processor\graph\impl\TotalTPSGraphConsumer.java Add new properties in reportgenerator.properties jmeter.reportgenerator.graph.totalTPS.* Added few lines of code in below files to display new graph report-template\content\pages\Throughput.html.fmkr report-template\content\js\graph.js.fmkr
Thanks for contribution. Could you attach a screenshot of result please ? Thanks
Created attachment 35928 [details] Screenshot of Total TPS graph after applying changes.
Author: pmouawad Date: Fri May 11 20:00:39 2018 New Revision: 1831444 URL: http://svn.apache.org/viewvc?rev=1831444&view=rev Log: Bug 62367 - HTML Report Generator: Add Graph Total Transactions per Second Mainly contributed by laks.martha Bugzilla Id: 62367 Added: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TotalTPSGraphConsumer.java (with props) Modified: jmeter/trunk/bin/report-template/content/js/graph.js.fmkr jmeter/trunk/bin/report-template/content/pages/Throughput.html.fmkr jmeter/trunk/bin/reportgenerator.properties jmeter/trunk/xdocs/changes.xml
Hello, Thanks for this contribution ! I merged it with slight modifications: - Fixed the colors (red for errors, green for ok) - Made the granularity variable Can you test and check it's ok ? Thanks
Thanks i have downloaded config files with color changes and tested. Its working as expected.
Graph appears blank as of nightly build. Reopening
Author: pmouawad Date: Sun Jul 15 13:58:17 2018 New Revision: 1835977 URL: http://svn.apache.org/viewvc?rev=1835977&view=rev Log: Bug 62367 - HTML Report Generator: Add Graph Total Transactions per Second Fix empty graph when a jmeter.reportgenerator.exporter.html.series_filter is defined Bugzilla Id: 62367 Modified: jmeter/trunk/bin/report-template/content/js/dashboard-commons.js.fmkr jmeter/trunk/bin/report-template/content/js/graph.js.fmkr
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4779