Highlighted
Super Contributor.
Super Contributor.
2095 views

Seems like often popups fail when TruClient IE script is run within Performance Center

Jump to solution

Hello,

 

I have a really strange issue. I created a script using TruClient with IE10. At a few places in the script a popup window is opened where data can be entered and/or selected. When replaying the script in develop mode from the load generator all is working well 100% of the time. Even when testing it in load mode from VUgen (again running on the LG) all is working fine 100% of the time.

 

Next I created a test in Perf. center using this script. When running the test in PC with just one Vuser and running on the same LG as VUgen was running, it sometimes passes correctly, but most of the time it fails at the point where the popup is expected. I tried running with snapshot on error. The snapshot is created, but it is a blank screen, seems kind of logic when the popup isn't there... I also tried to create snapshots always in the hope that I could track it all the way up to the failure. But again then there is only one snapshot in the Vuser log which is the blank screen. So this seems like a bug in PC. Since there where already succesfull actions and screens before the step which causes the popup is reached: those snapshots are NOT recorded, just the one that fails.

I also looked at the logging of the Vusers, it pretty much tells me that a button cannot be found a the transaction cannot be ended, here is that part of the log:

t=00064838ms: ** 42: Click on Sneltoets: Alt+S button ** started    [MsgId: MMSG-204251]    [MsgId: MMSG-204251]
t=00085166ms: Error -203256: ** 42: Click on Sneltoets: Alt+S button ** failed - target object was not found.       Snapshot Info [MSH 1 1]    [MsgId: MERR-203256]    [MsgId: MERR-203256]
Error: Failed to end Transaction "Diefstal Fiets 07 Selecteerknop zoomscherm categorie-soort" (by name). Please check that you made a call to start transaction operation.    [MsgId: MERR-16985]

 

So that also does not help very much. I am kind of stuck now. The only way to reproduce is via PC, but it does not give me enough clues. What also bothers me that I have seen the script pass through PC a couple of times successfully, but mostly it stops at the point of the popup.

The server is not busy as I am the only user and when running the test, the average load is about 7%.

Tried to find this trough Google, but no success.

 

Is this a known issue? Can I do anything to make PC handle the popup?

 

I am using HP PC 11.52.444 on windows 2008 SP1 R2 Enterprise Ed.

 

Regards,

Peet

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Hi Peet,

I'll try to instruct you regarding to running as a process.

1. go to the windows services window and disable Performance Center agent service

2. Go to the start menu you'll find under Performance Center, Performance Center agent process

3. Make it will be in your startup folder

 

Now regarding the service user (if going the service way) try to make sure MDRV is running as IUSR_METRO user.

 

Thanks.

Guy Rosenthal
Network Virtualization PM

View solution in original post

0 Likes
13 Replies
Highlighted
Absent Member.
Absent Member.

Hi Peet,

Try:

1. Run as a process instead of as a service -tell if it works.

2. If running as a service - Agent should run as a Windows Service, with SYSTEM account; MDRV runs with IUSR_METRO account

3. are you using proxy? if so which kind? are you using proxy bypassing for local addresses?

 

Thanks.

Guy Rosenthal
Network Virtualization PM
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hi Guy,

 

1. How to run as a process instead of a service? I do not see any runtime config setting for this in HP PC?

 

2. As far as I can see MDRV runs with the SYSTEM account

 

3. No proxy involved, not when I am running via VUgen and also not on PC.

 

Thank you,

Peet

 

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hi Guy,

 

Any suggestions or should I log this as a support ticket?

 

Regards,

 

Peet

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Peet,

I'll try to instruct you regarding to running as a process.

1. go to the windows services window and disable Performance Center agent service

2. Go to the start menu you'll find under Performance Center, Performance Center agent process

3. Make it will be in your startup folder

 

Now regarding the service user (if going the service way) try to make sure MDRV is running as IUSR_METRO user.

 

Thanks.

Guy Rosenthal
Network Virtualization PM

View solution in original post

0 Likes
Super Contributor.
Super Contributor.

Hi Guy,

 

Thanks for your help.

Running the agent as a process does indeed make a huge difference, now the script runs in PC without any problems.

Question: do you foresee any negative effects running the agent as a process on other scripting flavours? This important to know if my organization makes this change on all load generators.

 

I also tried running MDRV as IUSR_METRO, that did not make any difference, the popup still failed in PC.

 

Regards,

Peet

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Peet,

Running as a service is more robust approach (watchdog of failed services). Other than that I can't see a real difference execution wise.

 

I still think running as a service is working and it is all about proper configuration. We had a support case lately with your same exact phenomena and the solution was configuration settings changes only as I stated above (make sure the service is running under SYSTEM and MDRV under IUSR_METRO).

 

If it dosen't work or satisfy your needs I guess a support call is your next option.

 

Happy to assist.

Thanks,

Guy Rosenthal
Network Virtualization PM
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hi Guy,

 

I did not quite understood you the first time: So I have to run the agent as a service with the SYSTEM account: this is the way it is now. How do I then make it happen that MDRV start under the IUSR_METRO account once the test starts running?

 

What I tried before (and made no difference to the problem) was having the agent service run with the IUSR_METRO account. When the test starts the MDRV processes would also run with the IUSR_METRO account.

But now I understand that is not the way to do it.

 

How should I do this? I would like to try the service option as well in a proper way, so you and I don't have to bother with any support ticket 😉

 

Regards,

Peet

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi,

Sorry for the late response. You should go into the services (services.msc) choose PC agent service.

In the Log On tab you shoud enter IUSR_METRO credentials. Here is an example (on an arbitrary service I chose):

 

Thanks.

Guy Rosenthal
Network Virtualization PM
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hi Guy,

 

I tried this, but it does not solve the problem.

Right now the only working bypass is to run magent as a process, however when I do that, while running the test I encounter quite often a situation where on Vuser runs into an "abnormal mdrv termination".

 

I guess I have to log this as a support ticket anyway, unless you have other suggestions that might help?

 

Regards,

Peet

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Peet,

I guess you should open a support ticket on that.

 

10x.

Guy Rosenthal
Network Virtualization PM
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Hi Guy,

 

This particular issue where the popups fail when magent is running as a service, can you indicate if this is solved in HP PC 12?

 

My organization is moving towards version 12, hence the question.

 

Regards,

 

Peet

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.