Highlighted
Absent Member.
Absent Member.
813 views

TruClient controller issue (errorCode -2146697211) - SAP Fiori

General Information
=================
LoadRunner: 12.50
Protocol: TrueClient Web
IE: 11
Wondows 7 Enterprise
Application: SAP Fiori

Question:
============
Why is the script working when I run it direct in VuGen but not, when I start the VuGen from controller?

Issue description:
=================
1. Open VuGen -> Replay: 0k -> Develop Script & Replay: ok
2. Open Controller -> View Script -> Replay (F5): failed
Starting iteration 1.
Starting action Action.
t=00001830ms: ** 2:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002361ms: ** 2.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002514ms: Navigate failed on url http://FioriGateway.company.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN# with errorCode = -2146697211    [MsgId: MMSG-205180]
t=00182502ms: Error -205177: ** 2.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** timed out       Snapshot Info [MSH 1 0]    [MsgId: MERR-205177]
t=00182526ms: ** 2:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** was aborted due to an error in a child step    [MsgId: MMSG-205180]
Ending action Action.
Ending iteration 1.

Open VuGen direct - Replay passed:
===============================
Starting iteration 1.
Starting action Action.
t=00001665ms: ** 1:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002187ms: ** 1.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002498ms: ** 1.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** successfully completed    [MsgId: MMSG-205180]
t=00003012ms: ** 1.2: Enter credentials in authentication dialog ** started    [MsgId: MMSG-205180]
t=00003297ms: ** 1.2: Enter credentials in authentication dialog ** successfully completed    [MsgId: MMSG-205180]
t=00003575ms: ** 1:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr01_Login" started.
t=00003617ms: ** 2: Log On ** started    [MsgId: MMSG-205180]
t=00004136ms: ** 2.1: Type LR.getParam("user");  in User textbox ** started    [MsgId: MMSG-205180]
t=00007562ms: ** 2.1: Type FIORI066 in User textbox ** successfully completed    [MsgId: MMSG-205180]
t=00008075ms: ** 2.2: Click on Password passwordbox ** started    [MsgId: MMSG-205180]
t=00008319ms: ** 2.2: Click on Password passwordbox ** successfully completed    [MsgId: MMSG-205180]
t=00008831ms: ** 2.3: Type ****************... in Password passwordbox ** started    [MsgId: MMSG-205180]
t=00012971ms: ** 2.3: Type ********* in Password passwordbox ** successfully completed    [MsgId: MMSG-205180]
t=00013482ms: ** 2.4: Click on Log On button ** started    [MsgId: MMSG-205180]
t=00013921ms: ** 2.4: Click on Log On button ** successfully completed    [MsgId: MMSG-205180]
t=00013951ms: ** 2: Log On ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr01_Login" ended with a "Pass" status (Duration: 10.3440 Wasted Time: 2.9130).
Notify: Transaction "tr02_ReceiveProducts" started.
t=00014598ms: ** 3: Click on Receive Products PVH... ** started    [MsgId: MMSG-205180]
t=00017463ms: ** 3: Click on Receive Products PVH... ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr02_ReceiveProducts" ended with a "Pass" status (Duration: 2.8680 Wasted Time: 0.2050).
Notify: Transaction "tr03_EnterDocumentID" started.
t=00017984ms: ** 7: Click on Enter ID button ** started    [MsgId: MMSG-205180]
t=00018463ms: ** 7: Click on Enter ID button ** successfully completed    [MsgId: MMSG-205180]
t=00018983ms: ** 9: Type LR.getParam("documentid");  in Enter document or product... searchbox ** started    [MsgId: MMSG-205180]
t=00022828ms: ** 9: Type 0080000386 in Enter document or product... searchbox ** successfully completed    [MsgId: MMSG-205180]
t=00023340ms: ** 11: Click on OK button ** started    [MsgId: MMSG-205180]
t=00024032ms: ** 11: Click on OK button ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr03_EnterDocumentID" ended with a "Pass" status (Duration: 6.0570 Wasted Time: 1.6440).
t=00024044ms: ** 13: Verify Document's "Visible Text" Contain Document ** started    [MsgId: MMSG-205180]
t=00024314ms: ** 13: Verify Document's "Visible Text" Contain Document ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr04_BackAndLogout" started.
t=00024824ms: ** 14: Click on Back button ** started    [MsgId: MMSG-205180]
t=00025391ms: ** 14: Click on Back button ** successfully completed    [MsgId: MMSG-205180]
t=00025902ms: ** 15: Click on ?FIORI066 FIORI066 javascript_link ** started    [MsgId: MMSG-205180]
t=00026302ms: ** 15: Click on ?FIORI066 FIORI066 javascript_link ** successfully completed    [MsgId: MMSG-205180]
t=00026818ms: ** 17: Click on Log Out button ** started    [MsgId: MMSG-205180]
t=00027058ms: ** 17: Click on Log Out button ** successfully completed    [MsgId: MMSG-205180]
t=00027569ms: ** 18: Click on OK button ** started    [MsgId: MMSG-205180]
t=00028368ms: ** 18: Click on OK button ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr04_BackAndLogout" ended with a "Pass" status (Duration: 3.5530 Wasted Time: 2.1510).
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action End.
Ending action End.
Vuser Terminated.

 

