Hi,
I am unable to find session value in server response. But, I am able to see the session value being passed as a argument in next request. I searched all pages in the server response(I mean Primary page, redirection page,css page etc.). What I observed in server reposne is some function is being called to get the random session value as below:
_____________________________________________________
<input type="hidden" id="sessionStr" name="sessionStr" />
function encryptSecurityfunction() {
var sessionStr = getSessionRandom();
var encPassword = verifyPass(req, password, sessionStr);
if (!encPassword){
return false;
}else {
theform.sessionStr.value = sessionStr;
return true;
_____________________________________________________
Session string is being passed in loadrunner request as below:
_________________________________
web_submit_data("some name",
...
ITEMDATA,
"Name=sessionStr", "Value=some alpha numeric value ", ENDITEM,
"Name=password", "Value=some password", ENDITEM,
LAST);
________________________________
How to resolve it?
Should I use any Javascript in the code for this?
I am using Web(Http/Hml) protocol(as C code) and will it support Java script code in it?
If I need to use Javascript, Please let me now How can I use it here.... I mean how can I capture that 'sessionstr' through code and pass it a parameter.
Thanks in advance.