Hi
I have a bit of a problem: the site I'm trying to test uses js to frob a
cookie to communicate state, so I'd really like to be able to do that in
my test as well. Setting a cookie manager cookie to a script fragment
doesn't seem to do it, particularly since I don't want to magically have
the cookie before the server sets it. In short:
...
jmeter: req /able (no cookie.)
server: ok, cookie: fnord=1234deadbeef
...magic goes here...
jmeter: req /baker cookie: fnord=1234deadbeef,{"json":"wierdness"}
server: ok...
...
Using a BSF preprocessor to clobber the variable-by-that-name doesn't
seem to work. (I'm guessing it just creates a new variable that shadows
the cookie.)
I could start hacking in Java, but I'd prefer to avoid it.
Thank you.
Anders Eurenius
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]