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/03 18:51:16 UTC

[Bug 55623] New: Improper handling of misconfiguration

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

            Bug ID: 55623
           Summary: Improper handling of misconfiguration
           Product: JMeter
           Version: 2.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: racezhang@gmail.com

Hi all,

I was using JMeter for a while, but found JMeter does not handle
misconfiguration well in many cases.

Specifically, when users provide a wrong configuration option and JMeter
produces a wrong result (or crashes), JMeter should explicitly dump error
message pointing to the mis-configured option, rather than failing silently, or
dumping stack traces, or simply restoring to the default behavior.

I have found many places in JMeter which can be improved, to give users better
experience.

As a very simple example, JMeter permits users to specify the output file
format via: "jmeter.save.saveservice.output_format"   option (the legal values
can be "xml" or "csv").

However, if a careless user types "jmeter.save.saveservice.output_format =
xxxml" or other unsupported file format, JMeter will automatically restore to
using "CSV" format without notifying users that they provide a wrong
configuration option value. This occurs to me a few times, and makes me really
confused.

I believe such places should be further improved to make JMeter more
user-friendly.

I found a couple of such places. and wondering whether JMeter developers would
like to know them, and how do you think about such "mis-handling"?

Thanks

-Sai

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

[Bug 55623] Invalid/unexpected configuration values should not be silently ignored

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

--- Comment #2 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/r1529171
Log:
Invalid/unexpected configuration values should not be silently ignored
Log warning for jmeter.save.saveservice.output_format
Bugzilla Id: 55623

Modified:
   
jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 55623] Improper handling of misconfiguration

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Sebb <se...@apache.org> ---
If there are other configuration items where you consider JMeter does not
handle invalid/unexpected input gracefully, please document them in Bugzilla.

We cannot promise to fix them all, but they will be considered and fixed as
appropriate.

Note that it may not always be possible to change the behaviour as it could
affect existing installations. In such cases however, a warning (or error)
message can be logged.

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

[Bug 55623] Invalid/unexpected configuration values should not be silently ignored

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

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

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Mar 23 14:10:47 2014
New Revision: 1580502

URL: http://svn.apache.org/r1580502
Log:
Bug 55623 - Invalid/unexpected configuration values should not be silently
ignored
Bugzilla Id: 55623

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java

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

[Bug 55623] Invalid/unexpected configuration values should not be silently ignored

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Improper handling of        |Invalid/unexpected
                   |misconfiguration            |configuration values should
                   |                            |not be silently ignored

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