Recording script for RDP protocol with RDP agent (Loadrunner)

949 views
Skip to first unread message

Dipak Darji

unread,
Nov 10, 2010, 12:29:02 PM11/10/10
to LR-Loa...@googlegroups.com
Hi Friends,

I am using Loadrunner 9.51 with RDP protocol; RDP - Microsoft terminal
agent 9.51 installed on both server and client.

While recording the script with Use RDP Agent option selected in RDP-
advanced recording options, it should add rdp_sync_on_agent,
rdp_sync_on_window, rdp_sync_object_mouse_click & other advanced
functions in script automatically. However it's not happening
practically. I have tried many of the times recording the same flow,
these functions don't get added in script and script created as like
Use RDP agent option unchecked. Sometimes only rdp_sync_on_agent
function added in the script and remaining script generated as like we
don't use RDP-agent.

I want to record the script with advance functions provided by
RDP-Agent with RDP protocol but it's not working as mentioned in vugen
help. Did any one know any solution for this or any workaround? Did
any one using RDP protocol with RDP-agent? Please do needful.

Thanks for all your help, guidance & time.

Do let me know if you need more information from my end.

Thanks & Regards,
Dipak

chaitanya bhatt

unread,
Nov 10, 2010, 11:54:05 PM11/10/10
to lr-loa...@googlegroups.com
Is your client application developed using Java?
 
LoadRunner RDP agent has a limitation of not being able to detect Java UI objects.
 
-Chaitanya M Bhatt

--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Dipak Darji

unread,
Nov 11, 2010, 6:31:28 AM11/11/10
to LoadRunner
Thanks Chaitanya..
I already review the HP self solve IT centre forum & found that rdp
agent doesn't work with Java UI objects & application built with
Cbuilder.
However in my case application built in C#.Net.
please do needful.
Thanks again!

On Nov 10, 11:54 pm, chaitanya bhatt <bhatt.chaita...@gmail.com>
wrote:
> Is your client application developed using Java?
>
> LoadRunner RDP agent has a limitation of not being able to detect Java UI
> objects.
>
> -Chaitanya M Bhatthttp://www.performancecompetence.com
> > LR-LoadRunne...@googlegroups.com<LR-LoadRunner%2Bunsubscribe@goog­legroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -

Dipak Darji

unread,
Nov 11, 2010, 6:46:41 AM11/11/10
to LoadRunner
Hi John Crunk,

I am also expecting some solution/workaround from you..
Thanks in advance for your help!

bit more on the issue,
I have created script with unchecking RDP-agent option.
Then add rdp_sync_on_agent (not added any connection id as there is
single sesstion during replay) function manually in script and check
rdp-agent option in run time setting.
Replay the script and it's failed while sync the rdp-agent.
There must be some problem with rdp-agent itself.
Can anyone know how to restart the agent or how to verify it's
correctness.
I have checked in add/remove program and found that 'HP software agent
for Microsoft Terminal server' with version 9.51 installed.
Please do needful.

Thanks
Dipak

On Nov 10, 11:54 pm, chaitanya bhatt <bhatt.chaita...@gmail.com>
wrote:
> Is your client application developed using Java?
>
> LoadRunner RDP agent has a limitation of not being able to detect Java UI
> objects.
>
> -Chaitanya M Bhatthttp://www.performancecompetence.com
> > LR-LoadRunne...@googlegroups.com<LR-LoadRunner%2Bunsubscribe@goog­legroups.com>
> > For more options, visit this group at

chaitanya bhatt

unread,
Nov 11, 2010, 6:58:19 AM11/11/10
to lr-loa...@googlegroups.com

Do you see the rdp agent process in the Task Manager processes list in the AUT machine while recording?
 
-Chaitanya M Bhatt

 

Dipak Darji

unread,
Nov 11, 2010, 7:38:09 AM11/11/10
to LoadRunner
Hi Chaitanya,

Thanks for your help,

these are the processes seems to be running during recording,
Vugen.exe, mstsc.exe, Magentproc.exe, Rdpclip.exe and ctfmon.exe
running in processes
do u know the exact name of the process for rdp-agent terminal
services?

I have also tried by uninstall/reinstall the hp software for software
agent
for Microsoft Terminal server' on both server & client and also permit
action by this in our internal security system. Even also checked by
stop the internal security system, but problem still as it is.

Please do needful.

Thanks,
Dipak

On Nov 11, 6:58 am, chaitanya bhatt <bhatt.chaita...@gmail.com> wrote:
> Do you see the rdp agent process in the Task Manager processes list in the
> AUT machine while recording?
>
> -Chaitanya M Bhatthttp://www.performancecompetence.com
> > > >http://groups.google.com/group/LR-LoadRunner?hl=en-Hide quoted text -

chaitanya bhatt

