51Testing软件测试论坛

标题: 录制web系统上传功能的性能测试脚本,回放时出现了错误 [打印本页]

作者: lijingprince5    时间: 2012-5-10 11:12
标题: 录制web系统上传功能的性能测试脚本,回放时出现了错误
我用的是loadrunner11,由于是新手对脚本的分析能力有限,先把脚本内容和回放日志贴上,还望高手指点一下呢.
作者: guchenggao    时间: 2012-5-10 17:24
脚本啥的呢
作者: lijingprince5    时间: 2012-5-10 22:27
回复 2# guchenggao


    不好意思了: 录制的脚本太长了,错误只有2个:
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.
作者: lijingprince5    时间: 2012-5-10 22:28
上面是replay log,粉色是错误的地方,还请指正,谢谢
作者: guchenggao    时间: 2012-5-11 15:57
今天我也遇到35061的错误,我问开发了,viewstate没有变化,我的做法是:直接在录制的时候不要将它设置成自动关联,然后就OK了
作者: lijingprince5    时间: 2012-6-9 17:14
谢谢大家了,问题解决了,扩大函数取值边界就OK了.
回复晚了 对不住各位了.
作者: 让爱一起飞    时间: 2012-9-8 14:16
回复 6# lijingprince5 请问怎么扩大取值边界啊,我也遇到了这个问题,我是初学者




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2