Kind regards,

Sabine

0 Likes
4 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient controller issue (errorCode -2146697211)

Hi Sabine,

I suggest 2 things:

  • on which browser did you record the script? is it the same browser that is selected when you open Vugen from Controller? if not, try matching the browser types and see if it helps
  • this may be related to permissions. Try opening controller with administrative privileges and see if it helps

Hope this helps,

Lior

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient controller issue (errorCode -2146697211)

Hi,

Please make sure proxy settings in run time settings are identical to the ones available in TruClient General Settings dialog.

Regards,

Shlomi

 

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: TruClient controller issue (errorCode -2146697211)

Thanks for your suggestions.

1. on which browser did you record the script? is it the same browser that is selected when you open Vugen from Controller? if not, try matching the browser types and see if it helps
Yes, scripted with IE and run with IE

2. this may be related to permissions. Try opening controller with administrative privileges and see if it helps
Yes, I have admin rights


3. Please make sure proxy settings in run time settings are identical to the ones available in TruClient General Settings dialog
Yes, identical

PS: my Fiori script with SAP-Web protocol is running well and run with 100 cuncurrent user, but a lot of manual work is needed.

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: TruClient controller issue (errorCode -2146697211)

Hi ,

How did you fixed the issue. I am facing the same problem with script passing in vugen but not in contrioller.

