Load Runner Session ID Changes Indefinitely -


good day

i'm trying perform load testing loadrunner 11. here's issue:

  1. i've got automatically generated script after actions recording
  2. 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}"); 
  3. i catch id response (tree view):

    d2b6f5b05a1366c395f8e86d8212f324 
  4. compare replay log , see:

    "s_id = 75c78912ae78d26bdbde73ebd9adb510". 
  5. 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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -