??????????????RecordingOptions??>??InternetProtocol??>??Correlation????????????????????塣
?????????????2??????RuleCorrelation??
????1. ????auto-correlation
????1) ???VuGen???Tools??>??RecordingOptions?????????RecordingOptions??????????????InternetProtocol??>??Correlation?????????Enablecorrelation during recording???????????????????
????2) ???????????????????????????????????AribaBuyer??BlueMartini??BroadVision??InterStage??mySAP??NetDynamics??Oracle??PeopleSoft??Siebel??SilverJRunner???????????????????
????3) ??????????????????????????μ?????????????????????????????
????2. ?????
???????????????????????У???VuGen?????????????????????????????趨???????????????????п??????????μ????????BroadVision??????????????????????????????????????????????????Ρ?
????3. ??н???????????OK???
????CorrelationStudio
?????????????????????VuGen???????????????RuleCorrelation????????????????????????????CorrelationStudio??????????
????CorrelationStudio????????????????????????????????????????????????????????????????????????
???????CorrelationStudio????????£?
????1. ??????????
????2. ???????VuGen????????????ScanAction for Correlation??????????????????????????????????????Yes???????
????3. ???????????????·????CorrelationResults???п???????????
????4. ?????????????????????????????????????Correlate?????????????????????????CorrelateAll????VuGen??ζ????е??????????????
???????????CorrelationStudio??????????б????????????????????е????????????????????????????????á?CorrelateAll????
????5. ???????????????????????1~4???????????????????????????????????????????????????????????????е????????????????????
???????????
???????????????й?????????£?
????1. ??????????????????????????????
????2. ???Diff??????????????Action.c??????????????????
????3. ???web_reg_save_param???????????????
????4. ???????????????????????????????
??????????????????vuser_init.c????С????????е??????????????WEB_URL()???????????б?????????????????????????????????
????LR?????????
???????ü????????£?
????1??web_find()????????? HTML ??????????????????????
????2??web_reg_find()??????????????????????????????????? web_url??????????HTML????????????????????????
????3??web_image_check()?????????HTML????в????????????
????4??web_global_verfication()???????????????????web?????????????????????????web_reg_find????????Action??????????????????????????????е?Action????????????????????????????
???????????????????????÷???
????1??web_find()??????????????
????web_find("web_find"??"RighOf=a"??"LeftOf=b"??"What=name"??LAST);
?????????????"web_find"????ò?????????????“LeftOf”??“RighOf=”?????????????????????磻“What=”????????????
?????????????????????е????????????в????????b???????a???????name???????
???????ú???????????ú??????????????е????????????????????????????棻?ú???????????HTML?????????н??в???
??????????????ú?????????Vuser->Run-Tme Settings?и?????????
???????Enable Image and text check
??????????????????????
????2??web_reg_find()??????????????
????web_reg_find("Search=Body"??"SaveCount=ddd"??"Test=aaa"??LAST);
????????????? Search????????????Χ??SaveCount????????????????????ò???????????????в??????????????????????????????ж???????????????????
?????????????????????е??????Body?в????????aaa??????????????????????????ddd?У?
?????????????web_reg_find("Text=PaymentDetails"??LAST);
?????????·??1.“Payment Details” ?????????????
????2. ?????е????????????????????????????????????????????????????????????????????????????
????3??web_image_check()?????????????
????web_image_check("web_image_check"??"Alt="??"Src="??LAST);
?????????????“Alt”??“Src”???????????????????????????????????
??????????????ú?????????Vuser->Run-Tme Settings?й??Enable Image and text check???????????web_find()?е???????
???????????????
????1?? ???д???????????????λ?????д??ú?????
????2?? ?????????????????λ?????INSERT????У????new step?????б??????????????????????????????д??????????
????3?? ??tree view???£???????????????????????λ???????????insert after??insert before???????????д??????????
???????
????1?? ??????????????????????WEB_FIND???????????WEB_REG_FIND?????????
????2?? WEB_FIND?????????????????????WEB_REG_FIND????д??????
????3?? WEB_FIND??????????HTML?????????У???WEB_REG_FIND??д??????
????4?? WEB_FIND????????????н???????????WEB_REG_FIND????????н??в????
????5?? WEB_FIND?????Ч???????WEB_REG_FIND??
???????web_concurrent_start????
??????????????HTML-based script?????url-based script????????ú????????HTML-based script?????
????LR?е???????????????
????Loadrunner??????C?????????????б??????????????????????????Vuser_init??Action??Vuser_end???????????????????????????????????á????????????????????????????