51Testing软件测试论坛

标题: 求大神帮帮忙,运行脚本时报了两个27979的错误 [打印本页]

作者: 海阔天空无一人    时间: 2014-10-9 15:39
标题: 求大神帮帮忙,运行脚本时报了两个27979的错误
本帖最后由 海阔天空无一人 于 2014-10-9 16:00 编辑

问题描述:
在init这里设置的只是用户登录,运行脚本的时候,我模拟了20个人,成功了18个,失败了2个,就报了这个错误,请大神看看问题出在哪,多谢啊~

错误信息:
vuser_init.c(69): 错误 -27979: 找不到请求的表单

代码:
web_submit_form("default.aspx",
  "Action=http://tms-vm201/_trust/default.aspx",
  "Snapshot=t4.inf",
  ITEMDATA,
  EXTRARES,
  "Url=../_layouts/2052/init.js?rev=rcZULplQ2sjYL0GwamiLEQ%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/genericfunction.js?rev=dmzlzxi2P%2BxijHJyekeWNw%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery-1.7.1.min.js?rev=3bhMFYcoey3wiWYIHvBjvw%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.tmpl.min.js?rev=KyZUDWdh%2Bm6x5m2X7BdjZA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jslinq.js?rev=zo3j7Qbntq3kjB4fdPpsDA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jsexpand.js?rev=xHm8vCnsCUE%2B20kP4tyo5g%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.livequery.js?rev=GrSuDfmTkxjJkMqqcXuT6A%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/desktop.js?rev=c83VG8faSbFDG3HLdhFOnQ%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/commonajaxdatainterface.js?rev=YcWUlKHdBSQ8WdcVnA1bVw%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/easypaginate.js?rev=vQwCX8i6y90LUqfinIKdyg%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.jeegoocontext.js?rev=g9cOnN50ikvm6Yx50oQ5Zg%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/mustache.js?rev=HMT71zk6FoleZqCM65U%2Fng%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.mousedelay.min.js?rev=1tvf9YwOWBgGnL5uxnrRjg%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.tms.common.js?rev=2a86XDXTbaypqOlx6Zsncw%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/jqueryui/ui/i18n/jquery.ui.datepicker-zh-cn.js?rev=VTk0e%2BSSpOZKHfplG1vn5g%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/stringbuilder.js?rev=6qq7OU60APl%2BH%2BiPeBw%2FLA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../ScriptResource.axd?d=A3K1iq7031PcT_lauJ2q8GKACELP7aBZFWe27EO8mf7Af9M9ucjP8xtQTJjK4Js2owmm5yz2QAjNkaq88fqsBEZXO-yDlWdjtQY_LioIDRrxD_Hr5BjWACLEZZZzcwLXB7hsQipIgoEDnHAvhdVhvCibB4uZ0_vWHaY0yMzSzptwRHUw0&t=2e2045e2", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.contract/js/ribbonscripts.js", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../ScriptResource.axd?d=kb2FeNBa1cBrFe7Tbw6Rlc2Qan4gGK1He_BC0XimxZucWaZKAMXLU12LkFMldvDJV4MRvF7TodfVlri9646ylsWVmAdQdB0Qq7sjuRuZjZS4RWLN0j7KWynTvIAyhNLhyAmHRAJIS4Ms5neud-uoQmqN84HpGt559QhCK2HN8DjdOsI-0&t=2e2045e2", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery.fancybox-1.3.4.pack.js?rev=SighjQgwaUzN7lDApQ0UwA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../WebResource.axd?d=DtYuR011Wh6-ZuWq14t_gLX7CEeLVWrVS8DoyCpfpNj5uR2zywGGL3HWoYbo0TEE2ZuiVRTgDwPNxaYAy0icdY_zzVU1&t=635295383132453548", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/images/blank.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/images/bgximg.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/images/fgimg.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/body_bg.jpg", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/bg.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/system_title.jpg", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/logo.jpg", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/icon.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.web/images/bg_pic.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Common/images/tip_bg2.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Common/images/tip_bg1.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Common/images/refresh2.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Common/images/tip_minimize.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/js.validator.js?rev=BxRA2flmt3wfTLUWOrAftA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sinochem.tms.ui.common/js/jquery-ui-1.8.16.custom.min.js?rev=8cHZy%2FTAlMiQm4PRt0yv9w%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Web/images/fancybox/fancybox.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Web/images/fancybox/blank.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_Layouts/Sinochem.Tms.UI.Common/Services/AjaxServiceLocator.ashx?ServiceName=TaskTitleService", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_Layouts/Sinochem.Tms.UI.Common/Services/AjaxServiceLocator.ashx?ServiceName=GetOverDueMessageBoxServices&Method=GetOverDueMessage", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_Layouts/Sinochem.Tms.UI.Common/Services/AjaxServiceLocator.ashx?ServiceName=DesktopServices&Method=LoadMyMessage", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Web/images/linkbtn_contract_l.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.UI.Web/images/linkbtn_contract_r.gif", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_Layouts/Sinochem.Tms.UI.Common/Services/AjaxServiceLocator.ashx?ServiceName=BillMenuServices&BillTypeCode=10000&BillStatus=0", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/Sinochem.Tms.B2B.UI/Styles/img/DefaultActionModuleBg.png", "Referer=http://tms-vm201/_layouts/Sinochem.Tms.B2B.UI/Default.aspx?isdlg=0", ENDITEM,
  "Url=../_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D", "Referer=http://tms-vm201/_layouts/Sinochem.Tms.B2B.UI/Default.aspx?isdlg=0", ENDITEM,
  "Url=../_layouts/2052/core.js?rev=KpeTWMrqjCSYYu4RiO0%2B1Q%3D%3D", "Referer=http://tms-vm201/_layouts/Sinochem.Tms.B2B.UI/Default.aspx?isdlg=0", ENDITEM,
  "Url=../_layouts/ScriptResx.ashx?culture=zh%2Dcn&name=SP%2ERes&rev=ID4Um%2BnPCWZWo%2BWk9%2B188Q%3D%3D", "Referer=http://tms-vm201/_layouts/Sinochem.Tms.B2B.UI/Default.aspx?isdlg=0", ENDITEM,
  "Url=../_layouts/2052/images/formatmap32x32.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/2052/images/formatmap16x16.png", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy%2BA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/sp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/inplview.js?rev=lxCL6dT9E0o%2F9jNw7YlGng%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  "Url=../_layouts/ScriptResx.ashx?culture=zh%2Dcn&name=SP%2EUI%2EPolicy%2EResources&rev=qBIGj2ulTEPAZ28QKOIftA%3D%3D", "Referer=http://tms-vm201/index.aspx", ENDITEM,
  LAST);


作者: libingyu135    时间: 2014-10-9 18:34
用"URL-based script"模式进行录制
作者: 授客    时间: 2014-10-9 18:48
HTML-based Script          HTML Advanced  A script constaining explicit URLS only
作者: 授客    时间: 2014-10-9 18:50
录制所有链接,图片和URL作为web_url语句, 或以表单的形式,正如web_submit_data函数,不生成web_link(), web_image(), web_submit_form()函数
作者: 海阔天空无一人    时间: 2014-10-10 10:36
授客 发表于 2014-10-9 18:50
录制所有链接,图片和URL作为web_url语句, 或以表单的形式,正如web_submit_data函数,不生成web_link(), web ...

大师。。太专业了。。有点没太看懂
作者: 海阔天空无一人    时间: 2014-10-10 10:39
libingyu135 发表于 2014-10-9 18:34
用"URL-based script"模式进行录制

好像是解决了,谢谢哈~




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