51Testing软件测试论坛

标题: (代码已经粘贴)error-27796,看了51上很多的建议都没有解决, 各位大哥帮帮忙吧? [打印本页]

作者: boofangfang    时间: 2011-2-15 16:16
标题: (代码已经粘贴)error-27796,看了51上很多的建议都没有解决, 各位大哥帮帮忙吧?
本帖最后由 boofangfang 于 2011-2-15 16:27 编辑

具体情况是这样的:1.已经试过大家提供的最主流的办法,就是修改注册表,然后重启,结果是:还出现error -27796
2.在我的机器上同时加载超过20个虚拟用户就出现这个错误信息,可是在我同事的机器上跑到200都没有问题(同事的机器没有特别配置过)
3.我的电脑系统装的是XP professional sp3
4.我测试的是一个web网站,所有过程都录制在action中,包括登录,登陆后的一些操作,没有做登出的操作


先上脚本代码(全部的):

第一部分:

Action(){
web_url("Name001.html.html",
"URL=http://web001.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=Name001.html.swf",ENDITEM,
LAST);
web_url("version_cn_win_aaa.xml",
"URL=http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/version_cn_win_aaa.xml",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/moapp.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/mowidget.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/font.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/statusbar_tiker_background.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/stat_sys_phone_call.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/help.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/blank.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/toolbox_system_widget_14.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/toolbox_upload.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/align_top.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/align_middle.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/align_bottom.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/replay.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/stat_sys_no_sim.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/toolbox_arrow_down.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/normal_page_background.jpg","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/login_page_bakcground.jpg","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
"Url=http://234.543.9.534/Name001.html/com/qqtong/iipad/litt/images/wipeup.png","Referer=http://234.543.9.534/Name001.html/Name001.html.swf",ENDITEM,
LAST);
web_custom_request("amf",
"URL=http://234.543.9.534/Name001.html/messagebroker/amf",
"Method=POST",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=application/x-amf",

"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/1\\x00\\x00\\x00\\xE0\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Mflex.messaging.messages.CommandMessage\\x13operation\\x1BcorrelationId\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x04\\x05\\x06\\x01\\x06IC0AE782D-5DD1-CDDD-34BC-274C4A684755\\x06\\x01\\x04\\x00\n\\x0B\\x01\\x01\\x01\\x04\\x00\n\\x05%DSMessagingVersion\\x04\\x01\tDSId\\x06\\x07nil\\x01",
EXTRARES,


                  


作者: boofangfang    时间: 2011-2-15 16:16
本帖最后由 boofangfang 于 2011-2-15 16:26 编辑

第二部分


"Url=../com/qqtong/iipad/litt/images/toolbox_arrow_up.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/blank.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_panel.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_background.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_0.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_screen_count.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_1.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_2.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_3.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_4.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_5.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_6.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_7.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_8.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_9.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_11.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_10.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_12.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_13.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_15.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_16.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_widget_17.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_sound_ring_sms.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_sound_ring_call.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_font.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_system_color.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_transition.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_Tname_information.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_drawer.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_screen_page.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/stat_sys_no_sim.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/toolbox_upload.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/normal_page_background.jpg", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                "Url=../com/qqtong/iipad/litt/images/login_page_bakcground.jpg", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                LAST);

        web_custom_request("amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364",
                "URL=http://234.543.9.534/Name001.html/messagebroker/amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/x-amf",
                "Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
                "Snapshot=t4.inf",
                "Mode=HTML",
                "EncType=application/x-amf",
                "BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/1\\x00\\x00\\x01\\x10\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x01\\x06\\x13setLocale\\x06IE4E05B37-FE99-415D-220A-274C4A29E205\\x06\\x1BremoteService\\x04\\x00\t\\x03\\x01\\x04\\x00\\x01\\x04\\x00\n\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t"
                "DSId\\x06IAD4A2A3E-891E-24A2-31C3-C71E47EDD04B\\x01",
                LAST);

作者: boofangfang    时间: 2011-2-15 16:18
本帖最后由 boofangfang 于 2011-2-15 16:26 编辑

web_custom_request("j_spring_security_check",
                "URL=http://234.543.9.534/Name001.html/j_spring_security_check",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
                "Snapshot=t5.inf",
                "Mode=HTML",
                "Body=j%5Fpassword=653d48615b64ba58223fc156de6903c0&j%5Fusername=qqtuser",
                EXTRARES,
                "Url=com/qqtong/iipad/litt/images/spinner_black_48.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                LAST);

        web_custom_request("amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364_2",
                "URL=http://234.543.9.534/Name001.html/messagebroker/amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/x-amf",
                "Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
                "Snapshot=t6.inf",
                "Mode=HTML",
                "EncType=application/x-amf",
                "BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x03\\x00\\x04null\\x00\\x02/2\\x00\\x00\\x01\\x10\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x01\\x06\\x13setLocale\\x06I10EAA018-2891-D1FA-EA3B-274C9CCD6043\\x06\\x1BremoteService\\x04\\x00\t\\x03\\x01\\x04\\x00\\x01\\x04\\x00\n\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t"
                "DSId\\x06IAD4A2A3E-891E-24A2-31C3-C71E47EDD04B\\x01\\x00\\x04null\\x00\\x02/3\\x00\\x00\\x01\\x11\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x01\\x06\\x19getSessionId\\x06IAD1F73DE-5C52-71BE-FAA4-274C9CCD568D\\x06\\x1BremoteService\\x04\\x00\t\\x01\\x01\\x01\\x04\\x00\n\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t"
                "DSId\\x06IAD4A2A3E-891E-24A2-31C3-C71E47EDD04B\\x01\\x00\\x04null\\x00\\x02/4\\x00\\x00\\x01\\x1A\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x01\\x06+getPredefineTnameInfo\\x06I7340B68B-0A66-1E84-73F4-274C9D0CFCA0\\x06\\x1BremoteService\\x04\\x00\t\\x01\\x01\\x01\\x04\\x00\n\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t"
                "DSId\\x06IAD4A2A3E-891E-24A2-31C3-C71E47EDD04B\\x01",
                LAST);

web_custom_request("amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364_3",
                "URL=http://234.543.9.534/Name001.html/messagebroker/amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/x-amf",
                "Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
                "Snapshot=t7.inf",
                "Mode=HTML",
                "EncType=application/x-amf",

"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x03/18\\x00\\x00\\x01\\x1D\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x13messageId\\x17destination\\x13timestamp\tbody\\x11clientId\\x15timeToLive\\x0Fheaders\\x01\\x06#getOnLineResource\\x06IEA16F3B4-9B17-5C64-1CE6-274E42400663\\x06\\x1BremoteService\\x04\\x00\t\\x07\\x01\\x06\\x01\\x04\\x03\\x06\\x030\\x01\\x04\\x00\n\\x0B\\x01\\x15DSEndpoint\\x06\rmy-amf\t"
                "DSId\\x06IAD4A2A3E-891E-24A2-31C3-C71E47EDD04B\\x01",
                EXTRARES,
                "Url=/res_froyo/online_assets/pool/2/clock_japan.png", "Referer=http://234.543.9.534/Name001.html/Name001.html.swf", ENDITEM,
                LAST);

        web_custom_request("amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364_13",
                "URL=http://234.543.9.534/Name001.html/messagebroker/amf;jsessionid=F1C7BF1061434738C7C23D27D87E2364",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/x-amf",
                "Referer=http://234.543.9.534/Name001.html/Name001.html.swf",
                "Snapshot=t17.inf",
                "Mode=HTML",
                "EncType=application/x-amf",
                body_variable_1,
                LAST);

        return 0;
}

作者: andyguo    时间: 2011-2-15 16:35
这个按照我的经验,有几个原因:
1. 网络带宽问题,或者网速太慢,导致无法从服务器得到相关的需要收集的数据,比如CPU利用率之类的.
2. 自己的控制器和VUGen在同一台机器,然后这个机器的网络带宽有限,产生大量VU的时候,占用了大量的带宽,导致Controlor无法从服务器获取相关信息。
3. 你登陆的Server的用户名密码错误。
作者: boofangfang    时间: 2011-2-15 17:19
回复 4# andyguo

第1和第3都可以排除。
关于第二点很疑惑,我把脚本放在同事的机器上就可以。
不知道这跟在同一个局域网有关系吗?
作者: andyguo    时间: 2011-2-16 11:40
可以尝试一下
作者: 阿七    时间: 2011-2-16 14:03
你报的什么错?详细的
作者: 阿七    时间: 2011-2-16 14:05
http://blog.csdn.net/rital/archive/2009/07/24/4377194.aspx  类似贴...
作者: 婴儿    时间: 2011-2-16 16:08
将LR更新到至少9.52
作者: SexyCat_1113    时间: 2011-4-7 12:40
一样。。。反复修改注册表,依旧这样。。。我的系统和LZ一样,也是XP SP3,我怀疑是系统的原因。。。
作者: jj_ljw    时间: 2011-4-7 13:55
碰到过,xp+sp3,怀疑是ghost系统的缘故。重做了系统,不再出现
作者: 亚瑟王    时间: 2011-4-7 14:08
帮顶,修改注册表也没有起作用。求正解
作者: 醒木木    时间: 2011-7-26 15:20
楼主。现在这个问题解决了吗?求解?????




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