HTTP Status-Code=403 (Unauthorized Request) while running SAP-CRM recorded vugen (742 Views)
Reply
Occasional Visitor
ugur_can
Posts: 1
Registered: ‎12-26-2013
Message 1 of 2 (742 Views)

HTTP Status-Code=403 (Unauthorized Request) while running SAP-CRM recorded vugen

Our loadrunner's version is HP LoadRunner Software 11.04. Our CRM version is 7.0.

Here are the values that we had correlated.

 

web_reg_save_param("sesman",
"LB=(",
"RB=)",
"Ord=1",
LAST);

web_submit_data("uif_callback",
"Action=http://xxxxx/sap/webcuif/uif_callback?sap-client=500&sap-language=TR&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER",
"Method=POST",
"TargetFrame=",
"RecContentType=text/plain",
"Referer=http://xxxx/sap(bD10ciZjPTUwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=cmd", "Value=get_esid", ENDITEM,
LAST);

 

Secondly

//Generation log says: bD1OTCZjPTMwMCZpPTEmZT1URkpWVTFJME5qQXlYMTlmTUY5Zk1WOWZBQ0prQWs5S0h0R3poWmxETDRLT0JnJTNkJTNk
web_reg_save_param( "redirection_location2", "LB=location: /sap(", "RB=)/bc", "Ord=1","Search=Headers", LAST );

//Generation log says: 20120712142054.0982110
web_reg_save_param( "icsessionsyncid", "LB=&crm-icsessionsyncid=", "RB= &crm-iccc=", "Ord=1","Search=Body",LAST );

//Generation log says: c3N0PUVGNENDN0MyQTVENjM1MTlCRjY4N0UyMzc4RkE1OEY3MDAyMjY0MDI0RjRBMUVEMUIzODU5OTQ2RTg4NzBFMEE
web_reg_save_param( "sap-session_access_token", "LB=sap-session_access_token=", "RB==\"", "Ord=1","Search=Body","Notfound=warning", LAST );

