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 2014/10/08 16:00:16 UTC

[Bug 57068] New: No error thrown when negative duration is entered in Test Action

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

            Bug ID: 57068
           Summary: No error thrown when negative duration is entered in
                    Test Action
           Product: JMeter
           Version: 2.11
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: damien.aiello@bull.net

In version 2.9, when we entered a negative duration in a test action component,
an error was thrown :

2014/10/08 15:32:52 ERROR - jmeter.threads.JMeterThread: Error while processing
sampler 'Action test' : java.lang.IllegalArgumentException: timeout value is
negative

In version 2.10 and further, this error is not thrown anymore.


To reproduce, just put a negative value in the component, and observe the log
file.

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

[Bug 57068] No error thrown when negative duration is entered in Test Action

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Hardware|PC                          |All
         Resolution|---                         |FIXED
                 OS|Linux                       |All

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Issue is due to switch from Thread.sleep to TimeUnit.MILLISECONDS.sleep which
does not behave exactly the same (ignore negative value).
Thanks for report


Date: Wed Oct  8 20:56:20 2014
New Revision: 1630230

URL: http://svn.apache.org/r1630230
Log:
Bug 57068 - No error thrown when negative duration is entered in Test Action
Bugzilla Id: 57068

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java
    jmeter/trunk/xdocs/changes.xml

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