05/08/2017 22:39:08 NOTIFY BPM: LR SoE protocol : 'Folder based' [MsgId: MMSG0]  
05/08/2017 22:39:08 Virtual User Script started at : 2017-08-05 22:39:08 [MsgId: MMSG-205068]  
05/08/2017 22:39:08 Starting action Init. [MsgId: MMSG-205052]  
05/08/2017 22:39:08 TruClient Replay for LoadRunner 12.50.0, build 1096. OS: Windows 2012 R2, Browser: IE, initialized on 2017/08/05 at 22:39:05 (0000.000s)  
[MsgId: MMSG-204898]  
05/08/2017 22:39:08 Selected Run-Time Settings: [MsgId: MMSG-204896]  
05/08/2017 22:39:08 Simulate a new user on each iteration...............: 1 [MsgId: MMSG-204894]  
05/08/2017 22:39:08 Using system proxy settings [MsgId: MMSG-204891]  
05/08/2017 22:39:08 Check for newer versions of stored pages: 4 (Automatically) [MsgId: MMSG-204880]  
05/08/2017 22:39:08 Keep-Alive..........................................: 1 [MsgId: MMSG-204875]  
05/08/2017 22:39:08 Proxy Keep-Alive....................................: 1 [MsgId: MMSG-204874]  
05/08/2017 22:39:08 Keep-Alive timeout (ms).............................: 60000 [MsgId: MMSG-204873]  
05/08/2017 22:39:08 HTTP Version........................................: 1.1 [MsgId: MMSG-204871]  
05/08/2017 22:39:08 Proxy HTTP Version..................................: 1.1 [MsgId: MMSG-204870]  
05/08/2017 22:39:08 DNS cache timeout (ms)..............................: 1800 [MsgId: MMSG-204869]  
05/08/2017 22:39:08 Run-Time Settings file..............................: "D:\ProgramData\HP\BPM\workspace\Invocation\6\16_1\default.cfg" [MsgId: MMSG-204867]  
05/08/2017 22:39:08 Vuser directory.....................................: "D:\ProgramData\HP\BPM\workspace\Invocation\6\16_1" [MsgId: MMSG-204866]  
05/08/2017 22:39:08 Vuser output directory..............................: "D:\ProgramData\HP\BPM\workspace\Invocation\6\16_1" [MsgId: MMSG-204865]  
05/08/2017 22:39:08 End of selected Run-Time Settings  
[MsgId: MMSG-204895]  
05/08/2017 22:39:08 Please refer to the ReadMe file in the LoadRunner installation directory for notes about measurements and logging [MsgId: MMSG-204864]  
05/08/2017 22:39:08 Ending action Init. [MsgId: MMSG-205051]  
05/08/2017 22:39:08 Running Vuser... [MsgId: MMSG-205064]  
05/08/2017 22:39:08 Starting iteration 1. [MsgId: MMSG-15968]  
05/08/2017 22:39:08 Starting action Action. [MsgId: MMSG-205052]  
05/08/2017 22:39:09 t=00003313ms: ** 1: Navigate to "https://myaccount.du.ae...du/en/home.html" ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]  
05/08/2017 22:39:09 t=00003428ms: Navigate failed on url https://myaccount.du.ae/servlet/du/en/home.html with errorCode = -2146697211 [MsgId: MMSG-205180] [MsgId: MMSG-205180]  
05/08/2017 22:39:09 t=00003711ms: Error -205177: ** 1: Navigate to "https://myaccount.du.ae...du/en/home.html" ** failed - end event error due to HTTP status code : -2146697211 Snapshot Info [MSH 1 0] [MsgId: MERR-205177] [MsgId: MERR-205177]  
05/08/2017 22:39:09 Ending action Action. [MsgId: MMSG-205051]  
05/08/2017 22:39:09 Ending iteration 1. [MsgId: MMSG-15965]  
05/08/2017 22:39:09 Action was aborted. [MsgId: MMSG-10694]  
05/08/2017 22:39:09 Ending Vuser... [MsgId: MMSG-205066]  
05/08/2017 22:39:09 Starting action End. [MsgId: MMSG-205052]  
05/08/2017 22:39:09 Ending action End. [MsgId: MMSG-205051]  
05/08/2017 22:39:09 Vuser Terminated. [MsgId: MMSG-205063]  
05/08/2017 22:39:09 WARNING BPM: Nothing to report(no transaction defined) or error occurred before user transaction started. No JSON file will be generated. [MsgId: MWAR0]  
05/08/2017 22:39:10 Notify: Data Point "tcp_connect" value = 3.0000. [MsgId: MMSG-16994]  
05/08/2017 22:39:10 Notify: Data Point "tcp_shutdown" value = 3.0000. [MsgId: MMSG-16994]  
05/08/2017 22:39:10 Notify: Data Point "ssl_session_new" value = 2.0000. [MsgId: MMSG-16994]  
05/08/2017 22:39:10 Notify: Data Point "tcp_connection_count" value = 0.0000. [MsgId: MMSG-16994]  
05/08/2017 22:39:10 Vuser 0 (thread 5916), ended OK." [MsgId: MMSG-10695]  

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.