Loadrunner??web??????JavaVuser???
???????????? ???????[ 2015/7/13 9:26:08 ] ??????????????????
????????web???????????????в??????????????????????????????2??裺
????1)????????web???????????????浽web.txt??
????2)?????綨???????????{}???????<>????????????????????????
????3)??CMD
????4)?л??? C:Program FilesHPLoadRunnerdat
????5)???? ..insed -f web_to_java.sed c:web.txt > c:java.txt
????6) ???JavaVuser????????java.txt???????????actions???????
????7)???′?????????????????
????8)?????????????????????????
????web??
????web_reg_save_param_ex(
???? "ParamName=CorrelationParameter_2"??
???? "LB=Thank you?? <b>"??
???? "RB=</b"??
???? SEARCH_FILTERS??
???? "Scope=All"??
???? "IgnoreRedirections=Yes"??
???? "RequestUrl=*/login.pl*"??
???? LAST);
??????滻JavaVuser??
???? _webresult = lrapi.web.reg_save_param(
???? "CorrelationParameter_1"?? new String[]{
???? "LB=Thank you?? <b>"??
???? "RB=</b"??
???? LAST});
????9)???????????????????web???????C?????????Java????
????web:
????lr_output_message("Username is: %s"?? lr_eval_string("{userName}"));
??????滻JavaVuse:
????lr.output_message("Username is:"+lr.eval_string("<userName>"));
????????C??Java????????????????????????????????????
????????????????JavaVuser?????????????????
??????
???·???
??????????????????
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