????3.2.1.3. lr_rendezvous

???????????Vuser????????ü????

??????ó?????????????

?????????????3.0???????????100??????????????????????????????????lr_rendezvous??????????????????ü????????

??????????????????????????????????????????ò?????ü???????????????????????????ЩVUser?????????????????????з???????????е???????2????????????????????????????????????????????????????????

????3.2.2.??????/????

????3.2.2.1.lr_save_string/lr_save_int

??????????????????/??????????????

??????ó??????Щ??????????C???????????????????????????Щ??????

?????????????3.0???????????????????????????????????????????C??????????ɡ?????????????????staff_no??staff_name?????У????????п??????lr_save_int(staff_no??"staffno")??lr_save_string(staff_name?? "stafffname")???????????????????

???????????

????3.2.2.2.web_reg_save_param

?????????????????????????в???????????????????????????????????????????????С?

??????ó??????B/S????C/S???У????????????????????????Щ?????????????????????????У?????????????????????????ù??????????????

?????????????3.0????????????????????ζ?????????д???????????????????????????????????????????????URL??????URL?е?parameter??????????????ν????????????????????п???????????????????????????URL????????????URL???????????????????????????HTML??????????

????<a href="#"onclick="javascript:openseviceforprocess('/iwflow/FindJspID.jsp?serialNo=2008092200000033&serviceID=0099&nodeID=140004&dealID=2008092200000056&hisFlag=0&skillID=020401&

dealSkillID=020101&dealStaff=1200'??'false');">

????????????????????????????????

????web_reg_save_param("tt_url"?? "LB=javascript:openseviceforprocess('"??"RB='??'false')"?? "Ord=1"??"IgnoreRedirections=Yes"?? "Search=Body"??"RelFrameId=1"?? LAST );

???????н????tt_url??????

????/iwflow/FindJspID.jsp?serialNo=2008092200000033&serviceID=0099&nodeID=140004&dealID=2008092200000056&hisFlag=0&skillID=020401&

dealSkillID=020101&dealStaff=1200

???????URL??????????????URL??????URL????????????

????????

??????1??LoadRunner?????????????????HTTPЭ??????????HTML???????????????????HTML????????????????????????????????????????????

??????2????????????????????????????????У??????????ORD????????ALL????????“{??????_1}”?? “{??????_2}”?? “{??????_3}”??????????????????

??????3???ú????????????NOTFOUND???????ERROR?????????????????????????????????????????????????????????????????????NOTFOUND??????????WARNING??????LoadRunner????????????

????3.2.2.3.lr_save_searched_string

??????????????????????????????????????????????????????????????????С?

??????ó?????????LoadRunner????????????????????????????????

?????????????3.0????????????????????ζ?????????д????????????????????URL????????????????tt_url?????У?????????????????????serviceNo??serviceID??nodeID??dealID??tt_url??????£?

????/iwflow/FindJspID.jsp?serialNo=2008092200000033&serviceID=0099&nodeID=140004&dealID=2008092200000056&hisFlag=0&skillID=020401&

dealSkillID=020101&dealStaff=1200

????????????o???????serviceNo??serviceID??nodeID??dealID?????

//????serialNo??serviceID??nodeID??dealID????
int getTTData(){
int i = 0;int j=0;
char *tt_url = lr_eval_string("{tt_url}");
int len= strlen(tt_url);
while(tt_url[i]!='='){i++;} while(tt_url[j]!='&'){j++;}
lr_save_searched_string(tt_url??len??0??"serialNo"??1??j-i-1??"serialNo");
i++;j++;while(tt_url[i]!='='){i++;} while(tt_url[j]!='&'){j++;}
lr_save_searched_string(tt_url??len??0??"serviceID"??1??j-i-1??"serviceID");
i++;j++;while(tt_url[i]!='='){i++;}  while(tt_url[j]!='&'){j++;}
lr_save_searched_string(tt_url??len??0??"nodeID"??1??j-i-1??"nodeID");
i++;j++; while(tt_url[i]!='='){i++;}  while(tt_url[j]!='&'){j++;}
lr_save_searched_string(tt_url??len??0??"dealID"??1??j-i-1??"dealID");
return 0;
}

??????????

????3.2.2.4.lr_save_datetime

???????????????????????

??????ó??????????????????????????????????

?????????????3.0????????????????????????????????????????? ?????????????????????lr_save_datetime?????

????lr_save_datetime("%y-%m-%d00:00"?? DATE_NOW-2*ONE_DAY?? "queryBeginTime");

????lr_save_datetime("%y-%m-%d23:59"?? DATE_NOW?? "queryEndTime");

??????????