51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

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

[原创] 回放时出现错误-26612 -26388

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-10-26 11:26:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
错误如下
Action.c(143): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://172.16.200.115:8888/enet/business/articledispatcher/gdsrcvbook/listGdsRcvBook.action?stateFlag="          [MsgId: MERR-26612]
Action.c(143): web_url("物品代收") highest severity level was "ERROR", 6525 body bytes, 182 header bytes          [MsgId: MMSG-26388]

按照网上说的一些方法试过都没用(如改用URL-based等),请各位大侠指点...

Action()
{

        lr_start_transaction("login");

        lr_think_time(33);

        web_submit_data("loginSysOperInfo.action",
                "Action=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://172.16.200.115:8888/enet/",
                "Snapshot=t16.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=loginOperId", "Value=000001", ENDITEM,
                "Name=loginPwd", "Value=123456", ENDITEM,
                "Name=vercode", "Value=7386", ENDITEM,
                LAST);

        web_concurrent_start(NULL);

        web_url("colorbox.css",
                "URL=http://172.16.200.115:8888/enet/styles/colorbox.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t17.inf",
                LAST);

        web_url("jquery.min.js",
                "URL=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t18.inf",
                LAST);

        web_url("jquery.colorbox.js",
                "URL=http://172.16.200.115:8888/enet/js/colorbox/jquery.colorbox.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t19.inf",
                LAST);

        web_url("colorbox_example.js",
                "URL=http://172.16.200.115:8888/enet/js/colorbox/colorbox_example.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t20.inf",
                LAST);

        web_url("avatar_img.png",
                "URL=http://172.16.200.115:8888/enet/images/avatar_img.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t23.inf",
                LAST);

        web_concurrent_end(NULL);

        web_concurrent_start(NULL);

        web_url("nav_bg.png",
                "URL=http://172.16.200.115:8888/enet/images/nav_bg.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t21.inf",
                LAST);

        web_url("tagleft.png",
                "URL=http://172.16.200.115:8888/enet/images/tagleft.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t22.inf",
                LAST);

        web_concurrent_end(NULL);

        web_concurrent_start(NULL);

        web_url("sidebar_box_bottom.png",
                "URL=http://172.16.200.115:8888/enet/images/sidebar_box_bottom.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t24.inf",
                LAST);

        web_url("sidebar_box_content.png",
                "URL=http://172.16.200.115:8888/enet/images/sidebar_box_content.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t25.inf",
                LAST);

        web_url("tagright.png",
                "URL=http://172.16.200.115:8888/enet/images/tagright.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t26.inf",
                LAST);

        web_url("controls.png",
                "URL=http://172.16.200.115:8888/enet/images/controls.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t27.inf",
                LAST);

        web_url("loading.gif",
                "URL=http://172.16.200.115:8888/enet/images/loading.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t28.inf",
                LAST);

        web_url("sidebar_box_top.png",
                "URL=http://172.16.200.115:8888/enet/images/sidebar_box_top.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t29.inf",
                LAST);

        web_concurrent_end(NULL);

        lr_end_transaction("login",LR_AUTO);

        lr_start_transaction("list");

        lr_think_time(43);

        web_url("物品代收",
                "URL=http://172.16.200.115:8888/enet/business/articledispatcher/gdsrcvbook/listGdsRcvBook.action?stateFlag=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://172.16.200.115:8888/enet/loginSysOperInfo.action",
                "Snapshot=t30.inf",
                "Mode=HTTP",
                LAST);
......
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2010-10-26 13:40:40 | 只看该作者
"Name=vercode", "Value=7386", ENDITEM, ,这行是否是验证码?
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2010-10-26 13:43:55 | 只看该作者
验证码这块没有通过,虽然这段代码loadrunner算是通过了,但是程序判断是没有通过的,你的验证码每次登陆时候都是从新生成的。这就导致你登陆没有成功造成后便的操作(物品代收)功能500错误,建议对验证码进行处理,编程或是引用dll不嫌麻烦的话,如果项目紧急,可以让开发工程师临时使用万能验证码的方式或是屏蔽处理。验证码的性能应该不会影响很大。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2010-10-26 15:26:48 | 只看该作者
回复 3# androidone

是有验证码呢,多谢多谢~
回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2022-5-8 19:23
  • 签到天数: 137 天

    连续签到: 1 天

    [LV.7]测试师长

    5#
    发表于 2010-10-26 21:08:03 | 只看该作者
    要去掉或搞个万能的验证码
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-5-25 02:49 , Processed in 0.082553 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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