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 2013/10/23 09:09:25 UTC

[Bug 55693] New: "Save selection as" not saving as test fragment

https://issues.apache.org/bugzilla/show_bug.cgi?id=55693

            Bug ID: 55693
           Summary: "Save selection as" not saving as test fragment
           Product: JMeter
           Version: 2.10
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ambrosetti.nicola@gmail.com

It is confusing that when using "Save selection as" the produced jmx project
has the selected steps sitting right under the test plan, instead of being
under a test fragment. Thus one could be led to believe that the saved
selection could be included as is. However this is not the case: the include
controller will completely ignore anything in the included project that is not
child of a test fragment.

One could argue that it would be better to automatically save the selection
under a test fragment so that it is ready for use with an include controller,
unless the selection includes a thread group. I have not investigated
thoroughly all the the possible consequences.

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

[Bug 55693] Add a "Save as Test Fragment" option

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sat Oct 26 22:32:44 2013
New Revision: 1536042

URL: http://svn.apache.org/r1536042
Log:
Bug 55693 - Add a "Save as Test Fragment" option
Bugzilla Id: 55693

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

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

[Bug 55693] Add a "Save as Test Fragment" option

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

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Oct 27 09:15:51 2013
New Revision: 1536071

URL: http://svn.apache.org/r1536071
Log:
Bug 55693 - Add a "Save as Test Fragment" option
Add missing labels
Bugzilla Id: 55693

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties

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

[Bug 55693] Add a "Save as Test Fragment" option

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

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sat Oct 26 22:15:19 2013
New Revision: 1536040

URL: http://svn.apache.org/r1536040
Log:
Bug 55693 - Add a "Save as Test Fragment" option
Bugzilla Id: 55693

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/gui/TestPlanGui.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.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/threads/gui/AbstractThreadGroupGui.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 55693] Add a "Save as Test Fragment" option

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

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

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

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

[Bug 55693] Add a "Save as Test Fragment" option

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
            Summary|"Save selection as" not     |Add a "Save as Test
                   |saving as test fragment     |Fragment" option
           Severity|normal                      |enhancement

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

[Bug 55693] "Save selection as" not saving as test fragment

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

--- Comment #1 from Sebb <se...@apache.org> ---
Actually, the saved file does not contain the top-level test plan.

It's just that when the file is reloaded, it is added to the Test Plan (or the
WorkBench, depending where it is imported).

Changing this behaviour will likely cause other problems.

However it might be possible to add a "Save as Test Fragment" option.

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