zoukankan      html  css  js  c++  java
  • loadrunner 立即执行+定时执行设置

    1)         立即执行:

    控制台->Design模块->start scenario  或者  控制台->Run模块->start scenario

     

     

    2)定时执行单个方案:

    a. 配置:控制台->Design模块->Scenario Schedule-> Scenario Start Time

    b. 启动:点击start scenario按钮(千万别忘了!!否则是只是配置不启动!),此时Run模块界面弹出倒计时信息弹窗,表示定时成功。

     

     

    3)         定时执行多个方案:

    a. 创建批处理文件start.bat,示例内容如下:

    cls

    SET M_ROOT="C:Program Files (x86)HPLoadRunnerin"

    %M_ROOT%Wlrun.exe -TestPath "D:20201215IElr-resusltmultiusersFaQiShenPiBiaoDan_multiuser.lrs" -Run

    %M_ROOT%Wlrun.exe -TestPath "D:20201215IElr-resusltmultiusersFaQiShenPiBiaoGe_multiuser.lrs" -Run

    %M_ROOT%Wlrun.exe -TestPath "D:20201215IElr-resusltmultiusersFaQiShouJiBiaoDan_multiuser.lrs" -Run

    b. 确认window定时服务启动:控制面板->管理工具->服务->确认Task Schedule已启动

    c. 创建定时任务:控制面板->管理工具->任务计划程序->创建基本任务

         

     

     

     

     

     

    注意说明:

    1、  在Result Settings中设置“Automatically create a results directory for each scenario execution”,以免后面的测试结果覆盖了前面的。

    执行顺序将按照批处理文件中的脚本顺序执行,每执行完一条后Controller会自动关闭并按照预设的Result Settings保存执行结果,然后执行下一条。

  • 相关阅读:
    脑子好,蹦两下!程序员应该玩的小游戏
    推荐博客备份软件blog_bakcup
    经验(转)
    as super
    ActionScript工程如何使用Flash CS的fl包中的UI组件(转)
    astar(转)
    GROUPING,ROLLUP和CUBE(转)
    什么是分区表?为什么要用分区表?如何创建分区表?
    Flash player 详解(zhuan)
    jsfl(转)
  • 原文地址:https://www.cnblogs.com/apple2016/p/14168596.html
Copyright © 2011-2022 走看看