The trick with cookies is that cookies are recorded even when added
from HTTP Headers. Cookies added from HTTP headers can be safely
omitted because loadrunner will automatically add them when the script
is run anyway.
For cookies added from javascript though the above does not apply.
Those cookies cannot be commented away safely, usually.
If you wish to know which category of cookie you are dealing with you
will have to enable logging "data returned by server" and run the
script. If you see the cookie in a line starting with "Set-Cookie: "
it's a header, if it's set in a 'setCookie()' javascript call it is
(surprise!) a scripted one you may not be able to safely remove.
Frankly it would be better if HP simply changed the recording engine
to ignore cookies added in headers. Until that time a little bit of
diligence is adviced.
Regards,
Floris
---
'What does it mean to say that one is 48% slower? That's like saying
that a squirrel is 48% juicier than an orange - maybe it's true, but
anybody who puts the two in a blender to compare them is kind of
sick.'
--- Linus Torvalds