??????????????????java vuserЭ?????ú?????????????
????LoadRunner??????????????
????1?????????????java vuserЭ?顣????????
import lrapi.lr;
public class Actions
{
//??init?????????д???????????????????ε????????????Э??д?????棬???????????Э????????????Э???Ч??
public int init() throws Throwable {
return 0;
}//end of init
//??aciton?????????д????????????????????罻??????????run_time settings????????????????
public int action() throws Throwable {
return 0;
}//end of action
//??end?????????д?????е??????????????????п????д??
public int end() throws Throwable {
return 0;
}//end of end
}
????2?????????????????????д?????????????????
????1??????????????ζ????????磺Random rd = new Random();????init??aciton??end????????????????????д???????????????????????????????HTTP??????????????????????????????????????????????????????????????????д????μ?????????????в???????
????2???????д????????y??????import?????jar???????????????£????Run Time Settings??classpath????????jar???????????
????3?????н?????????????????У???????????????????
????4???????????????????仯??????в????????????????AESKEY??????????????replace with a parameter????parameter list??????????????????????AESKEY??????????????????????select next row???unqie??update value on???once??????????????????aeskey??select next row???same line as merchant??
????5????????????????????????????????????????????????????lr.start_transaction("pay");lr.end_transaction("pay"?? lr.AUTO);??????????????????????????????????????Щ?????????????????????????????????????????
????6??????????????У???????????????lr.rendezvous("pay");???????????????е???????е?????????????????????????????????С?