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 2019/01/22 20:42:00 UTC

[Bug 63101] New: Propose a menu item to generate readable overview of Test Plan

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

            Bug ID: 63101
           Summary: Propose a menu item to generate readable overview of
                    Test Plan
           Product: JMeter
           Version: 5.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: JMETER_5.1

As per discussion on mailing list:

http://mail-archives.apache.org/mod_mbox/jmeter-dev/201901.mbox/%3CCAH9fUpZEBMpR4oiBL54%2BTk1Hm%3DnSLm2uZas50k5xqKpw8knB%2Bg%40mail.gmail.com%3E

There is a need in JMeter since we're not a DSL based tool, to provide an
overview of the test for documentation purpose.
It would also help a lot on issue reporting for example.

Currently, the only available option is to use schematic.sh which is:

- outdated (does not consider HttpSamplerProxy)
- very limited (Display element ClassName)
- not friendly to use, you need to copy the test plan in extras folder to make
it work

As the expected overview might depend a lot on what somebody wants to see, what
do you think of this as a first step:

- Create in new Tools menu Item (where we would move Curl, Export Transactions
for Report, Create Heap/Thread dump) an entry "Export as schematic overview"
- The feature would :
 open A dialog with Option path to enter Exporter

I see at least 2 ways to implement exporter:
        XSL with schematic way:
            + : Not much work
            - : XSL is not very readable nor friendly
            - : JMeter has no contract on XML

    Add an interface, JMeter would discover implementation and propose it:
        We would use the Visitor pattern 
        + : Very flexible
        + : Easier to maintain, we rely on Java Contract
        - : More work for user
    Note we can implement XSL Exporter as first step

    In the long term, maybe we could be proposing an exporter to YAML or JSON

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

[Bug 63101] Propose a menu item to generate readable overview of Test Plan

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Thu Feb  7 08:52:28 2019
New Revision: 1853118

URL: http://svn.apache.org/viewvc?rev=1853118&view=rev
Log:
Bug 63101 Propose a menu item to generate readable overview of Test Plan
Bugzilla Id: 63101

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java

Author: pmouawad
Date: Thu Feb  7 14:41:40 2019
New Revision: 1853140

URL: http://svn.apache.org/viewvc?rev=1853140&view=rev
Log:
Bug 63101 Propose a menu item to generate readable overview of Test Plan
Drop code committed by error
Bugzilla Id: 63101

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java

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

[Bug 63101] Propose a menu item to generate readable overview of Test Plan

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

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

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

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 36387
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36387&action=edit
First implementation (alpha) based on XSL

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

[Bug 63101] Propose a menu item to generate readable overview of Test Plan

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           Keywords|                            |FixedInTrunk
             Status|NEW                         |RESOLVED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Fri Feb  1 22:51:17 2019
New Revision: 1852776

URL: http://svn.apache.org/viewvc?rev=1852776&view=rev
Log:
Bug 63101 - Propose a menu item to generate readable overview of Test Plan
Bugzilla Id: 63101

Added:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SchematicView.java  
(with props)
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/schematic.xsl   (with
props)
Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml

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