Re: Why JMeter kills tomcat?

2004-01-05 Thread Richard Han
I am trying to do an automatic JMeter testing using Quartz scheduler implemented as a Turbine service. (our web app is developped in turbine) When a quarts's scheduled job is started, it starts JMeter in nonqui mode, so I think JMeter shares the same JVM, with jdk version 1.4 Thanks Richard

Re: Why JMeter kills tomcat?

2004-01-05 Thread peter lin
You're going to have start a different VM for it to work correctly. Otherwise, when JMeter exits, it will shutdown the VM. peter Richard Han [EMAIL PROTECTED] wrote: I am trying to do an automatic JMeter testing using Quartz scheduler implemented as a Turbine service. (our web app is

Re: Why JMeter kills tomcat?

2004-01-05 Thread Richard Han
It was the System.exit() caused the problem. When I searched the codes for System.exit(), my IDE only gave me the first one (I forgot to uncheck the option), as the result I missed the one exit. It works fine now after I commented out the exit Thanks! Richard - Original Message - From:

user parameter modifier

2004-01-05 Thread Becky Moore
I am using the User Parameter Modifier to handle logging in different users and figured I could use it also to change a variable that must be different with each log in. It doesn't seem to work like that. I know the modifier works on the username and password, I've had success with it before. Does

RE: jorphan.io.TextFile always uses default encoding, ResultColle ctor always uses UTF-*

2004-01-05 Thread BAZLEY, Sebastian
As an aside - did you try using the Post-Processor Save Responses to a FIle ? I'd be interested to know if this preserved the response data correctly - or not. Just curious. S. -Original Message- From: Vincent Partington [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 15:43 To: JMeter

RE: user parameter modifier

2004-01-05 Thread BAZLEY, Sebastian
There's some info in the JMeter FAQ that might help you. -Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 17:23 To: 'JMeter Users List' Subject: user parameter modifier I am using the User Parameter Modifier to handle logging in different users and

RE: Use of conditional IF in the JMeter Scripting

2004-01-05 Thread BAZLEY, Sebastian
20030909 is rather old. Try a more recent nightly - there are links on the JMeter home page. Other links to nighlies may be out of date (if so. please let us know). Note: JMeter nightlies currently require Java 1.4 [Some 1.4 dependencies crept into the recent code, bur we may well revert to

RE: Use of conditional IF in the JMeter Scripting

2004-01-05 Thread Shawn Elliott
What do I need in order to do a build? Java 1.4.x Jmeter-20040104 Ant? Anything else?? -S -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 10:08 AM To: 'JMeter Users List' Subject: RE: Use of conditional IF in the JMeter Scripting

Re: Use of conditional IF in the JMeter Scripting

2004-01-05 Thread Sebastian Bazley
No need to do a build - you can just pick up the _bin and _lib zips from one of the nightlies. Unpack into the same directory structure and all should work. Might need JavaMail, depending on what samplers you use. But if you do want to build, you'll need the _src.zip and the _lib.zip - or

Re: Web Services Question

2004-01-05 Thread Sebastian Bazley
Have you checked the jmeter.log file? I think Webservices needs JavaMail - download from java.sun.com S. - Original Message - From: Peter Reid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 04, 2004 7:37 PM Subject: Web Services Question Hi, I recently downloaded

Help with Extracting data from http response.

2004-01-05 Thread Shawn Elliott
I need to parse the following out of a HTTP sampler request. ... STATUS_ID1286/STATUS_ID ... Would like to just get the value between the two tags. I think I would use the Regular Expression Extractor to do this, but have been unsuccessful. Here is what I have in my REE NAME: Get Status ID

Re: Help with Extracting data from http response.

2004-01-05 Thread Sebastian Bazley
1. No 2. No 3. See above! There's some information on Regular Expressions in the JMeter FAQ. * means repeat the previous item one or more times. You probably mean .* Better would be.*?to make the match not greedy. S. - Original Message - From: Shawn Elliott [EMAIL

RE: Help with Extracting data from http response.

2004-01-05 Thread Shawn Elliott
This is the perl statement I would like to execute. $string =~ /STATUS_ID(.*)\/STATUS_ID/i) So what would I put in the regular expression box? -Original Message- From: Sebastian Bazley [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:51 PM To: JMeter Users List Subject: Re:

Re: More information on 13.2.9 If Controller

2004-01-05 Thread Sebastian Bazley
I've not used it in earnest and I don't know JavaScript, but as far as I know, JavaScript can only access Javascript variables - it has no access to response data. You should be able to include ${variables} in the script. And you should be able get the html into a variable using (say) the

Re: Help with Extracting data from http response.

2004-01-05 Thread Sebastian Bazley
This is explained in the JMeter FAQ - or rather, this has a link entitled [OROMatcher User's guide] which leads to Perl5 regular expressions where you will find a section on Perl5 extended regular expressions. I think this should work: (?i)STATUS_ID(.*?)\/STATUS_ID (I've added the non-greedy

How can I reuse test plan fragments?

2004-01-05 Thread Sonam Chauhan
I want to reuse components of a test plan within a JMX. My aim is to reduce cutting and pasting of test plan fragments -- these go out of sync as the test plan is updated. The module controller seems built for this very purpose. However, it does not work in command line mode because workbench