Right now the report directory consists of index.html, statistics.json, sbadmin2 and content folder. This is a bit cumbersome to share with other people, you either need to put it on some webserver or make a zip archive to send via email or another medium. A welcome option would be if jmeter could inline all the assets (js, css and data) into a single index.html page.
Hello(In reply to cen from comment #0) > Right now the report directory consists of index.html, statistics.json, > sbadmin2 and content folder. This is a bit cumbersome to share with other > people, you either need to put it on some webserver or make a zip archive to > send via email or another medium. > > A welcome option would be if jmeter could inline all the assets (js, css and > data) into a single index.html page. Hello, Did you try using such approach ? https://github.com/DustinJackson/html-webpack-inline-source-plugin Would you be ready to contribute a patch ? Thanks
Seems rather straightforward. Report template would be treated like an npm project, pulling in sbadmin, jquery and other external dependencies (probably as a local resource so it doesnt pull megabytes after each clean), plus a plugin like this which you linked, invoking a build after the template generation would produce the final page. Some additional merging and JS magic would be needed to include the other html pages. I can't guarantee I can contribute a patch right now but if there is some time hole towards the summer I might aswell. If so, I will comment here.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5286