Do you have feedback on our new interface?
Do you have feedback on our new interface? Let us know HERE
Hans M Jung

SAPGUI Users just stop (Status failed) without any error messages

Hi all,

I am observing a strage issue, where some SAPGUI VUsers  just go to failed after running for like 2 minutes. 
There is no error message in the VUser log (usually it will complain about no being able to find an object in sapgui). The log of te affected vusers just stops without any indication of why the user is not working anymore. There also are no controller messages (failed load generator or something similar).

Interestingly this happens only in one specific transaction (all other SAPGUI scripts are rock-solid) and this behaviour is not reproducible in VUGEN.
It seems that on each Load generator only 1 VUser using this Transaction survives - all others show the issue. 
I would also dismis the possibility of this being a cross-vuser-locking issue (VUser 1 locking a bsiness object, while vuser 2 tries to access it) as the vusers test data are non-overlappig.

Using Performance Center 12.5, Build 12.501178.0, btw.

Any ideas/suggestions would be greatly appreciated. 





1 Reply
Shlomi Nissim Acclaimed Contributor.
Acclaimed Contributor.

Re: SAPGUI Users just stop (Status failed) without any error messages

Hi Hans,

Are the Vusers running on Controller machine or the Load Generator?
If on the Load Generator, is the LoadRunner agent configured to run as a process or as a service? By default it is configured to run as a service with Performance Center. UI level protocols, such as SAPGUI, require interaction with the desktop and when running configured as a service this interaction is limited. In newer versions of Performance Center we have introduced a feature to alleviate that for TruClient scripts and we are planning to address it more holistically for all UI based protocols in future version. For now, I suggest trying to configure the agent as a process and ensure the machine is logged on (and optionally locked)

Can you try running 2 Vusers from Controller directly? (logon to one of the PC Host machines and invoke Controller directly, add the script and try running 2 Vusers). Do this test when the LR agent on the LG is configured to run as a process. I would like to see if the issue is related to PC or a general LR behavior.

Finally, please open a support call. We will assist you.


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.