How to Capture UI response time using Loadrunner Citrix ICA protocol

285 views
Skip to first unread message

Rajiv kumar

unread,
Feb 9, 2012, 2:03:26 AM2/9/12
to lr-loa...@googlegroups.com
Hi All,
I am using Citrix ICA protocol to test an application published on Citrix Xenapp server. While recording I had transaction for each steps in the script but when I replay the script, I observed that the transaction is getting completed before actual UI screen displays.

I want to measure the actual time to display the UI.Is there any option/function available in loadrunner to capture the actual UI response time or any work around to verify the screen to measure the correct response time ?

Could someone help me in this regards.

Thanks,
Rajiv

Jeff Stewart

unread,
Feb 10, 2012, 9:49:44 AM2/10/12
to LoadRunner
Hi Rajiv,

There's a few ways.

- Check for window title changes, that's a nice easy way.
- Wait for a section of the screen to become (bitmap) what you expect.
- Wait for a second of the screen to change (from what it was just
before you clicked/keyed/etc.).

Hope that helps,

Jeff Stewart

raj

unread,
Feb 12, 2012, 10:26:00 AM2/12/12
to LoadRunner
Hi All,

I agree with Jeff's comment. There are functions in LoadRunner Citrix
script to look for Window changes, Bitmap changes etc.. which will
help you to wait until the screen is rendered properly and validate
the response time. However, this type of Citrix scripts are very
sensitive to to the Window co-ordinates, system resolution..

What does that mean?

Let us assume if you have picture "computer" in your applicaiton
window. When you recorded the script if it is in (x,y) co-ordinate say
(600, 800).
You add the bitmap change function with this assumption to validate
the screen changes while replaying and wanted to capture the response
time. But while replaying the script, if the window position changes
in the application picture position will change say (610,810). In that
case your replay script can't capture the screen change though screen
has rendered properly with a change in co-ordinates.

So it is is senstive to your screen..

There is an alternative..LoadRunner has another way of recording
called Citrix agent..which will help to record the window and its
attributes as objects which will solve the above mentioned
challenges.




thanks
Raj
https://performancetestingfun.googlepages.com

Rajiv kumar

unread,
Feb 12, 2012, 12:09:41 PM2/12/12
to lr-loa...@googlegroups.com
Hi Jeff, Raj

Thanks a lot for your suggestion, I had tried to capture the response time using ctrx_sync_on_window function in my script which was working in few transaction but in some case it wasn't waiting till the actual screen displays, reason could be change in X,Y co-ordinate while running the script.Is there any other function, which I should try to validate the screen ? Needed some more help, as I am new to this protocol.

I will explore the other option by using Citrix agent to capture the actual response time in LR.

Thanks Again,
Rajiv

--
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

Harish Raj

unread,
Feb 14, 2012, 7:14:13 AM2/14/12
to lr-loa...@googlegroups.com

Hi Rajiv,
I have worked in this protocol and it needs loads of patience...anyways never rely on bitmap checks or window name changes...all you can do is put a lot of think times in b/w transactions....and if you need to know the actual response time you can use QTP to generate a script and run it under multiuser mode.I dont have any idea about dynatrace,fiddler equivalent for citrix based apps...let me know if you need anymore details...

Cheers,
Harish Raj

Sent via Galaxy S2

Rajiv kumar

unread,
Feb 14, 2012, 11:57:35 PM2/14/12
to lr-loa...@googlegroups.com, hari...@gmail.com
Harish,
Our requirement is to capture the UI response time of an application published on Citrix Xenapp, and benchmark the Citrix Hardware configuration to handle a specific user load. I am not sure, using QTP, we would able to test Citrix Xenapp published application. What's your suggestion ?.
 
Thanks,
Rajiv
Reply all
Reply to author
Forward
0 new messages