jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: regexFunction
Date Thu, 12 Dec 2002 09:05:59 GMT
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" <mstover1@apache.org>
> Reply-To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
> Date: Thu, 12 Dec 2002 03:48:35 -0500
> To: JMeter Users List <jmeter-user@jakarta.apache.org>
> Subject: Re: regexpFunction
> 
> 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, Scott Eade wrote:
> 
>> I can't for the life of me get a regexp function to work.  Here is what I
>> have set up:
>> 
>> JMeter version: cvs head
>> JDK: 1.4.0_01
>> 
>> Test Plan
>>   Thread Group
>>     Recording Controller
>>       HTTP Request 1: Output includes numerous anchor elements
>>       HTTP Request 2 (POST): Sends a parameter thus:
>>         Name: parm1
>>         Value: ${__regexpFunction(<a href=(.*)>,$1$,1,,,)}
>>         Encode: No
>> 
>> This is a contrived example based on Mike's original posting of the regexp
>> functionality, the real expression I would like to execute is quite
>> different.  My problem is that I cannot get this to work - the result is
>> always empty (i.e. The query data always shows "parm1=" rather than
>> "parm1=_some_value_found_by_the_regexp_function_").
>> 
>> Any assistance you can provide with making this work would be greatly
>> appreciated.
>> 
>> Cheers,
>> 
>> Scott
>> -- 
>> Scott Eade
>> Backstage Technologies Pty. Ltd.
>> http://www.backstagetech.com.au
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>
>> 
> 
> 
> 
> --
> Michael Stover
> mstover1@apache.org
> Yahoo IM: mstover_ya
> ICQ: 152975688
> AIM: mstover777
> 
> --
> To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>


Mime
View raw message