Highlighted
Absent Member.
Absent Member.
502 views

Error Correlation SAPWeb protocol: HTTP Status-Code=403 (Unauthorized Request)

Hi Guys

 

I need your help, I have a script with SAPWeb Protocolo in HPLR v12, when run in VUgen throws the following error:

 

Error -26628: HTTP Status-Code=403 (Unauthorized Request) for "http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback"   [MsgId: MERR-26628]

 

I correlate wcf-request-ticket.

The some  lines in the script with the error:

 

web_url("notify.htm_25",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t39.inf",
"Mode=HTML",
LAST);

 

web_submit_data("uif_callback_5",
"Action=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=110&sap-domainrelax=min&sap-language=EN",
"Snapshot=t40.inf",
"Mode=HTML",
ITEMDATA,
"Name=crm_handler", "Value=CL_THTMLB_F4HELP", ENDITEM,
"Name=crm_svh_inputfieldValue", "Value=", ENDITEM,
"Name=crm_svh_inputfieldUiniqueId", "Value=IUICOBJS_BUILHEADERSEARCHNEW_partner", ENDITEM,
"Name=crm_svh_type", "Value=lastFive", ENDITEM,
"Name=valueInList", "Value=", ENDITEM,
"Name=svh_command", "Value=", ENDITEM,
"Name=wcf-request-ticket", "Value={wcf-request-ticket}", ENDITEM,
LAST);

 

web_url("notify.htm_26",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t41.inf",
"Mode=HTML",
LAST);

 

web_submit_data("uif_callback_6",
"Action=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/webcuif/uif_callback",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh1V2RockZmM1BQRUJRJTNkJTNk)/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do?sap-client=110&sap-domainrelax=min&sap-language=EN",
"Snapshot=t42.inf",
"Mode=HTML",
ITEMDATA,
"Name=crm_handler", "Value=CL_THTMLB_F4HELP", ENDITEM,
"Name=crm_svh_inputfieldValue", "Value=1", ENDITEM,
"Name=crm_svh_inputfieldUiniqueId", "Value=IUICOBJS_BUILHEADERSEARCHNEW_partner", ENDITEM,
"Name=crm_svh_type", "Value=lastFive", ENDITEM,
"Name=valueInList", "Value=", ENDITEM,
"Name=svh_command", "Value=", ENDITEM,
"Name=wcf-request-ticket", "Value={wcf-request-ticket}", ENDITEM,
LAST);

 

web_url("notify.htm_27",
"URL=http://XXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/webcuif/notify/polling/SAM::F700F0E805A8A942AAAF6FC8CBC68891F799C078::20151016184140.1111520/notify.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXXX/sap(bD1FTiZjPTExMCZpPTEmZT1RMUpFWDBGSFZGOHpYMTlmTWpRek1UTXhTblZnWnNBWkh0V2RockF1SDVGRERBJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain_header.htm",
"Snapshot=t43.inf",
"Mode=HTML",
LAST);

 

 

How correlate web_submit_data("uif_callback_  or web_custom_request("uif_callback_   ?

 

I appreciate your help

 

0 Likes
1 Reply
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Error Correlation SAPWeb protocol: HTTP Status-Code=403 (Unauthorized Request)

Please add below header to the script.

 

web_set_user("domain\\username","password","host:portno");

 


Thank you,
NaveenKumar Namachivayam | www.QAInsights.com
Learn TruWeb - my Udemy Course "Performance Testing using TruWeb" | https://www.udemy.com/performance-testing-using-truweb/?couponCode=YOUTUBE
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.