lijingprince5 发表于 2012-5-10 11:12:49

录制web系统上传功能的性能测试脚本,回放时出现了错误

我用的是loadrunner11,由于是新手对脚本的分析能力有限,先把脚本内容和回放日志贴上,还望高手指点一下呢.

guchenggao 发表于 2012-5-10 17:24:05

脚本啥的呢

lijingprince5 发表于 2012-5-10 22:27:35

回复 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)         
Run Mode: HTML         
Run-Time Settings file: "C:\Documents and Settings\lijing\Local Settings\Temp\noname13\\default.cfg"         
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         
Action.c(23): web_submit_data("check_outchain.php_2") was successful, 21 body bytes, 196 header bytes, 15 chunking overhead bytes         
Action.c(42): web_add_cookie was successful         
Action.c(44): Registering web_reg_find was successful         
Action.c(50): Registering web_reg_save_param_ex was successful         
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"         
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"         
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"         
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"         
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"         
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"         
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"         
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"         
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"         
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"         
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         
Action.c(60): Error -26366: "Text=
      ?E??
" not found for web_reg_find         
Action.c(60): web_url("Login.aspx") highest severity level was "ERROR", 156322 body bytes, 3255 header bytes          Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

lijingprince5 发表于 2012-5-10 22:28:19

上面是replay log,粉色是错误的地方,还请指正,谢谢

guchenggao 发表于 2012-5-11 15:57:57

今天我也遇到35061的错误,我问开发了,viewstate没有变化,我的做法是:直接在录制的时候不要将它设置成自动关联,然后就OK了

lijingprince5 发表于 2012-6-9 17:14:41

谢谢大家了,问题解决了,扩大函数取值边界就OK了.
回复晚了 对不住各位了.

让爱一起飞 发表于 2012-9-8 14:16:26

回复 6# lijingprince5 请问怎么扩大取值边界啊,我也遇到了这个问题,我是初学者
页: [1]
查看完整版本: 录制web系统上传功能的性能测试脚本,回放时出现了错误