欢迎来到天天文库
浏览记录
ID:39357029
大小:492.27 KB
页数:13页
时间:2019-07-01
《Chapter 7 JSystem Agent》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Chapter7JSystemAgent➣Inthischapter…JSystemAgentPage2InstallingandRunningtheJSystemAgentPage2WorkingwiththeJSystemAgentPage3DistributedExecutionPage6WorkingwithaDistributedSetupPage7Page9AssignationNotesPage10RunningaDistributedScenarioPage11AnalyzingResultsPage12DisablingaDistributedExecutionPage
2、127.1JSystemAgentJSystem5.0representsthefirstinstallmentintheconversionoftheJSystemapplicationFrameworkfromadesktopapplicationintoafullclientserverapplication.TheJSystemJRunnerhasundergoneaninfrastructuralalterationinordertoenabletheseparatingoftheexecutionengineandJRunnerUI.7.2InstallingandRunni
3、ngtheJSystemAgentInordertoinstallandactivatetheJRunnerAgent,runthe“runAgent.bat”batchfile.·runAgent.bat(runAgentforLinux)–activatestheJRunneragent.TheJRunneragentisaconsoleapplication(noUI).TheagentcanbeactivatedandcontrolledviatheJRunnerUIorbynativejavaJConsoleapplication.·runBase.bat(runBasefor
4、Linux)–basescriptfileusedbytherunandrunAgent.(Runsinthebackgroundonthemachine).·InstallJSystemAgent-NT.bat–scriptinstallstheJRunneragentasaserviceonawindowsmachine.IssuestonotewhenworkingwithJSystem’sJAgent:InordertoinstalltheserviceonWindowsVistathescripthastobeactivatedbythesystemadministrator
5、.Inorderfortheservicetoworkproperly,theJAVA_HOMEenvironmentvariablemustbedefined.ActivatingtheJRunneragentasserviceonLinuxispresentlynotsupported.Note:WhenworkingwiththeJRunneragent,makesurethattheinstallationpathdoesnothavespacesinit(forexample,don’tinstallJSystemonc:ProgramFiles...).7.2.1Co
6、nfiguringtheJSystemAgentTheJSystemagentsupportsallJSystempropertiesthatarerelatedtotestexecutionsforexample,run.modeandtest.vm.params.Thesepropertiescanbealteredbychangingthe“jsystem.properties”file.Relevantagentparameters:·RMIport–The(RemoteMethodInvocation)RMIisthemainprotocolusedforconnectinga
7、ndactivatingtheagent.TheRMIserverportcanbeconfiguredintherunAgentscriptfileorinthe“wrapper.conf”filefortheagentservice.Thedefaultportis8999.·Webport–TheJRunneragenthasanembeddedtomcatservletthatenablesaccessingHTMLrepo
此文档下载收益归作者所有