录制查询回放时出错,请大家帮忙指点一下~~
完全新手,老大要求做一个压力测试.登陆portal然后做一个查询动作,录制脚本完成后,回放一直提示错误:错误 -26612: 对于“http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.detailedNavigationTree?uniqueSequence=1”,HTTP 状态代码=500 (Internal Server Error)
单步查询后找到了发生错误的脚本,为了让大家能帮忙分辨一下,把这个动作的脚本都贴了出来,出错误的地方加红了,请大家帮忙看看是啥原因,十分感谢!!!
Action2()
{
web_set_max_html_param_len("1024");
lr_think_time(28);
web_url("1x1.gif",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.ui.uiservice/images/1x1.gif?4a26073b84287c8652992538114a7acc",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?DrillDownLevel=1&ExecuteLocally=true&windowId=WID1343197014540&NavMode=0",
"Snapshot=t14.inf",
LAST);
web_url("ico12_treebranch_open.gif",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.design.portaldesigndata/themes/portal/sap_tradeshow_plus/nav/treeview/ico12_treebranch_open.gif?7.20.4.0.0",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?DrillDownLevel=1&ExecuteLocally=true&windowId=WID1343197014540&NavMode=0",
"Snapshot=t15.inf",
LAST);
web_url("com.sap.portal.pagebuilder.emptyDocument",
"URL=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/com.sap.portal.pagebuilder.emptyDocument",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?DrillDownLevel=1&ExecuteLocally=true&windowId=WID1343197014540&NavMode=0",
"Snapshot=t16.inf",
"Mode=HTML",
LAST);
web_url("com.sap.portal.pagebuilder.emptyDocument_2",
"URL=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/com.sap.portal.pagebuilder.emptyDocument",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?DrillDownLevel=1&ExecuteLocally=true&windowId=WID1343197014540&NavMode=0",
"Snapshot=t17.inf",
"Mode=HTML",
LAST);
web_submit_data("pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.detailedNavigationTree",
"Action=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.detailedNavigationTree?uniqueSequence=1",
"Method=POST",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?DrillDownLevel=1&ExecuteLocally=true&windowId=WID1343197014540&NavMode=0",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=parentNodeId", "Value=navurl://453d76a3269e8acd32aea6c02ca057f8", ENDITEM,
LAST);
lr_think_time(4);
web_url("child.html",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.navigation.helperservice/html/child.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t19.inf",
"Mode=HTML",
LAST);
/* Registering parameter(s) from source task id 157
// {JSESSIONID4} = "5_TjiLcJ2egm8LZESA67DpUQicW8OAESiDgA_SAP"
// */
web_reg_save_param("JSESSIONID4",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_submit_data("pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea",
"Action=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2FHNJT%2FYX%2FHD%2FRoles%2F___%2FZHNJT_HD_YX_002%2FFolder%2F_______2%2FYxrzmbQueryApp&CurrentWindowId=WID1343197014540&NavMode=1&PrevNavTarget=navurl%3A%2F%2Fea0feb41244f3c2423c26dca027bb94b",
"Method=POST",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.navigation.helperservice/html/child.html",
"Snapshot=t20.inf",
"Mode=HTML",
ITEMDATA,
"Name=NavigationTarget", "Value=ROLES://portal_content/HNJT/YX/HD/Roles/___/ZHNJT_HD_YX_002/Folder/_______2/YxrzmbQueryApp", ENDITEM,
"Name=RelativeNavBase", "Value=", ENDITEM,
"Name=windowId", "Value=WIDxDefaultExternal1343197066479", ENDITEM,
LAST);
web_url("emptyhover.html_7",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/emptyhover.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2FHNJT%2FYX%2FHD%2FRoles%2F___%2FZHNJT_HD_YX_002%2FFolder%2F_______2%2FYxrzmbQueryApp&CurrentWindowId=WID1343197014540&NavMode=1&PrevNavTarget=navurl%3A%2F%2Fea0feb41244f3c2423c26dca027bb94b",
"Snapshot=t21.inf",
"Mode=HTML",
LAST);
web_url("emptyhover.html_8",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/emptyhover.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2FHNJT%2FYX%2FHD%2FRoles%2F___%2FZHNJT_HD_YX_002%2FFolder%2F_______2%2FYxrzmbQueryApp&CurrentWindowId=WID1343197014540&NavMode=1&PrevNavTarget=navurl%3A%2F%2Fea0feb41244f3c2423c26dca027bb94b",
"Snapshot=t22.inf",
"Mode=HTML",
LAST); web_submit_data("PageBuilder;jsessionid=5_TjiLcJ2egm8LZESA67DpUQicW8OAESiDgA_SAP_2",
"Action=http://hnbpmq01.chng.com.cn:50000/webdynpro/resources/sap.com/pb/PageBuilder;jsessionid={JSESSIONID4}",
"Method=POST",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2FHNJT%2FYX%2FHD%2FRoles%2F___%2FZHNJT_HD_YX_002%2FFolder%2F_______2%2FYxrzmbQueryApp&CurrentWindowId=WID1343197014540&NavMode=1&PrevNavTarget=navurl%3A%2F%2Fea0feb41244f3c2423c26dca027bb94b",
"Snapshot=t23.inf",
"Mode=HTML",
ITEMDATA,
"Name=sap-ext-sid", "Value=_o2UF981Jw5ubbXNlAcfgA--qFDijMnX0FEoNHLAjV4siw--", ENDITEM,
"Name=sap-wd-cltwndid", "Value=WIDxDefaultExternal1343197066479", ENDITEM,
"Name=sap-wd-tstamp", "Value=1343196933228", ENDITEM,
"Name=PagePath", "Value=pcd:portal_content/HNJT/YX/HD/Roles/___/ZHNJT_HD_YX_002/Folder/_______2/YxrzmbQueryApp", ENDITEM,
"Name=sap-wd-app-namespace", "Value=zzzz", ENDITEM,
"Name=sap-ep-version", "Value=7.20.201205031840", ENDITEM,
"Name=sap-locale", "Value=zh_CN", ENDITEM,
"Name=sap-accessibility", "Value=", ENDITEM,
"Name=sap-rtl", "Value=", ENDITEM,
"Name=sap-explanation", "Value=null", ENDITEM,
"Name=sap-cssurl", "Value=http://hnbpmq01.chng.com.cn:50000/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/ls/ls_ie6.css?v=7.31.0.14.0", ENDITEM,
"Name=sap-cssversion", "Value=7.31.0.14.0", ENDITEM,
"Name=sap-epcm-guid", "Value=A1A46FE379A972B92E73D7102E8F181BA32D95A51816EFC0667C8049D7E55AF6", ENDITEM,
"Name=com.sap.portal.reserved.wd.pb.restart", "Value=false", ENDITEM,
"Name=DynamicParameter", "Value=", ENDITEM,
"Name=NavigationTarget", "Value=ROLES://portal_content/HNJT/YX/HD/Roles/___/ZHNJT_HD_YX_002/Folder/_______2/YxrzmbQueryApp", ENDITEM,
"Name=NavMode", "Value=1", ENDITEM,
"Name=CurrentWindowId", "Value=WID1343197014540", ENDITEM,
"Name=RelativeNavBase", "Value=", ENDITEM,
"Name=PrevNavTarget", "Value=navurl://ea0feb41244f3c2423c26dca027bb94b", ENDITEM,
EXTRARES,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/pageheader/title_area_bg.gif?7.31.0.14.0", ENDITEM,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/pageheader/subtitle_area_bg_std.gif?7.31.0.14.0", ENDITEM,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/ls/sprite-i-v-p-3.png?7.31.0.14.0", ENDITEM,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/group/blockheader_center.gif?7.31.0.14.0", ENDITEM,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/inputfield/ico12_calendar.gif?7.31.0.14.0", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/PageHeader.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/Button.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/MatrixLayout.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/button/BtnHovBgLS.gif?7.31.0.14.0", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/DragAndDropManager.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/LoadingAnimation.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/LayeredControl.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/PopupManager.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/ColumnLayout.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/Label.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/ComboBox.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
"Url=/com.sap.ui.lightspeed/js/classes/EditFieldBase.js?1AAKDmKjIRXVg0LjTx2D3g==", ENDITEM,
LAST);
web_url("browserhistory.html_2",
"URL=http://hnbpmq01.chng.com.cn:50000/com.sap.ui.lightspeed/js/html/browserhistory.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/webdynpro/resources/sap.com/pb/PageBuilder;jsessionid={JSESSIONID4}",
"Snapshot=t24.inf",
"Mode=HTML",
LAST);
web_custom_request("PageBuilder",
"URL=http://hnbpmq01.chng.com.cn:50000/webdynpro/resources/sap.com/pb/PageBuilder",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://hnbpmq01.chng.com.cn:50000/webdynpro/resources/sap.com/pb/PageBuilder;jsessionid={JSESSIONID4}",
"Snapshot=t25.inf",
"Mode=HTML",
"Body=sap-ext-sid=_o2UF981Jw5ubbXNlAcfgA--qFDijMnX0FEoNHLAjV4siw--&sap-wd-cltwndid=WIDxDefaultExternal1343197066479&sap-wd-norefresh=X&sap-wd-secure-id=DJ1cLKmU7Ai3sP48ZaCumQ%3D%3D&SAPEVENTQUEUE="
"Button_Press%EE%80%82Id%EE%80%84aaaa.YxrzmbQueryCompView.but_Query1%EE%80%83%EE%80%82ClientAction%EE%80%84submit%EE%80%83%EE%80%82urEventName%EE%80%84BUTTONCLICK%EE%80%83%EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B%22sFocussedId%22%3A%20%22aaaa.YxrzmbQueryCompView.but_Query1%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84false%EE%80%83%EE%80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%E"
"E%80%83",
LAST); return 0;
}
自己初步推断可能是动态参数的问题,做了关联扫描,但是没有提示需要有关联的地方,想对sap-wd-secure-id做下手动关联试试,但是无奈实在找不出来右边界,跪求大家指点阿!!!!!! 这种问题很难帮你,因为不懂你们公司的业务,而你也不懂工具怎么用。只能告诉你如果你知道什么数据是要服务器返回给你的,那么你把那段数据包贴出来,我们能帮你参考下怎么写边界,当然如果你都明白道理了,其实自己也就做的出来了 回复 3# 云层
是在generaton log里面找到出问题的脚本然后判断边界是么?我找到了 但是看不懂边界是啥... 你都internal error了说明服务当掉了。。。。
页:
[1]