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 2016/03/13 01:07:31 UTC

[Bug 59173] New: New fields/changed defaults cause earlier test plans to be marked as changed even when unused

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

            Bug ID: 59173
           Summary: New fields/changed defaults cause earlier test plans
                    to be marked as changed even when unused
           Product: JMeter
           Version: 2.13
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: sebb@apache.org

Create a Test Plan with JMeter 2.13 containing:

Access Log Sampler
JMS Publisher
Regular Expression Extractor
Backend Listener

Open it in JMeter trunk version.

View one or more of the test elements - don't change anything - and then select
the Test Plan.

Press Quit; it will prompt to save the changed Test Plan.

If you save the plan to a new file and compare the files, there are several
differences.

There are two causes:
- new fields which have been added without defining default values
- existing fields which have new defaults

It's disconcerting to be warned that the test plan has changed when that is not
the case. The issue will keep occurring until test plans using any of those
elements have been updated. 

This bug means that test plans are not properly upwards-compatible.

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

--- Comment #5 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/viewvc?rev=1735765&view=rev
Log:
New fields/changed defaults cause earlier test plans to be marked as changed
Fix AccessLogSampler; added TestBean support for not saving default values
Bugzilla Id: 59173

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/BeanInfoSupport.java
   
jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.java

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.13                        |Nightly (Please specify
                   |                            |date)

--- Comment #6 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/viewvc?rev=1735776&view=rev
Log:
New fields/changed defaults cause earlier test plans to be marked as changed
Fix PublisherSampler: convert default to empty string on output (as that is
what the input methods do)
Bugzilla Id: 59173

Modified:
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

--- Comment #8 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/viewvc?rev=1736119&view=rev
Log:
New fields/changed defaults cause earlier test plans to be marked as changed
Fix BackendListener
Bugzilla Id: 59173

Modified:
   
jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListener.java

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |59241

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed even when unused

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

--- Comment #2 from Sebb <se...@apache.org> ---
Created attachment 33665
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33665&action=edit
Test plan saved with JMeter trunk

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Tue Mar 15 21:37:38 2016
New Revision: 1735170

URL: http://svn.apache.org/viewvc?rev=1735170&view=rev
Log:
Bug 59173 - New fields/changed defaults cause earlier test plans to be marked
as changed
Fix RegExtractor saving with 3.0
Bugzilla Id: 59173

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/RegexExtractor.java

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed even when unused

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

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33664|application/xml             |text/plain
          mime type|                            |

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

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

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

--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Mar 27 19:33:47 2016
New Revision: 1736811

URL: http://svn.apache.org/viewvc?rev=1736811&view=rev
Log:
Bug 59173 - New fields/changed defaults cause earlier test plans to be marked
as changed
Bugzilla Id: 59173

Modified:
    jmeter/trunk/xdocs/changes.xml

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed even when unused

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

--- Comment #1 from Sebb <se...@apache.org> ---
Created attachment 33664
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33664&action=edit
Test plan created in JMeter 2.13

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
1/ For AccessLogSample, new protocol field was introduced, it doesn't hurt me
that JMeter asks user to save.
But if you see how to fix it, go ahead. 

2/ For Backend Listener, again a new parameter was introduced, I am not sure we
can fix the saving so that this new fields is not appended.

3/ For JMS Publisher, I am not sure it can be properly fixed as in 2.13, we
made a mistake in the way we managed JMS Priority and JMS Expiry default
values. 
But if you see how to fix it, go ahead

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

--- Comment #7 from Sebb <se...@apache.org> ---
Note: this bug applies to nightlies after 2.13

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

[Bug 59173] New fields/changed defaults cause earlier test plans to be marked as changed

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

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|New fields/changed defaults |New fields/changed defaults
                   |cause earlier test plans to |cause earlier test plans to
                   |be marked as changed even   |be marked as changed
                   |when unused                 |

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