jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra0077 <...@git.apache.org>
Subject [GitHub] jmeter pull request: Bug59351_BetterErrorMessageInIncludeControlle...
Date Mon, 18 Apr 2016 21:31:03 GMT
GitHub user ra0077 opened a pull request:

    https://github.com/apache/jmeter/pull/202

    Bug59351_BetterErrorMessageInIncludeControllerForFileNotFound

    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 can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ra0077/jmeter Bug59351_BetterErrorMessageInIncludeControllerForFileNotFound

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/202.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #202
    
----
commit aef98d759f25745201f338c0cb73cdac6a929ae9
Author: ra0077 <ra0077@gmail.com>
Date:   2016-04-18T21:30:04Z

    Bug59351_BetterErrorMessageInIncludeControllerForFileNotFound
    
    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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message