jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Baumgartner" <>
Subject AW: Using _regexFunction
Date Tue, 16 Aug 2005 07:33:18 GMT
maybe this will help you further:

it's not that difficult, maybe this explains it better:

|_threat group
 |_http request (this request creates the value)
 |_regex extractor (here you define a reference name (variable name i.e.:
haribo) and the regular expression)
 |_http request (next http request that will use the value or should match
it, pass it via POST/GET)
			you can access the variable above via ${haribo}

best regards

-----Urspr√ľngliche Nachricht-----
Von: Thavutam, Prashanth [] 
Gesendet: Donnerstag, 11. August 2005 19:24
An: 'JMeter Users List'
Betreff: Using _regexFunction

I have used HTTP Proxy Server to record my application testing. It recorded
everything fine. The problem I am having is with the continuity token that
we use for each request to check if it is a valid request. This is
dynamically generated for each request and kept in session. When I go to
next page, the previous value kept in session is compared with the value
from the request and if they match, the request is processed and a new token
is generated. If they don't match, an error page is displayed.    
Obviously, the test failed when I ran it. I am trying to use _regexFunction
to get this value dynamically. I need some guidance on how to create the
function and where to use it. Below is the source on the html form: <input
type="hidden" name="com.tru.arch.facility.web.ContinuityToken"
I need to capture this value from the previous response and send it with
next request. Any help is appreciated.


This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to 
Toys "R" Us, Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message