Version LR12.0
Script prepared using HTTP Protocol
Can some one please let me know the reason, even theough correlated javax.faces.viewstate it is not redirecting to the actual page
Actual script:
web_submit_data("main",
"Action=http://xxxxx/spring/main?execution=e1s1",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://xxxxx/spring/main?execution=e1s1",
"Snapshot=t4.inf",
"Mode=HTML",
"EncodeAtSign=YES",
ITEMDATA,
"Name=javax.faces.partial.ajax", "Value=true", ENDITEM,
"Name=javax.faces.source", "Value=homePage:j_id12457226_5a6b40a6", ENDITEM,
"Name=javax.faces.partial.execute", "Value=@all", ENDITEM,
"Name=javax.faces.partial.render", "Value=homePage:appIcons", ENDITEM,
"Name=homePage:j_id12457226_5a6b40a6", "Value=homePage:j_id12457226_5a6b40a6", ENDITEM,
"Name=homePage:draggingId", "Value=", ENDITEM,
"Name=homePage:columsTable", "Value=4", ENDITEM,
"Name=homePage:rowsTable", "Value=12", ENDITEM,
"Name=homePage:dragIdCarousel", "Value=", ENDITEM,
"Name=homePage:dropIdCarousel", "Value=", ENDITEM,
"Name=homePage:appIcons:0:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:appIcons:1:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:appIcons:2:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:appIcons:3:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:appIcons:4:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:appIcons:5:AutoComplete_input", "Value=", ENDITEM,
"Name=homePage:toState", "Value=", ENDITEM,
"Name=homePage_SUBMIT", "Value=1", ENDITEM,
"Name=javax.faces.ViewState", "Value=I7RUZByoMGOK7cC+FmzU2vY4323FH1kyiR2/jz43rFGoza0NpKL4Y2yFcc+nWvpsG7G5J+Ozp1M4m2J4mVpcaG98KlJNnWB0Hc72+MGxyadZvaHLKGd/tqUQM64xsBgZswqzfT6e/kMo3J05", ENDITEM,
Used below correlation:
/*Correlation comment - Do not change! Original value='I7RUZByoMGOK7cC+FmzU2vY4323FH1kyiR2/jz43rFGoza0NpKL4Y6tfZOfS4TDTkUSIdJvtuNo4m2J4mVpcaDdYkcl6uT82IRSYC+BLzlsOaiN2k4ovfPYDyqo+18LcSVqKzyQDqXM4vLKQpqg014hApCnPPwdGjz6qbKMVOl5t2tox' Name ='javax.faces.ViewState_3' Type ='ResponseBased'*/
web_reg_save_param_regexp(
"ParamName=javax.faces.ViewState_3",
"RegExp=id=\"javax\\.faces\\.ViewState\"\\ value=\"(.*?)\"\\ ",
SEARCH_FILTERS,
"Scope=Body",
"IgnoreRedirections=No",
"RequestUrl=*/main*",
LAST);
Issue facing :
After every submit action for the URL for below
http://xxxxx/spring/main?execution=e1s1
e1s1 should become e1s2, e1s2 should become e1s3 and so on
But the issue we are facing is it is redircting to http://xxxxx/spring/main though it is correlated