Re: request - monitoring OS info

2003-02-06 Thread Jonathan Carlson
I'd really like to see things like CPU monitoring in JMeter as well. Probably the most flexible way would be to enhance JMeter to get readings from remote (or local) JMX (Java Management Extension?) beans. There was a recent JavaWorld article with source code for getting CPU percentages

JMX or Phoenix?

2003-01-07 Thread Jonathan Carlson
Have any of the maintainers considered using JMX or Phoenix for enhancing manageability of JMeter? Last fall JavaWorld had an article with some source code on getting CPU% statistics. It would seem to be relatively easy to put it into a JMX bean and deploy it on the server JVM (assuming it

Testing

2003-01-07 Thread Jonathan Carlson
I think I must have been bumped off this list because I haven't received any e-mails since the 3rd of January. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual

V1.8 - Resource string not found

2002-12-26 Thread Jonathan Carlson
It's not a big deal, but I'm getting this warning in my log file: 12/26/2002 9:30:27 AM WARN - jmeter.util: ERROR! Resource string not found: [running_test] Apparently, it's missing from the org/apache/jmeter/resources/messages*.properties files. Jonathan P.S. I have what I think is a much

Assertion Results Bug Fix 3

2002-12-26 Thread Jonathan Carlson
Here is a much cleaner (IMHO) fix for the Assertion Results threading problem. Could someone else try this out and see how it works for them? It works fine for me in both GUI and non-GUI mode. This fix also avoids the problem that Scott found with the previous fix when running in non-GUI

Re: Assertion Results bug? -- here's the fix

2002-12-19 Thread Jonathan Carlson
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com On 19/12/2002 5:15 AM, Jonathan Carlson [EMAIL PROTECTED] wrote: Success! The ORO Perl5Matcher is not thread-safe. I checked the mailing list and found some comments about

Re: Assertion Results bug? -- here's the fix 2

2002-12-19 Thread Jonathan Carlson
Here are all the changes again, but with thread protection added for Perl5Compiler and pre-compilation of all regex patterns. I included the full methods since it seemed easier to do and because I added javadoc where there was none. Any news on getting the nightly builds going again? 1) The

Re: Assertion Results bug? -- error message fix

2002-12-19 Thread Jonathan Carlson
One small change that got missed before: There is an area in the evaluateResponse method that looks like this: if (!pass) { result.setFailure(true); result.setFailureMessage( Test Failed,

Re: Assertion Results bug? -- here's the fix 2

2002-12-19 Thread Jonathan Carlson
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com On 20/12/2002 4:14 AM, Jonathan Carlson [EMAIL PROTECTED] wrote: Here are all the changes again, but with thread protection added for Perl5Compiler and pre-compilation of all

Re: Assertion Results bug?

2002-12-18 Thread Jonathan Carlson
Here's what I have so far... I put a breakpoint into the ResponseAssertion#evaluateResponse(...) method. It only breaks if the contains test does not pass. I then used BeanShell to create a new matcher and a new compiler to test the response string. The new matcher and pattern compiler find

Re: Assertion Results bug? -- here's the fix

2002-12-18 Thread Jonathan Carlson
Success! The ORO Perl5Matcher is not thread-safe. I checked the mailing list and found some comments about Perl5Matcher needing to be accessed via a ThreadLocal instance in mult-threaded situations. This is what I did to ResponseAssertion to fix my problem: 1) I changed the matcher static

Aggregate Report

2002-12-18 Thread Jonathan Carlson
undesirable, IMHO. Has anyone else run into this? Jonathan Carlson Minneapolis, Minnesota P.S. My apologies for the silly disclaimer that my company keeps sticking to the bottom of my e-mails. ** This email and any files transmitted

Re: Aggregate Report

2002-12-18 Thread Jonathan Carlson
Arghh, I had a NullPointerException in the code I wrote to cache the patterns. So now we know what happens when an unexpected error occurs in the ResponseAssertion. If you notice that again, it's probably some error in the jmeter.log that will tell you about it. [EMAIL PROTECTED] 12/18/02

Re: Aggregate Report

2002-12-18 Thread Jonathan Carlson
OK, I fixed my problem. Michal sent me a similar issue he had. It was an array out of bounds exception in the Perl5Matcher which is most likely due to the threading issue with Perl5Matcher that will be fixed whenever my patch from earlier today goes in. BTW, it's looking like the

Re: Assertion Results bug?

2002-12-17 Thread Jonathan Carlson
Done. If you have any suggestions for debugging this, I'd appreciate it. I can recreate the problem at will and can rebuild from the source if printlns are needed. Jonathan [EMAIL PROTECTED] 12/17/02 04:48AM Dnia pon 16. grudzien 2002 22:17, Jonathan Carlson napisal: Thanks, I hope a file

Re: Assertion Results bug?

2002-12-16 Thread Jonathan Carlson
I have found what may be an important clue, but it doesn't make sense to me. Because I can not do finds in the ViewResultsTree I have to copy it into a Notepad file (yes, I have to use Windows) to do searches on it. When I tried saving it I got a message saying there was at least one Unicode

Source Code?

2002-12-13 Thread Jonathan Carlson
I tried getting the source code via CVS, but had problems possibly because of the firewall here. I also tried downloading a nightly build and found that there hasn't been one posted since Oct 27th. Actually, that wouldn't help me anyways since it appears to be only a binary build. Any help

Source Code? - sorry

2002-12-13 Thread Jonathan Carlson
Scratch that. I see that it comes with the distribution. Sorry! - I tried getting the source code via CVS, but had problems possibly because of the firewall here. I also tried downloading a nightly build and found that there hasn't been one posted since Oct

Assertion Results bug?

2002-12-13 Thread Jonathan Carlson
I've been noticing that in certain circumstances the Assertion Results doesn't find a string that is there. After looking into it a little deeper it appears that the line where the string occurs is very very long. Is it possible that it has a weakness in this case? Jonathan Minneapolis,

Re: Unable to edit User Defined Variables in Test Plan

2002-12-12 Thread Jonathan Carlson
One idea: Maybe it can be found on Sun's Java bug database. Maybe the just messed something up in 1.4.1. They might have a workaround suggested. It's worth a try. Jonathan [EMAIL PROTECTED] 12/11/02 08:16PM I want to use some user defined variables, but when I attempt to add these to the

Auto-Recording

2002-12-10 Thread Jonathan Carlson
. Is that correct? Jonathan Carlson Minneapolis, Minnesota ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received

Varying test values

2002-12-10 Thread Jonathan Carlson
that would do something like this or would I have to write my own Config Element, or have I missed something? Thanks in advance for any hints in this regard. Jonathan Carlson Minneapolis, Minnesota ** This email and any files

HTTP Redirect timings

2002-12-09 Thread Jonathan Carlson
want timed is in the first request and sometimes it's in the subsequent request. Thanks! Jonathan Carlson Minneapolis, Minnesota ** This email and any files transmitted with it are confidential and intended solely for the use

Re: HTTP Redirect timings

2002-12-09 Thread Jonathan Carlson
Hi Jordi, Thanks for your response. Having options isn't bad. But I, personally, am more concerned about the appearance to the user than I am about the individual request timings. I would suspect some others feel the same way. But, then again, if a certain aggregate request was slow, it

Re: HTTP Redirect Question 2

2002-12-09 Thread Jonathan Carlson
the results page, but I prefer keeping my plan tree as uncluttered as possible. Thanks! Jonathan Carlson Minneapolis, Minnesota ** This email and any files transmitted with it are confidential and intended solely for the use