51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 5415|回复: 4
打印 上一主题 下一主题

[求助] loadrunner11录制玩脚本回放是出现错误。。。急~~

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-8-24 11:16:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Action.c(60): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.211:8100/cas/login;jsessionid=CED309AFC148A82E517CC19422443EC4?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal"          [MsgId: MERR-26612]
Action.c(60): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)          [MsgId: MWAR-26200]
Action.c(60): web_submit_data("login;jsessionid=CED309AFC148A82E517CC19422443EC4") highest severity level was "ERROR", 1239 body bytes, 463 header bytes, 12 chunking overhead bytes          [MsgId: MMSG-26387]

脚本如下Action()
{

        web_submit_data("check_outchain.php",
                "Action=http://qurl.f.360.cn/check_outchain.php",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/xml",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=urls", "Value=3fc00cb8ce573f701a310d5111c52bd1|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|18e0882e68853bdaa8e3cbb3ee5357f7\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
                "Name=src", "Value=addrbar", ENDITEM,
                "Name=product", "Value=wd", ENDITEM,
                "Name=combo", "Value=urlproc", ENDITEM,
                "Name=v", "Value=1", ENDITEM,
                "Name=vk", "Value=75ce766d", ENDITEM,
                "Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
                LAST);

        web_url("login",
                "URL=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t2.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=css/ie_cas.css", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
                "Url=css/main.css", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
                "Url=images/logins/login.jpg", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
                "Url=images/logins/bottom_09.png", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
                "Url=images/logins/bottom_10.png", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
                "Url=../favicon.ico", "Referer=", ENDITEM,
                LAST);

        lr_start_transaction("login");

        lr_think_time(19);

        web_submit_data("check_outchain.php_2",
                "Action=http://qurl.f.360.cn/check_outchain.php",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/xml",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=urls", "Value=f14f99b5ea40d90c72ddafea5a5422a7|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|e392fb155faa44b2463c25b6573bdad9\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
                "Name=src", "Value=addrbar", ENDITEM,
                "Name=product", "Value=wd", ENDITEM,
                "Name=combo", "Value=urlproc", ENDITEM,
                "Name=v", "Value=1", ENDITEM,
                "Name=vk", "Value=39680d7c", ENDITEM,
                "Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
                LAST);

        web_submit_data("login;jsessionid=CED309AFC148A82E517CC19422443EC4",
                "Action=http://192.168.0.211:8100/cas/login;jsessionid=CED309AFC148A82E517CC19422443EC4?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
                "Snapshot=t4.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=username", "Value=40101240", ENDITEM,
                "Name=password", "Value=1", ENDITEM,
                "Name=yzm1", "Value=6425", ENDITEM,
                "Name=submit", "Value=", ENDITEM,
                "Name=lt", "Value=_c6B50E99F-C89A-C0B7-3B5D-754AB0DB3027_kA31E0EF1-D115-F955-D0E2-4116E101E9E3", ENDITEM,
                "Name=_eventId", "Value=submit", ENDITEM,
                EXTRARES,
                "Url=http://192.168.0.225:8200/portal-core/themes/common/portlet-editor.css", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/common/tooltip.css", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/bg.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/01_03.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/head.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/jiao_05.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/navbg.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/line.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_03.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_05.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/an_03xiao.png", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/an_05da.png", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-left-vertical.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_07.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-right.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-left.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-right-vertical.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                "Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-middle.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
                LAST);

        lr_end_transaction("login",LR_AUTO);

        lr_think_time(36);

        web_submit_data("check_outchain.php_3",
                "Action=http://qurl.f.360.cn/check_outchain.php",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/xml",
                "Referer=",
                "Snapshot=t5.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=urls", "Value=c4553e9eedb405ff6f4b1e162de1c3f3|c42eba2117f6cabe685aee7107aaf076|d1c38a09acc34845c6be3a127a5aacaf|f419f324efc2e535137588e57ff690e4|3ded9569db4094413caf689b80e974b6|c42eba2117f6cabe685aee7107aaf076|58c3b3c7fbd5a6d2fd184fa93761a6f3\tZGxlYwR2BP4jYwVlAD==\n", ENDITEM,
                "Name=src", "Value=addrbar", ENDITEM,
                "Name=product", "Value=wd", ENDITEM,
                "Name=combo", "Value=urlproc", ENDITEM,
                "Name=v", "Value=1", ENDITEM,
                "Name=vk", "Value=bcbb9b7a", ENDITEM,
                "Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
                LAST);

        web_add_cookie("JSESSIONID=CED309AFC148A82E517CC19422443EC4; DOMAIN=192.168.0.211");

        web_url("signout;jsessionid=2B73DF80F1C8D306AA5A9E89AAD149F2",
                "URL=http://192.168.0.225:8200/portal/signout;jsessionid=2B73DF80F1C8D306AA5A9E89AAD149F2",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas",
                "Snapshot=t6.inf",
                "Mode=HTML",
                LAST);

        web_submit_data("check_outchain.php_4",
                "Action=http://qurl.f.360.cn/check_outchain.php",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/xml",
                "Referer=",
                "Snapshot=t7.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=urls", "Value=3fc00cb8ce573f701a310d5111c52bd1|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|18e0882e68853bdaa8e3cbb3ee5357f7\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
                "Name=src", "Value=addrbar", ENDITEM,
                "Name=product", "Value=wd", ENDITEM,
                "Name=combo", "Value=urlproc", ENDITEM,
                "Name=v", "Value=1", ENDITEM,
                "Name=vk", "Value=75ce766d", ENDITEM,
                "Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
                LAST);

        return 0;
}
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2012-8-24 15:29:34 | 只看该作者
没有关联
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2012-8-27 16:05:36 | 只看该作者
给个建议,把360卸载了吧。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2012-10-22 11:03:31 | 只看该作者

RE: loadrunner11录制玩脚本回放是出现错误。。。急~~

我回放脚本时报这错:。请教怎么处理,脚本如下:
Action.c(458): Error: Failed to end Transaction "诚信信息录入结束" (by name). Please check that you made a call to start transaction operation.

Error: Vuser started transaction "诚信信息录入开始", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2012-10-22 11:11:34 | 只看该作者
出错处脚本是:
脚本在附件txt里面。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-9 05:59 , Processed in 0.063815 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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