You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/04/03 20:24:56 UTC

[Bug 64305] New: Produce a self contained index.html for the whole report

https://bz.apache.org/bugzilla/show_bug.cgi?id=64305

            Bug ID: 64305
           Summary: Produce a self contained index.html for the whole
                    report
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: cen.is.imba@gmail.com
  Target Milestone: JMETER_5.3.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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64305] Produce a self contained index.html for the whole report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64305

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64305] Produce a self contained index.html for the whole report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64305

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
                 OS|Mac OS X 10.1               |All
   Target Milestone|JMETER_5.3.0                |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64305] Produce a self contained index.html for the whole report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64305

--- Comment #2 from cen <ce...@gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.