51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3195|回复: 5
打印 上一主题 下一主题

[求助] LR脚本回放时问题请教

[复制链接]
  • TA的每日心情
    奋斗
    2020-7-17 08:14
  • 签到天数: 9 天

    连续签到: 1 天

    [LV.3]测试连长

    跳转到指定楼层
    1#
    发表于 2012-5-10 18:03:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    以下为脚本回放的replay log.请大侠们帮我看看大致是哪方面的问题.
    谢谢了 很急的.
    Virtual User Script started at : 2012-05-10 17:46:19
    Starting action vuser_init.
    Web Turbo Replay of LoadRunner 11.0.0 for WINXP; build 9409 (Jan 11 2012 11:34:16)          [MsgId: MMSG-27143]
    Run Mode: HTML          [MsgId: MMSG-26000]
    Run-Time Settings file: "C:\Documents and Settings\lijing\Local Settings\Temp\noname13\\default.cfg"          [MsgId: MMSG-27141]
    Ending action vuser_init.
    Running Vuser...
    Starting iteration 1.
    Starting action Action.
    Action.c(4): web_submit_data("check_outchain.php") was successful, 21 body bytes, 196 header bytes, 15 chunking overhead bytes          [MsgId: MMSG-26385]
    Action.c(23): web_submit_data("check_outchain.php_2") was successful, 21 body bytes, 196 header bytes, 15 chunking overhead bytes          [MsgId: MMSG-26385]
    Action.c(42): web_add_cookie was successful          [MsgId: MMSG-26392]
    Action.c(44): Registering web_reg_find was successful          [MsgId: MMSG-26390]
    Action.c(50): Registering web_reg_save_param_ex was successful          [MsgId: MMSG-26390]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/CSS/LG/login.css" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/Css/IsUsb.js" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/WebResource.axd?d=2jY_LNCXT_ia-wZ9Gm98zWRBiVlqumnWeK6nlmXfGWk1&t=634593647720000000" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/WebResource.axd?d=2jY_LNCXT_ia-wZ9Gm98zaixZKxFl9s_AaZYPDP-wGiKuevkaQ2Rk0w3bpXHw6hy0&t=634593647720000000" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/ScriptResource.axd?d=3QYPzTWLubSCvCRCjpq7r7GZkVy7eo5eKaaTlDfPxK2WFXGbo0hkJOwdF3Oo9xED0&t=fffffffff9da21zh-CHS.js" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/CSS/DevTime/Images/login/icon1.gif" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/CSS/DevTime/images/Login/icon1.gif" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/CSS/DevTime/Images/login/point.gif" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/CSS/DevTime/Images/login/spacer.gif" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Found resource "http://10.35.2.248/esystem/Layout/BaseLayout/images/LoginButton.jpg" in HTML "http://10.35.2.248/esystem/Layout/BaseLayout/Login.aspx"          [MsgId: MMSG-26659]
    Action.c(60): Error -35061: No match found for the requested parameter "Siebel_Analytic_ViewState1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-35061]
    Action.c(60): Error -26366: "Text=
            ?E??
    " not found for web_reg_find          [MsgId: MERR-26366]
    Action.c(60): web_url("Login.aspx") highest severity level was "ERROR", 156322 body bytes, 3255 header bytes          [MsgId: MMSG-26388]
    Ending action Action.
    Ending iteration 1.
    Ending Vuser...
    Starting action vuser_end.
    Ending action vuser_end.
    Vuser Terminated.
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2012-5-10 20:47:11 | 只看该作者
    红字是关联没做好。web_reg_save_param,查查左右边界,一般是左右边界设定错误
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2020-7-17 08:14
  • 签到天数: 9 天

    连续签到: 1 天

    [LV.3]测试连长

    3#
     楼主| 发表于 2012-5-10 22:20:50 | 只看该作者
    回复 2# jj_ljw


        你好,我的脚本里录制的只有函数web_reg_save_param_ex()
    没有web_reg_save_param() 请问是什么原因
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    4#
    发表于 2012-5-10 23:00:38 | 只看该作者
    你的自动关联错误的关联了数据,导致脚本运行的时候关联不到正确的内容出错了,当然这个问题很基础,我估计你没怎么认真看过书
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5#
    发表于 2012-5-11 10:00:38 | 只看该作者
    lr11?
    手动改下关联函数的边界,看看取到你需要的值没
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2020-7-17 08:14
  • 签到天数: 9 天

    连续签到: 1 天

    [LV.3]测试连长

    6#
     楼主| 发表于 2012-6-9 17:13:27 | 只看该作者
    谢谢大家了,最后问题解决了:修改了函数的边界.
    回复晚了 对不住大家了.
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-20 12:54 , Processed in 0.070368 second(s), 25 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表