LoadRunner?????????????
???????????? ???????[ 2016/11/16 11:25:00 ] ?????????????????? LoadRunner
????LoadRunner?? Analysis ?? Controller ?? Virtual User Generator
?????????????????????? ????? ?? ???????м???????? ?? ?????????? ??
????????LoadRunner????????????????Run-Time Setting???????ó?????? HTTP-request connect timeout(sec) ?? HTTP-request receive timeout(sec) ?? Step download timeout???? ??
?????????????????????????????????????????
????????
????????????Σ?
????1??????????????? ???? ??????????????Χ??
????2???????????????????????????
????3??????????????????????????????????????????÷???????????????????????
????4?????????Э??????????????
????5??????????????壻??????????????????????????????????????????????壬???????????
????????????????
????1???????????????????????????????????漰????????????????????????????????磺??μ??????????
????2?????????????
????3????????????????????????????????
??????????н?Σ?
????1?????????
????2??????????
????3????г?????
????4???????????????????????
?????????????Σ?
????1???????????????
????????????? ??
????????5???????????????????????庬??
????????
?????????????????????????????в?????????????????????????
???????????????????????????????в?????
??????????????
??????client????????????????????????
??????????client????????+??????????+Server????????
??????????????????
??????????????????????????????????????????????
????TPS??Transaction Per Second??
???????????????????????????????????????????????????????????TPS??LoadRunner?????????????????
??????????Hit Per Second??
??????????HTTP????????????????????Server????????
?????????????
???????????????ó?????CPU??I/O????棬……
????д??5??Loadrunner?г??ú?????????????2??????????÷???
????????
?????????????
????strcpy(str??”Hello “) ;
?????????????
????strcat(str??”World !”);
????lr_message(“str: %s”??str);
????sprintf(s?? “%s love %s.”?? “I”?? “ocean”); //??????”I love ocean. ”
??????????????????????str????浽????Param??
????lr_save_string(str??”Param”);
????????????
????lr_save_string(lr_eval_string(“{Param}”)??”Param_1″);
??????????????
????strcpy(str1??lr_eval_string(“{Param_1}”));
????????LoadRunner?????????
???????? loadrunner?????????????URL????ó???????????????????????????????????????????????Agent???????????????????????ж??????????Щ?????????????????????????????????????????????????????????????
????LaodRunner?????action()??init??end()?????????????????????
???????? ???????????Action ?????vuser_init??vuser_end ?в?????????action()??init??end()??????????????
???????????????ü???????????壿LoadRunner?????ü???????????????
???????? ????????????????????????????????У??????????????????1000 ?????????????LoadRunner ?п??????????????????????????????????????????е???????????????LoadRunner ???????ж?????????е?????????????1000 ???LoadRunner ????????????????????????????????????????????1000 ?????LoadRunner ????1000 ?????????????????????????
???????????????????????????????????????????棬???????????Action ?????vuser_init??vuser_end ?в???????????????????£?lr_rendezvous(“SubmitData”)
???????Web??????????????д??????????ν????
?????? ?? ????????????????????????Record-Options??????Advanced?????????”Support charset”?????????????UTF-8?????????????????????????????
????HTML-based script??URL-based script????????????
???????? ???”HTML-based script”???????????VuGen?????????HTML???????????????裬?????????????????????”URL-based script”??????????VuGen???????????????????????????????????????HTTP??????????????????????????????????
????????????????????Web???????”HTML-based script”???????????????л??????????Web??á?Web????а???????????????н?????Java Applet?????????????????а????????????????????JavaScript/VBScript?????????????????????????HTTPS???Э?飬??????”URL-based script”??????????
???????LoadRunner???????????????????????????????????????????????????????
???????? ??????????????????????????·????????????:
??????????????think time???????????а????????????think time???transaction???????
????Controller??Run-Time Setting??Pacing????????
??????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11