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/05/04 18:15:53 UTC

[Bug 59429] New: Log a message if test

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

            Bug ID: 59429
           Summary: Log a message if test
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: sebb@apache.org

Further to Bug 59152, I think it would be useful to log a message if an error
occurs and any samplers are skipped as a result. 

Even if a user has deliberately selected anything other than Continue, it can
be confusing if there is no indication why some samples were not run.

This should probably be an INFO message; or possibly WARN. Not sure about that.

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

[Bug 59429] Log a message if Continue not selected and error occurs

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

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
@Sebb, do you intend to fix it this evening ?

Thanks

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

[Bug 59429] Log a message if Continue not selected and error occurs

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
@sebb, a message is already logged at debug level:

 log.debug("StartNextLoop option is on, Last sample failed, starting next
loop");

See:
https://github.com/apache/jmeter/blob/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java#L254

Thinking further about it, switching it to info could introduce performance
regressions for test plans that have this option on (and aware of its
consequence) knowing that jmeter default log level is INFO.

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

[Bug 59429] Log a message if Continue not selected and error occurs

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

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> ---
INFO level is better, because this can happen during a load test and it would
flood log file.

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

[Bug 59429] Log a message if Continue not selected and error occurs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Log a message if test       |Log a message if Continue
                   |                            |not selected and error
                   |                            |occurs

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

[Bug 59429] Log a message if test

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
                 OS|Mac OS X 10.1               |All
           Severity|normal                      |enhancement

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

[Bug 59429] Log a message if Continue not selected and error occurs

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

--- Comment #4 from Sebb <se...@apache.org> ---
If performance is an issue, then the log could be done once only

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