Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

SAP Fiori Recording - HTTP Status-Code=403 (Forbidden)

$
0
0

Dear experts,

 

I tried to record an SAP Fiori HTML5 transaction in both Firefox and Chrome. Result of the recording replay is both identical. It stops with the error

 

Error -26628: HTTP Status-Code=403 (Forbidden) for "http://xxxxxxxxx:8000/sap/opu/odata/UI2/INTEROP/$batch"  	[MsgId: MERR-26628]

I replaced the server name with xxxxxx.

 

 

I also generated a correlation:

 

/*Correlation comment - Do not change!  Original value='DXmy7K5Frbl3mvoujjeiBxSChjj5VqKDlbSNtNl7u3M=' Name ='CorrelationParameter' Type ='RecordReplay'*/
	web_reg_save_param_regexp(
		"ParamName=CorrelationParameter",
		"RegExp=name=\"sap-login-XSRF\"\\ value=\"(.*?&\\#x3d;)\"",
		SEARCH_FILTERS,
		"Scope=Body",
		"RequestUrl=*/Fiorilaunchpad.html*",
		LAST);

And added a web_set_user("xxxxxx, "yyyyy", "");

 

 

Without web_set_user it throws error 401. Is it ok to have the web_reg_save_param_regexp at start of the recording?

The error I see from the details is: "CSRF Token validation failed"

 

I'm kind of lost what else I can do to get it fixed.

 

Kind regards,

Gunter


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>