我的地盘我做主!
博客:http://tester2test.cnblogs.com/
msn:win_soft@163.com
如何用命令行执行loadrunner的脚本
上一篇 /
下一篇 2007-06-07 14:30:40
/ 个人分类:其他
@n*mI+|C.EA0SET M_ROOT=D:\Mercury Interactive\Mercury LoadRunner\bin51Testing软件测试网.\ I?wNZ
cd %M_ROOT%
5? z9uZph0wlrun.exe -TestPath D:\ceshi10\ScenarioNo1.lrs -port 8080 -Run -DontClose 51Testing软件测试网RL2k-t
O1T
o:jY'd P
d~skD6g0其中D:\Mercury Interactive\Mercury LoadRunner\bin 是安装目录
~M"~`-d
A0D:\ceshi10\ScenarioNo1.lrs是脚本目录51Testing软件测试网y,t!yM:w
DontClose 脚本运行完不关闭控制器,
ftA;N!_Dn1~0
,f0x0JSz0}0以上是批处理51Testing软件测试网U;K9D5et7l1E#Z"Wp
把批处理加到 windows的任务计划里,设置好运行时间,就可以了 mSCs+r!TG;^7N0ex
^r%K6iW"WYj0This means the Controller can be started from a DOS batch (.bat) file (preferrably with a short name on a root drive):
I)_T7TW/QG X0S&d3h(wB-K0Rg6Q%k VQ9t051Testing软件测试网`5[.QU)X"[)J{3@Link URL:
http://www.cnblogs.com/tester2test/archive/2006/06/06/418877.html
收藏
举报
TAG: