Hi, I've recently discovered JMeter and extended the latest "release" (1.7) to test JavaSpaces. I got all this working fine, then I downloaded version 1.7.1 and found it had major architectural changes. I understand these changes make it much cleaner to extend, but I wish I'd known this when I pulled down the 1.7 release :-)
There is a note warning about these changes in http://jakarta.apache.org/jmeter/extending.html, but there is no direct navigation to this page, and it implies that the changes took affect in version 1.6, rather than version 1.7.1. I would be grateful if someone could answer the following questions about 1.7.1+: Q1 - file reporting: 1a. What's happened to the File Reporter? 1b. The Graph Results GUI etc now offers the ability to display results from a file. How are the results saved to a file in the first place? 1c. I don't understand the "Functional Test mode" - which file is the data saved to? Q2 - log4j initialisation I can't configure log4j with JMeter v1.7.1. NewDriver.java hardcodes: System.setProperty("log4j.configuration",System.getProperty("user.dir")+ File.separator+"log4j.conf"); if log4j can't convert the property to an URL, it searches for the file on the classpath, but this doesn't work if an absolute path is specified (as above). Possible solutions are to leave the path relative or to make it a valid URL, by prefixing it with "file:". I would also suggest only setting the property if it is not already set, thus allowing users to over-ride if required. Q3 - NewDriver initialisation The NewDriver creates it's own URLClassLoader, which allows it be run directly from the jar, without a wrapper script setting the CLASSPATH. This seemed to work well, it even automatically found my extension classes from a jar I put in the lib/ext directory, and displayed their menus and GUIs. However when I attempted to run (or Save) any tests using my custom extensions I got a java.lang.NoClassDefFoundException! (jmeter.properties search_paths=../lib/ext). I am not sure of the correct resolution for this, but in the meantime I have added a trivial public static void main() to JMeter.java, which allows me to start JMeter by explictly setting the classpath as before. JMeter is a great tool - keep up the good work! Thanks, Derek ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
