51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1319|回复: 1
打印 上一主题 下一主题

[原创] 27979 的问题,已经关联了,但是还是提示错误!在线等

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-12-23 16:27:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我已经设置关联了,还是出现了27979的问题,找不到表单  下面是脚本,有知道的大侠,麻烦给解答一下啊

Action()
{

        web_set_max_html_param_len("1652");

        // [WCSPARAM WCSParam_Diff1 32 54ABABA695FCED3551D94332357F424F] 参数 {WCSParam_Diff1} 由 Correlation Studio 创建
        web_reg_save_param("WCSParam_Diff1",
                "LB=jsessionid=",
                "RB=\"",
                "Ord=1",
                "RelFrameId=1",
                "Search=Body",
                "IgnoreRedirections=Yes",
                LAST);

        web_url("vams",
                "URL=http://127.0.0.1:8888/vams/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "URL=images/back2.gif", ENDITEM,
                "URL=images/back3.gif", ENDITEM,
                "URL=images/back4.gif", ENDITEM,
                LAST);
        lr_think_time(9);

        web_submit_form("login.faces;jsessionid={WCSParam_Diff1}",                "Snapshot=t2.inf",
                ITEMDATA,
                "Name=login:userName", "Value=admin", ENDITEM,
                "Name=login:password", "Value=admin123", ENDITEM,
                "NamePfx=login:j_id_jsp_", "Value=16", ENDITEM,
                "NamePfx=login:j_id_jsp_", "Value=14", ENDITEM,
                EXTRARES,
                "URL=images/top.jpg", "Referer=http://127.0.0.1:8888/vams/header.jsp", ENDITEM,
                "URL=images/tu.gif", "Referer=http://127.0.0.1:8888/vams/header.jsp", ENDITEM,
                "URL=images/top1.jpg", "Referer=http://127.0.0.1:8888/vams/header.jsp", ENDITEM,
                "URL=images/tu4.gif", "Referer=http://127.0.0.1:8888/vams/SysManager/bulletin.faces?bbstype=2", ENDITEM,
                "URL=images/agent.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/plus.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/main.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/join.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/line.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/joinbottom.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/huang.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/order.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/query.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/acct.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/orderlist.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/stat.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/telestat.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/agentstat.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/plusbottom.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/empty.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/operator.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/role.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/sys.bmp", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/news.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/logout.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                "URL=images/minus.gif", "Referer=http://127.0.0.1:8888/vams/menu.faces", ENDITEM,
                LAST);


        web_url("AgentQry.faces",
                "URL=http://127.0.0.1:8888/vams/Agent/AgentQry.faces?showType=query",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://127.0.0.1:8888/vams/menu.faces",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
                "URL=../css/anniu.gif", "Referer=http://127.0.0.1:8888/vams/Agent/AgentQry.faces?showType=query", ENDITEM,
                LAST);
        lr_think_time(6);

        web_submit_form("AgentQry.faces_2",
                "Snapshot=t4.inf",
                ITEMDATA,
                "NamePfx=j_id_jsp_", "Value=101000281", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=请选择", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=请选择", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=请选择", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=", ENDITEM,
                "NamePfx=j_id_jsp_", "Value=鏌ヨ\xAF\xA2", ENDITEM,
                LAST);

        /* Registering parameter(s) from source task id 72
        // {Siebel_Analytic_ViewState6} = "H4sIAAAAAAAAAJ1WX2gcRRif2+SaNAna/CGpYCTaYhpJ9i65s9RGiek1aU7uj+Ri1ApeJ3uTu73u7Yyzs9ltgiV9qEGLIqgPlUgrCvrQ5sE+2YIiPgiFCgb0wScRQyioD1Ko+qIzc3/2EjdGnIfh25lvfvOb+X7fN3vlFxC0Keh8IVGEC1A1oJlX03NFpLHRN79+7tI+a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RfZ83P8/jg/GuZ306uPy4zyAmBobqicOjR6ODw8EBf/4ElzLlAXmvV8uy4JjT3cj/n/FAdZx8G4g1euTz26Ysf3UkLtuJOJpxBsH8nzPokL/8CbP8xqFSaq+uzm7d7l05Uc58XONf18pyBts331zbW3i2rTIiqrh74NAYaswxX3I76yK69ZjXVy06YnbWuqqeueuVUX0VP5D0el63CrzAx+OuzjbGk9Td8CLRPKQkAAA=="
        // */

        web_reg_save_param("Siebel_Analytic_ViewState6",
                "LB/IC=ViewState\" value=\"",
                "RB/IC=\"",
                "Ord=1",
                "RelFrameId=1",
                "Search=Body",
                LAST);

        lr_think_time(6);

        web_url("logout.faces",
                "URL=http://127.0.0.1:8888/vams/logout.faces",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://127.0.0.1:8888/vams/menu.faces",
                "Snapshot=t5.inf",
                "Mode=HTML",
                LAST);

        web_submit_data("logout.faces_2",
                "Action=http://127.0.0.1:8888/vams/logout.faces",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://127.0.0.1:8888/vams/logout.faces",
                "Snapshot=t6.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=j_id_jsp_448069046_1", "Value=j_id_jsp_448069046_1", ENDITEM,
                "Name=javax.faces.ViewState", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
                "Name=j_id_jsp_448069046_1:j_id_jsp_448069046_3", "Value=j_id_jsp_448069046_1:j_id_jsp_448069046_3", ENDITEM,
                LAST);

        return 0;
}

[ 本帖最后由 xiaorong523 于 2009-12-23 16:32 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2009-12-23 16:28:42 | 只看该作者
我录制别的应用程序就不会出现这种问题,
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-9 06:30 , Processed in 0.066984 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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