LoadRunner 多场景批处理

时间:2023-03-08 20:53:44

@echo off

echo *********************************
echo ****多场景测试*************
echo *******************************

cls
color 2f
SET M_ROOT="cls
SET M_ROOT="C:\Program Files (x86)\HP\LoadRunner\bin\"
echo ******************增加 场景执行开始******************
ping -n 10 192.168.8.195
%M_ROOT%\wlrun.exe -TestPath "E:\scenario\Base\Add.lrs" -Run
echo ******************增加场景执行完毕******************
ping -n 10 192.168.8.195
echo ******************查询场景执行开始******************
%M_ROOT%\wlrun.exe -TestPath "E:\scenario\Base\Query.lrs" -Run
echo ******************查询场景执行完毕******************