unread,
Nov 11, 2010, 12:03:14 PM11/11/10
to lr-loa...@googlegroups.com
When you replay/record an RDP script -- on the server you should have a process called "lrrdpagent.exe" spawned(for each Vuser) and should be visible in the task manager. If you don't see this process then there is a possibility that the rdp agent process is not compatible with operating system of the server.

-Chaitanya M Bhatt
http://www.performancecompetence.com

Dipak Darji

unread,
Nov 12, 2010, 1:58:37 AM11/12/10
to LoadRunner
lrrdpagent.exe process doesn’t ran on both server and client during
record/replay of the script even though ‘Use RDP-agent’ option
selected in recording options/run-time settings.

I am using the VuGen machine for recording through RDP (RDP client
version 6.0).
VuGen Machine OS: Microsoft Windows Server 2003 R2 SP2 standard
edition
Application machine OS: Microsoft Windows Server 2003 R2 SP2 standard
edition

Please do needful.

Regards,
Dipak

On Nov 11, 12:03 pm, chaitanya bhatt <bhatt.chaita...@gmail.com>
wrote:
> When you replay/record an RDP script -- on the server you should have a
> process called "lrrdpagent.exe" spawned(for each Vuser) and should be
> visible in the task manager. If you don't see this process then there is a
> possibility that the rdp agent process is not compatible with operating
> system of the server.
>
> -Chaitanya M Bhatthttp://www.performancecompetence.com
> > > > > >http://groups.google.com/group/LR-LoadRunner?hl=en-Hidequoted text

chaitanya bhatt

unread,
Nov 14, 2010, 11:19:13 PM11/14/10
to lr-loa...@googlegroups.com
Hmmm...i'm not aware of the LR version you're using.  Anyway, if the lrrdpagent.exe process in not spawning then the root cause for missing agent functions in your script is diagnosed. Just find a way to get the process up and running.If I were you I would start by uninstalling the agent and re-installing it.

-Chaitanya M Bhatt

Dipak Darji

unread,
Nov 15, 2010, 11:14:23 AM11/15/10
to LoadRunner
I am using LR9.51 with HP software agent for Microsoft Terminal server
of version 9.51.
Bit more on the issue, DEP settings are AlwaysOff for both VuGen and
application servers.
I have done some troubleshooting and found that script generated with
advance functions only for the very first session of recording after
restarting both the servers. For sub-sequent recording (‘Use RDP-
agent’ option selected in recording options/run-time settings)
lrrdpagent.exe process doesn’t get up during recording and generated
script doesn’t contain advance functions.
I have also uninstalled/re-installed the ‘HP software agent for
Microsoft Terminal server', however problem still persists.

Thanks,
Dipak

On Nov 14, 11:19 pm, chaitanya bhatt <bhatt.chaita...@gmail.com>
wrote:
> Hmmm...i'm not aware of the LR version you're using.  Anyway, if the
> lrrdpagent.exe process in not spawning then the root cause for missing agent
> functions in your script is diagnosed. Just find a way to get the process up
> and running.If I were you I would start by uninstalling the agent and
> re-installing it.
>
> -Chaitanya M Bhatt
>

chaitanya bhatt

unread,
Nov 22, 2010, 1:34:41 AM11/22/10
to lr-loa...@googlegroups.com
I happened re-collect another case where rdp and citrix agent process fails to spawn, which is: logging into the remote machines with user id's that don't have the priviledges to access/spawn the agent service. Check with your server administrator as to whether you have been provided with the right credentials required to work on the rdp agent process.
 
-Chaitanya M Bhatt
 

Dipak Darji

unread,
Nov 25, 2010, 3:47:53 AM11/25/10
to LoadRunner
Thanks for your help.
I am able to run the process (lrrdpagent.exe) manually while recording
and also user which i am using have been added in administrator
group.
I have also tried creating batch file and put this batch file in start
up of the machine for all users. This batch file checks the process
and run if not already running lrrdpagent.exe. It works for recording
with advance functions however in my case i need to autolaunch
application on connection. And in that way its not run the batch file
placed in startup of the all users.
Also the behavior of lrrdpagent.exe is random, some times it gets wake
up correctly during record/replay and most of the times it doesn't
wakes up.

Please do needful.
Regards,
Dipak

On Nov 22, 1:34 am, chaitanya bhatt <bhatt.chaita...@gmail.com> wrote:
> I happened re-collect another case where rdp and citrix agent process fails
> to spawn, which is: logging into the remote machines with user id's that
> don't have the priviledges to access/spawn the agent service. Check with
> your server administrator as to whether you have been provided with the
> right credentials required to work on the rdp agent process.
>
> -Chaitanya M Bhatthttp://www.performancecompetence.com
Reply all
Reply to author
Forward
0 new messages