web_url("main.htm",
"URL=http://xxxx/sap({sesman})/bc/bsp/sap/crm_ui_frame/main.htm?sap-client=500&sap-language=TR&sap-domainRelax=min&saprole=Z_CCC_AGENT",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://xxxxxx/sap(bD10ciZjPTUwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);

 

Thirdly

 

web_reg_save_param("sesman2",
"LB=(",
"RB=)",
"Ord=1",
LAST);
web_submit_data("uif_callback_3",
"Action=http://xxxxxxx/sap/webcuif/uif_callback?sap-client=500&sap-language=TR&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER",
"Method=POST",
"TargetFrame=",
"RecContentType=text/plain",
"Referer=http://xxxxxxx/sap(bD10ciZjPTUwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-icsessionsyncid={syncid1}%2e{syncid2}%20&crm-iccc=&crm-icwscl=500&sapouid=00000000&saprole=Z_CCC_AGENT&crm-icsessionid=s_500_Z_CCC_AGENT_1388047057310",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=cmd", "Value=get_esid", ENDITEM,
LAST);

 

And lastly,

web_reg_save_param("SessionID19",
"LB/IC=var thtmlbMangling = \"",
"RB/IC=\";</script>",
"Ord=1",
"RelFrameId=1.1.2",
"Search=Body",
LAST);


web_reg_save_param("SecureID",
"LB=\"wcf-secure-id\" value=\"",
"RB=\" />",
LAST);

web_url("main.htm_2",
"URL=http://xxxxxxxx/sap({sesman2})/bc/bsp/sap/crm_ui_frame/main.htm?sap-client=500&sap-language=TR&sap-domainRelax=min&saprole=Z_CCC_AGENT",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://xxxxxxx/sap(bD10ciZjPTUwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-icsessionsyncid={syncid1}%2e{syncid2}%20&crm-iccc=&crm-icwscl=500&sapouid=00000000&saprole=Z_CCC_AGENT&crm-icsessionid=s_500_Z_CCC_AGENT_1388047057310",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);

But our vugen gets error in,

web_submit_data("BSPWDApplication.do",
"Action=http://xxxxxxsap({SessionID19})/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=500&sap-domainrelax=min&sap-language=TR",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://xxxxxxx/sap({SessionID19})/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=500&sap-domainrelax=min&sap-language=TR",
"Snapshot=t16.inf",
"Mode=HTML",
ITEMDATA,
"Name=htmlbevt_ty", "Value=thtmlb:link:click:0", ENDITEM,
"Name=htmlbevt_frm", "Value=myFormId", ENDITEM,
"Name=htmlbevt_oid", "Value=C4_W17_V18_ZUTL-ACC", ENDITEM,
"Name=htmlbevt_id", "Value=UTL-BP-SR", ENDITEM,
"Name=htmlbevt_cnt", "Value=0", ENDITEM,
"Name=htmlbevt_par1", "Value=", ENDITEM,
"Name=htmlbevt_par2", "Value=", ENDITEM,
"Name=htmlbevt_par3", "Value=", ENDITEM,
"Name=htmlbevt_par4", "Value=", ENDITEM,
"Name=htmlbevt_par5", "Value=", ENDITEM,
"Name=htmlbevt_par6", "Value=", ENDITEM,
"Name=htmlbevt_par7", "Value=", ENDITEM,
"Name=htmlbevt_par8", "Value=", ENDITEM,
"Name=htmlbevt_par9", "Value=", ENDITEM,
"Name=onInputProcessing", "Value=htmlb", ENDITEM,
"Name=myFormId_complete", "Value=", ENDITEM,
"Name=SVH_INPUTFIELD_ID", "Value=", ENDITEM,
"Name=SVH_INPUTFIELD_VALUE", "Value=", ENDITEM,
"Name=thtmlbModifiedInputfieldIds", "Value=", ENDITEM,
"Name=activeElement508", "Value=C4_W17_V18_ZUTL-ACC", ENDITEM,
"Name=sap-htmlb-design", "Value=", ENDITEM,
"Name=sap-ajaxtarget", "Value=C1_W1_V2_C4_W17_V18_MainNavigationLinks.do", ENDITEM,
"Name=sap-ajax_dh_mode", "Value=AUTO", ENDITEM,
"Name=wcf-secure-id", "Value={SecureID}", ENDITEM,
"Name=thtmlbKeyboardFocusId", "Value=C4_W17_V18_ZUTL-ACC", ENDITEM,
"Name=thtmlbKeyboardSelectId", "Value=", ENDITEM,
"Name=thtmlbSliderState", "Value=", ENDITEM,
"Name=PREFIX_ID", "Value=C7_W24_V25_", ENDITEM,
"Name=C7_W24_V25_SCRATCHPAD_TEXT", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_PREVIOUS_ALERTS", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_PREVIOUS_HASMORE", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_DNISDISPLAY_PREVIOUS_INFO", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_TOPIC_ID", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_MESSAGE", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_HASLINK", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_CODE", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE1", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE2", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE3", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE4", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE5", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE6", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE7", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE8", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE9", "Value=", ENDITEM,
"Name=C7_W24_V25_CONTEXTAREA_ALERTDISPLAY_SELECTED_VALUE10", "Value=", ENDITEM,
"Name=C7_W24_V25_SCRATCHPAD_DUMMY_FIELD", "Value=", ENDITEM,
"Name=C7_W24_V25_ACTION_GUID", "Value=", ENDITEM,
"Name=C7_W24_V25_AC_OBJECT_KEY", "Value=", ENDITEM,
"Name=C7_W24_V25_AC_VALUE", "Value=", ENDITEM,
"Name=C7_W24_V25_AC_CONTAINER", "Value=", ENDITEM,
"Name=C7_W24_V25_MYITSLOCATION", "Value=", ENDITEM,
"Name=crmFrwScrollXPos", "Value=0", ENDITEM,
"Name=crmFrwScrollYPos", "Value=0", ENDITEM,
"Name=th-mes-isex", "Value=", ENDITEM,
"Name=C1_W1_V2_V3_V28_bchistory_selection", "Value=", ENDITEM,
"Name=C2_W10_V11_V12_search_struct.c_id_type", "Value=ZTIN", ENDITEM,
"Name=C2_W10_V11_V12_search_struct.x_addr_type", "Value=P", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_isCellerator", "Value=TRUE", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_selectedRows", "Value=", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_rowCount", "Value=0", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_lastSelectedRow", "Value=", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_visibleFirstRow", "Value=1", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_scrollPosition", "Value=", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_hscrollPosition", "Value=0", ENDITEM,
"Name=C2_W10_V11_V13_HitlistEmpty_multiParameter", "Value=0////0////0////0", ENDITEM,
"Name=thtmlbScrollAreaWidth", "Value=1592", ENDITEM,
"Name=thtmlbScrollAreaHeight", "Value=581", ENDITEM,
"Name=LTX_PREFIX_ID", "Value=C1_W1_V2_", ENDITEM,
"Name=C1_W1_V2_LTX_VETO_FLAG", "Value=", ENDITEM,
"Name=C1_W1_V2_ACTION_GUID", "Value=", ENDITEM,
"Name=C1_W1_V2_AC_OBJECT_KEY", "Value=", ENDITEM,
"Name=C1_W1_V2_AC_VALUE", "Value=", ENDITEM,
"Name=C1_W1_V2_AC_CONTAINER", "Value=", ENDITEM,
"Name=C1_W1_V2_MYITSLOCATION", "Value=", ENDITEM,
"Name=sap-ajax_request", "Value=X", ENDITEM,
EXTRARES,

LAST);

 

We tried web_set_user also but it did'not work.

Thanks for any help,

 

HP Expert
Editus
Posts: 650
Registered: ‎04-06-2011
Message 2 of 2 (701 Views)

Re: HTTP Status-Code=403 (Unauthorized Request) while running SAP-CRM recorded vugen

Hello

Looks like a correlation issue, but probably a tricky one, check on the headers it sends on the tree view, one or few of them may needs to be added manually and there is probable also the missing correlation.

regards
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.