Cookies in web transactions?

umnmdl 10 years ago updated by Ilya (Here to help) 9 years ago 3
Is it possible to maintain cookies in the web transaction scenario tool or to create variables from headers (for example, keep the value of a Set-Cookie header)?

(On the subject of variables, I'm not sure what the syntax ${varn:none} denotes - is there additional documentation on this anywhere?)
Cookies are preserved automatically between steps.

Variables can be inserted using the following syntax ${var-name:var-encode}, where var-name is the variable name, and var-encode is the way to encode it which can be one of the following: none, url or html. Variables are text parts of the last step response which can be extracted either with regexp or with prefix and suffix.

Please let me know if you have further questions.