Tokens etc are normally extracted using the Regular Expression
Post-Processor (RE PP), not the RE Function.
I suggest you record a new very short test, just sufficient to
generate and use a token.
Find the incoming token in the HTML and extract it using the RE PP.
Find the outgoing uses of the token and replace them by the RE
variable reference.
S
On 04/07/07, aidy lewis <[EMAIL PROTECTED]> wrote:
Hi
I am stilling haveing trouble running tests in this strut application.
I have added this
${__regexFunction(<input type="hidden"
name="org.apache.struts.taglib.html.TOKEN"
value="(.*)">,$1$,1,,null,token)} as a parameter to each test plus
even deleted all the
org.apache.struts.taglib.html.TOKEN requests. Still the HTML response
is a 'page expired error'.
I cannot think of anything else at the moment. I can run the scripts
in BadBoy using Navigation mode, but these wont export to JMeter.
Cheers
Aidy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]