Thanks Christian for the response. With someone else's response, I have added "HTTP URL Re-writing Modifier", that is taking care of retrieving the value from session and sending it with next request. I found it very easy to use and add it only once.
Regards, Prashanth -----Original Message----- From: Christian Baumgartner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 3:33 AM To: 'JMeter Users List' Subject: AW: Using _regexFunction maybe this will help you further: http://jakarta.apache.org/jmeter/usermanual/functions.html#__regexFunction it's not that difficult, maybe this explains it better: -testplan | |_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 Christian -----Ursprüngliche Nachricht----- Von: Thavutam, Prashanth [mailto:[EMAIL PROTECTED] 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" value='d7a281f1c83d859b77f476abf9c3ddb5'> I need to capture this value from the previous response and send it with next request. Any help is appreciated. Prashanth ======================================================================== 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 [EMAIL PROTECTED] Toys "R" Us, Inc. --------------------------------------------------------------------- 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] ======================================================================== 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 [EMAIL PROTECTED] Toys "R" Us, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

