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/04/18 23:28:04 UTC

[Bug 59351] New: Better log/error/message to IncludeController and more robust

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

            Bug ID: 59351
           Summary: Better log/error/message to IncludeController and more
                    robust
           Product: JMeter
           Version: 3.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ra0077@gmail.com

Created attachment 33775
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33775&action=edit
Current error message

Hi,


When JMeter try to load a file which don't exist in InludeController we have
this log

2016/04/18 22:22:12 INFO  - jmeter.services.FileServer: Set new
base='C:\Util\0_JMX' 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -- try to load included module:
C:\Util\apache-jmeter-3.0\bin\  C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -failed for: C:\Util\apache-jmeter-3.0\bin\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -Attempting to read it from: C:\Util\0_JMX\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 ERROR - jmeter.control.IncludeController:
loadIncludedElements -failed for: C:\Util\0_JMX\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -- try to load included module:
C:\Util\apache-jmeter-3.0\bin\  C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -failed for: C:\Util\apache-jmeter-3.0\bin\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 INFO  - jmeter.control.IncludeController:
loadIncludedElements -Attempting to read it from: C:\Util\0_JMX\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:22:13 ERROR - jmeter.control.IncludeController:
loadIncludedElements -failed for: C:\Util\0_JMX\ 
C:\Util\0_JMX\IncludeSRCFragment.jmx 
2016/04/18 22:34:12 WARN  - jmeter.control.IncludeController: Unexpected error
java.io.IOException: loadIncludedElements -failed for:
C:\Util\apache-jmeter-3.0\bin\  C:\Util\0_JMX\IncludeSRCFragment.jmx and
C:\Util\0_JMX\  C:\Util\0_JMX\IncludeSRCFragment.jmx
    at
org.apache.jmeter.control.IncludeController.loadIncludedElements(IncludeController.java:135)
    at
org.apache.jmeter.control.IncludeController.resolveReplacementSubTree(IncludeController.java:111)
    at
org.apache.jmeter.control.IncludeController.clone(IncludeController.java:64)
    at org.apache.jmeter.gui.action.CheckDirty.addNode(CheckDirty.java:162)


and a popup box with useless message to user (see attached screenshot)

I propose to have a more usefull log and error message.

Ant to check that the file can be read

Antonio

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

[Bug 59351] Improve log/error/message for IncludeController

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

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

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

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Fri Jun 10 21:43:59 2016
New Revision: 1747805

URL: http://svn.apache.org/viewvc?rev=1747805&view=rev
Log:
Bug 59351 - Improve log/error/message for IncludeController
#resolve #202
Bugzilla Id: 59351

Modified:
   
jmeter/trunk/src/components/org/apache/jmeter/control/IncludeController.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 59351] Better log/error/message to IncludeController and more robust

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

--- Comment #2 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
PR 202 commited

Antonio

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

[Bug 59351] Better log/error/message to IncludeController and more robust

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows NT                  |All
           Hardware|PC                          |All
           Severity|minor                       |enhancement
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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

[Bug 59351] Better log/error/message to IncludeController and more robust

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

Antonio Gomes Rodrigues <ra...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ra0077@gmail.com

--- Comment #1 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Created attachment 33776
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33776&action=edit
My proposal

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

[Bug 59351] Improve log/error/message for IncludeController

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Better log/error/message to |Improve log/error/message
                   |IncludeController and more  |for IncludeController
                   |robust                      |

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