Load Runner Session ID Changes Indefinitely -
good day
i'm trying perform load testing loadrunner 11. here's issue:
- i've got automatically generated script after actions recording
need catch session id. web_reg_save_param() in next way:
web_reg_save_param("s_id", "lb=set-cookie: jsessionid=", "rb=; path=/app/;", last); web_add_cookie("s_id; domain={host}");
i catch id response (tree view):
d2b6f5b05a1366c395f8e86d8212f324
compare replay log , see:
"s_id = 75c78912ae78d26bdbde73ebd9adb510".
compare 2 ids above next request id , see 3rd id (tree view):
80fe367101229fa34eb6429f4822e595
why have 3 different ids? let me know if have provide information.
you should use(search=all) below code. provided right , left boundary correct:
web_reg_save_param("s_id", "lb=set-cookie: jsessionid=", "rb=; path=/app/;", "search=all", last); web_add_cookie("{s_id}; domain={host}");
for details refer hp mannual web_reg_save_param function.
Comments
Post a Comment