Load runner RDP Protocol:
Loadrunner RDP scripts will not always replay smoothly.In my experience, I have collected some tips, which might save your time and effort.
I have created rdp scripts for WPF(Windows Presentation Framework) applications. We couldn't find any other Load testing tool,which supports WPF applications.
Here are few tips I would like to share.
Loadrunner RDP scripts will not always replay smoothly.In my experience, I have collected some tips, which might save your time and effort.
I have created rdp scripts for WPF(Windows Presentation Framework) applications. We couldn't find any other Load testing tool,which supports WPF applications.
Here are few tips I would like to share.
- Make sure we have installed LR RDP agent on the machine , for which we are connecting through RDP.
- Use RDP agent, while recording the application in RDP Protocol,so that we can use all synchronization functions in RDP Protocol
- Minimize your scripting with keyboard short cuts, instead of using mouse clicks.
- Minimize the number of times you login and logout of RDP.
- Make sure you have sufficient licencing to cover the number of RDP sessions
- While navigating to the application use tabs instead of using mouse clicks
- Make sure to add a sync_on_image function before sync_on_agent function.
- Don't add many sync_on_window functions, which will consume more time while executing
This comment has been removed by a blog administrator.
ReplyDeleteGood one!! It is very useful
ReplyDeleteGood one
ReplyDeleteUseful tips
ReplyDeleteHi
ReplyDeleteI am trying to record a thick client application installed in remote machine, But Vugen is unable to record any events
I am using Virtual user Generator 12.02.0.0 installed in Windows 7 Enterprise - Service pack 1
Thick client application is installed in Windows Server 2012 R2, This machine is access through RDS Gateway
In both RDP client version was
Shell Version 6.3.9600
Control Version 6.3.9600
Remote Desktop Protocol 8.1 supported
CASE 1 : In RDP protocol recording option, we used RDP client Startup (Use Custom Connection file) and gave the .RDP file for recording, We were able to connect to the remote machine but no events got recorded in script
CASE 2 : when tried with option 'run RDP client application', and Give Rds gateway in advanced options of mstsc we were not able to connect to remote machine
Output :
New event: wplus_gethostbyname
New event: wplus_gethostbyname
New event: wplus_gethostbyname
New event: wplus_gethostbyname
New event: wplus_gethostbyname
New event: wplus_gethostbyname_ipng
New event: wplus_gethostbyname_ipng
New event: wplus_gethostbyname_ipng
New event: wplus_gethostbyname_ipng
New event: wplus_gethostbyname
New event: wplus_connect
wplus_connect
Host name: proxy.corp.com:80
New event: wplus_close
Close connection
CASE 3 : when we tried to connect to other local machine in same LAN, we were able to connect and record the events
Has anyone faced RDP recording issue as above ? Please help
Hi Mani,
Delete1. Is RDP agent installed on the remote server, where you are recording the application.
2. If not install RDP agent and make sure, version of loadrunner and RDP agent are same.
3. We might run into issues, if version is different
Check if there are any network related issues, like firewall settings etc.
4. You can give a try,just by recording notepad,or word document, like opening a file write some thing and then save.
5. If recording of these windows, applications are successfull, then there might be issue with your application.
6. while recording your application using RDP protocal, see lrrdpagent.exe process is up and running on the remote machine
let me know,if you still face any issues.
Thanks,
Suma
Hello Suma
ReplyDeleteCould you please temme how we can download rdp agent to install on the remote server.
You are really great... saved my lot of effort
ReplyDelete