jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject regexpFunction
Date Thu, 12 Dec 2002 05:56:34 GMT
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>


Mime
View raw message