Absent Member.
Absent Member.

Not able to authorized to SAP Portal Netweaver with vugen script.

Have choosen to use: SAP (Click and Script) on Vugen/LR: 9.50. Running OS: Windows 2003 Server

Here is the script:
Action() {

web_set_user("username", "password", "domainname:80");
web_set_user("username", "password", "domainname:443");



web_browser("Close", "Snapshot=t1.inf", DESCRIPTION, ACTION, "UserAction=Close", LAST);
return 0;

Here is the log:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.50 for WIN2003; WebReplay9a build 6220 (Dec 28 2008 17:01:56) [MsgId: MMSG-27143]
Run Mode: Click-and-Script [MsgId: MMSG-26000]
Run-Time Settings file: "C:\Program Files\HP\LoadRunner\scripts\SAP_Logon_WEB\\default.cfg" [MsgId: MMSG-27141]
Current locale is "Western European (Windows)", code page 1252, preferred charset name "windows-1252", Unicode converter name="windows-1252", CRT locale string="Norwegian (Bokmål)_Norway.1252" [MsgId: MMSG-27045]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(3): web_set_user was successful [MsgId: MMSG-26392]
Action.c(4): web_set_user was successful [MsgId: MMSG-26392]
Action.c(9): Navigating to URL="http://portal-domain-name/irj/portal" [MsgId: MMSG-26236]
Action.c(9): Warning -26630: HTTP Status-Code=401 (Unauthorized) for "http://portal-domain-name/irj/portal" [MsgId: MWAR-26630]
Action.c(9): Warning -26502: Window not downloaded due to HTTP Status-Code=401 (Unauthorized) for "http://portal-domain-name/irj/portal" [MsgId: MWAR-26502]
Action.c(9): web_browser("portal") highest severity level was "warning", 2654 body bytes, 486 header bytes, 17 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(15): lr_think_time: 8,00 seconds.
Action.c(17): web_browser("Close") was successful [MsgId: MMSG-26392]
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
1 Reply
New Member..
New Member..

Re: Not able to authorized to SAP Portal Netweaver with vugen script.

I have this exact same problem of getting HTTP 401 with SAP C&S Vugen 9.5. Have you found a solution?

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.