DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18160>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18160

SaveService always uses jmeter.properties

           Summary: SaveService always uses jmeter.properties
           Product: JMeter
           Version: unspecified
          Platform: All
               URL: http://http://
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


SaveService needs to read some of the properties.

However instead of using the existing properties, it re-reads them 
from "jmeter.properties".

This usually works OK, but if someone uses the -p flag to specify a different 
properties file, then either the wrong properties will be used by SaveService, 
or an error will occur if the default jmeter.properties file is not present.

It would be better if it used the existing properties.

Not tested, but the changes look to be quite simple:
SaveServiceConstants.java
- delete PROPS_FILE

SaveService.java
- replace JMeterUtils.getProperties(PROPS_FILE) with 
JMeterUtils.getJMeterProperties();

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to