????2)??????????й????????????????????????????У?

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

??????????????????MI?????loadrunner???????????????????VU Generator(???????)?н??С?

????????????????????????????????????????????????????????????????????????????????????????Χ?????????з???????????

????????????????????????????????????????л??????????????????socket client???????????socket server???????????????????????????????????????????y??????java socket?????????????????????????????????????loadrunner????С???????????????????IE???渴???????????????????????????????????????????????в???????????????????????????????????

???????????????????????socket?????????????????????????????????????ü????????????????к???????????????????????

???????????????????????????£?

????public class Actions {/*????????????*/ProtocolManager protocol;//ProtocolManager????socket??????? ServiceName service; //ServiceName????????????????????????IP?????????LoginMessage login??//LoginMessage?????????????????????????????????????????????????????????protocol = new ProtocolManager(); //????ProtocolManager???protocol????service = ServiceName.getInstance();//???ServiceName?????login=new LoginMessage();//????LoginMessage???login????service.setIP("200.31.10.18");//???÷?????IP???service.setPort(17777);//???÷????????/*?????????*/ login.serUserName(lr.eval.string(??{loginName}??));//?????????????????????????login?????????login.setPasswd(??1234??);//???????????????????1234/*?????????*/protocol.login(login);//?????????lr_start_transaction("trade");//????????TradeMessage trademessage;//??????????/*???y??????*/

????????????????????????.

????????????????????????.

????/*??????????*/

????????????????????????.

????????????????????????.

????if(sendfail)lr_end_transaction("trade"?? LR_FAIL);//???????????????????????????????/*??????????????????????*/

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

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

????if(recievefail)lr_end_transaction("trade"?? LR_FAIL);//????????????????????????????????????????if(recievesuccess)lr_end_transaction("trade"?? LR_PASS);//?????????????????????????????????????????

????????????????????????..

????}

????????????????У?????????????????????transaction?????????????????????????????????y???????????loadrunner???????????????????????????????????????????????????ò?????????????????????????????socket??????ж??

?????????????????????loadrunner??????????http??web????????????????????????????????????????д?????????????????????????????loadrunner????С???????????????????????http????????????????????????????в????????д??????????????

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

?????????????????У????????????????????o???У???????????????????????????????????????????????????????λ??

????A:??????????????

???????????750???/????????????????30???????????????£????????????750???/????????????????1?????????750????????????????????Ч??????????????????????????????????????????????????????????????????μ?????????

??????????????????loadrunner???????13?????????????socket????????1?????????????????????????750?????????????????????????????????750????????????????????????????????????????????????????????????????????30?????????????????????????????

????????????????????????????????????????????????????????в?????????????????????????????????????????????????????????loadrunner????????????????????????????????????????????????????????????

????B:??????????????????????

??????????????????????????????????????????????????????????????????????????????????£?

??????loadrunner?У?????goal-orented????????????400??/?????????????????loadrunner?????????????

????C: ???????

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

???????????????????????loadrunner?е?Controller??????????ɡ?

????????????????????????????????????廯??????????

???????????????в?????????????????????????

??????loadrunner?е?controller?п???unix?????????????weblogic????????DB2??????????????????????????????????????????????????????

???????????????????????????loadrunner?????е?Analysis????????????á?

????A: ???????????

???????????????????????loadrunner???????????????????????????????????????Σ????????


??? 2??????????????

?????????????????????????????????????????????????????????????????????????ü?????loadrunner?????????á?

???????????????????????????????????????????????£?????????????????????????????????

??????????н?????£?


???3????????????????????

????B: ???????

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

?????????????£?

?????????????????????????????????????????????????????Χ??????????????????????????????????????

??????????????????????????????????IE????????????????е???????????????????????????????????????????????????????????????????????κ??????????????????????

?????????????????????????????????????????????????????????????????????????????λ?????????????????????????????????????????????????????????????????????????????顣

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

??????????????????????????????У???????????????????

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

??????????

???????????????????δ????????????????????С?

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

????A:??????????????

????????????????????????????????????ó????μ?????

???????????????????????????750???????????????????????????????????490????????????????????£??????????????????Χ????

????????????????????????????122???????

????B: ???????????????????????????

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????·???????????????????????????????????????????????????????????????????ɡ???????????java applet?????й??

????C: ????????????????

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

???????????????????У????????????????????????Σ??м?????????????ε????????????????????????????????????????????????????????м?????????????????????????????

???????

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

??????????

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

????2.????????????????

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????β????????????ū????Щ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????е????????????????????????????????????????????????????????棬????????????磬??????????Ч???????????????塣

????3. ???????????????????????

???????????????????????????????????и??????????????????????????????????????????????????????????????????漰??????????????????????????á???????????????е?????????????????????????????????????????????μ??????

????4. ???в?????????????????????

??????????????????У?????????ò???????????????е??κ??????????????ó????????????????????????????????????????磬web??????????÷????????????????з???????????????????????????м??緢???????????

????5. ????????????????????????

???????????????????????????????????????????????λ????????????????????????????????????????ζ????????????м??????????????????п???????????????У????????????????е???????????????????????????????????????????????????????????

?????????????????????У????????????????????????????????е???????????Щ?????Щ????????????????????????????????????????????????????????·?????????????????????ο??й?????????????????

?????1??????????????????У????漰???????????????????????????????????????????????????

?????2??loadrunner?????????????????н???????????????????