Hello,
> I need to test a page that needs a session id (let's say: id1). This session
> id happens to be stored in the cookie manager table. the thin is that this
> id shoud be passed on to the next page with a different name (id2).
> How could I extract that info from the cookie table and pass it on to the
> next http request?
I feel I don't quite understand. How the browser are doing this?
javascript?
> this is what I need:
> The page will contain something like:
>
> javascript:window.open('http://mdeweb3.suranet.com/suranet/directorio.asp?&id=49166218591050004','_new')
>
If it was casual <a href=""> you could use HTTP Link parser
(http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_Link_Parser)
as it's the simplest form of extracting parameters to next link from previous
response. In your case you can use the "Regular Expression Extractor"
(http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor).
The regular expression you need is something like that:
Reference name = idval (for example)
Regular expression = id=(\d*)
Template = $1$
and don't be afraid of Perl :)))
hope this helps,
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]