Highlighted
New Member.
770 views

Authentication required, please use web_set_user

Hello Team,

I am getting the following error when recording an Oracle web application:

 

Action.c(823): Error -26547: Authentication required, please use web_set_user, e.g. web_set_user("domain\\user", "password", "host:port");   [MsgId: MERR-26547]

 

The error comes out of the following request:

 

web_custom_request("loginInfo",
       "URL={p_URL}",
       "Method=POST",
       "Resource=0",
       "RecContentType=application/json",
       "Referer={p_URL1}",
       "Snapshot=t83.inf",
       "Mode=HTTP",
       "EncType=application/x-www-form-urlencoded; charset=UTF-8",
       "Body=ouafSecurityToken=zz5Uln%2BCQWWglqKlYMl8yrkYXp1JLmtnjGamZ1cSj2E%3D",
  LAST);

 

Please assist.

Thanks

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

Re: Authentication required, please use web_set_user

Please add the below header to the script:

 

web_set_user();


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.