我的地盘我做主!
博客:http://tester2test.cnblogs.com/
msn:win_soft@163.com
如何用命令行执行loadrunner的脚本
上一篇 /
下一篇 2007-06-07 14:30:40
/ 个人分类:其他
51Testing软件测试网ul Mnjx.uwR
c
SET M_ROOT=D:\Mercury Interactive\Mercury LoadRunner\bin51Testing软件测试网 e$I B%haA
cd %M_ROOT% 51Testing软件测试网0|(~"g7unoD+V'^
wlrun.exe -TestPath D:\ceshi10\ScenarioNo1.lrs -port 8080 -Run -DontClose 51Testing软件测试网:DhpZ
[/c5H(q,I
51Testing软件测试网VU'sQ
NyF
其中D:\Mercury Interactive\Mercury LoadRunner\bin 是安装目录51Testing软件测试网'_
I6EhKn/R_P
D:\ceshi10\ScenarioNo1.lrs是脚本目录
$XR#\;e q3px0DontClose 脚本运行完不关闭控制器,
%j"l:l?a1P5Re0
%a3oq{+l.j]!X1ia)dtz0以上是批处理
r V'w8}!t2D5v3g0把批处理加到 windows的任务计划里,设置好运行时间,就可以了 51Testing软件测试网Y5bBN$OefZ51Testing软件测试网gR'B;?u0xcaThis means the Controller can be started from a DOS batch (.bat) file (preferrably with a short name on a root drive):
X0\"R'f1P0L%Py/a051Testing软件测试网:d`
q0\4@G2N_1o
r)u/Re}1^kh(TZ051Testing软件测试网wkR{b#`0~6?Link URL:
http://www.cnblogs.com/tester2test/archive/2006/06/06/418877.html
收藏
举报
TAG: