Re: regexpFunction

2002-12-12 Thread Mike Stover
Could it be that you are using __regexpFunction when the name is actually __regexFunction? (ie, no 'p'). At first, I thought it was just a typo in your email, but I noticed you did it twice Using the Function Dialog Helper would avoid such problems too. -Mike On 12 Dec 2002 at 16:56,

Re: Unable to edit User Defined Variables in Test Plan

2002-12-12 Thread Mike Stover
If I had any clue what the problem was, maybe I could fix it. But I don't know what they did to mess up jdk1.4.1. JMeter was Swing training grounds for me, and you can probably tell - I'm no expert. -Mike On 12 Dec 2002 at 14:49, Scott Eade wrote: Hi Mike, Yes, you are right. If I

Re: regexFunction

2002-12-12 Thread Scott Eade
Nah, I mistyped it in the email message. I have been using the Function Helper Dialog with the same result. Any other suggestions? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au From: Mike Stover [EMAIL PROTECTED] Reply-To: JMeter Users List [EMAIL

Re: regexFunction

2002-12-12 Thread Scott Eade
Okay, I have managed to make it work. The problem was the Recording Controller that was the parent of the HTTP Requests. I included it in the original post just in case it was relevant and it turns out that it was. It existed because I originally recorded the script using the proxy. Now that I

Re: regexFunction

2002-12-12 Thread Mike Stover
Yeow, I looked at the Recording Controller, and I can't see anything that would be a problem. What??? This makes no sense. -Mike On 12 Dec 2002 at 20:23, Scott Eade wrote: Okay, I have managed to make it work. The problem was the Recording Controller that was the parent of the HTTP

Re: regexFunction

2002-12-12 Thread Scott Eade
I still had a copy of the jmx file that didn't work, after re-examination I have realised that there were a bunch of image file retrievals between the two http requests that will obviously have impacted the data on which the regex was running. My mind had simply been ignoring the images,

Configure loop controller at runtime

2002-12-12 Thread Scott Eade
In the session I am scripting there is a page that will repeat n times where n is provided on the page immediately preceding the start of the loop. Is there a way I can set this up with JMeter? Allowing a regex function to be used in the Loop Count parameter of a Loop Controller would achieve

Re: Reusing the result of a regex in the same request

2002-12-12 Thread Michal Kostrzewa
HTTP Request param1 ${__regexFunction(some(value),$1$,RAND,,,var1)} param2 ${var1} Please use ${var1_g1} as param2. Hovewer I've never used it in such way - I used previously parsed value in next requests. best regards Michal Kostrzewa -- To unsubscribe, e-mail:

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

Re: Reusing the result of a regex in the same request

2002-12-12 Thread Mike Stover
It's actually quite common to want to do this, I've found - particularly with sites that use javascript, pop-up windows, etc. Just for further explanation, the 'g1' part is short for group #1. Group 0 is a built- in group that refers to whatever the entire regular expression matches. -Mike

Re: Configure loop controller at runtime

2002-12-12 Thread Mike Stover
Nope, no way to do this that I know of. Enabling it might not be so tough - just need to widen the scope of where functions are allowed. A loop controller should allow you to do what you wanted, but I know the GUI, for starters requires integer input currently. And I can think of a further

Re: Reusing the result of a regex in the same request

2002-12-12 Thread Scott Eade
Thanks Michal and Mike - that did the trick. I had seen the '_g1' suffix stuff in the documentation, but it failed to register because I simply expected the variable to be the same as the result of computing the template for the replacement string of the regex function. Thinking about it I guess

Re: Unable to edit User Defined Variables in Test Plan

2002-12-12 Thread Scott Eade
From: Jonathan Carlson [EMAIL PROTECTED] 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 I had a quick look and could not spot anything relevant. There was

Re: How to Use Counter

2002-12-12 Thread Byron Foster
Could you explain interation through the Test Plan? From my understanding the highest level of iteration would be a 'Thread Group'. Given the below configuration what would I expect the ${count} values to be: Root TestPlan Thread Group (Loop count:5 Number of threads:5) Counter

Deprecation of HTML Parameter Mask and HTTP User ParameterModifier

2002-12-12 Thread Scott Eade
In the JMeter documentation the HTML Parameter Mask and HTTP User Parameter Modifier modifiers are marked as deprecated with a recommendation that the User Parameters config element be used in their place. Surely HTTP User Parameter Modifier is going to be much more convenient when all but a few

Re: Deprecation of HTML Parameter Mask and HTTP User ParameterModifier

2002-12-12 Thread Scott Eade
HTML Parameter Mask actually indicates that the Counter config element be used as its replacement - I can see how this is a better (i.e. more flexible) solution than HTML Parameter Mask (it is a shame that the only code I have contributed to JMeter is part of HTML Parameter Mask ;-( ). I think my

Re: Deprecation of HTML Parameter Mask and HTTP User Parameter Modifier

2002-12-12 Thread Mike Stover
On 13 Dec 2002 at 16:35, Scott Eade wrote: HTML Parameter Mask actually indicates that the Counter config element be used as its replacement - I can see how this is a better (i.e. more flexible) solution than HTML Parameter Mask (it is a shame that the only code I have contributed to JMeter

A Counter within a Loop controller?

2002-12-12 Thread Scott Eade
[Sorry for making so much noise lately... ...here is another one] In my script I have a page that I need to request multiple times. It would appear that a Loop Controller is the ideal logic controller to use for this purpose. An additional requirement however is that the pages within the loop