Derek,
JMeter testing JavaSpaces sounds very interesting. I hope you will
consider contributing your code to Apache.
To answer your questions:
1a. It's function was to record results to file. In 1.7.1, any visualizer
can record results to file. All visualizers store the same results, thus a
file saved using Graph Results can later be opened by the View Results Tree
visualizer, and vice versa.
1b. See above. Select a file (exiting or non-existing), then run your test.
The file will be created/appended to.
1c. Writing the server response to file can be time consuming. If the
server returns 1 MB of data, all this gets written into the results file if
functional test mode is on. Otherwise, it is skipped. Only use functional
mode if you explicitly want to save all the response data so you can look at
it later and verify your server is doing what is expected. Even so, this
only applies to saving data to file. With functional mode off, the listener
attached the the test will get all the data - it just won't save it to file.
Regarding log4j - thanks for the info. Personally, I don't know much about
log4j and have no motivation to do so. But I will try your suggestions.
The reason I put that there is because it wasn't working anyway, so I
thought I'd try setting it explicitly. When that didn't work, I gave up and
worked on other things.
You mention running your extensions under 1.7.1 - so you converted to the
new architecture? What was the class it couldn't find?
-Mike
> -----Original Message-----
> From: Derek Baum [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 10:08 AM
> To: JMeter Developers List
> Subject: Extending JMeter 1.7.1
>
>
> 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("u
ser.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]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>