tags:

views:

38

answers:

1

Is it posible to bind to a variable value from response and then pass it as parameter to other http request?

A: 

I have not used this myself but it should be possible to extract an element from the response using the Regular Expression Extractor and store it in a variable which can be referred from further requests.

See Extract multiple strings on http://wiki.apache.org/jakarta-jmeter/RegularExpressions and this example http://jmeter-tips.blogspot.com/2010/06/tip-12-how-to-add-http-request-sampler.html

The official docs on this topic are this heading 19.5.1 __regexFunction on http://jakarta.apache.org/jmeter/usermanual/functions.html

JoseK
the regex works well for this
BlackGaff