Citrix Tips & Tricks

  • View
    9.586

  • Download
    0

Embed Size (px)

Text of Citrix Tips & Tricks

4/23/2003 LOADRUNNER CITRIX TIPS & TRICKS

REQUIREMENT...............................................................................................................2 For LoadRunner7.51 ..................................................................................................2 For LoadRunner7.6 and above:..................................................................................2 HOW TO FIND OUT THE CURRENT CITRIX SERVER VERSION ......................2 For MetaFrame XP:....................................................................................................2 For MetaFrame 1.8:....................................................................................................2 WHAT CITRIX METAFRAME VERSIONS DOES LOADRUNNER SUPPORT....2 WHICH CITRIX CLIENT TYPE DOES LOADRUNNER SUPPORT?....................3 For running Vusers as threads:...................................................................................3 For running Vusers as process:...................................................................................3 COMMON PROBLEMS...................................................................................................4 Record..........................................................................................................................4 Replay..........................................................................................................................8 BITMAP SYNC INFORMATION.................................................................................14 256-Colors settings....................................................................................................15 Windows Terminal ....................................................................................................15 CITRIX FUNCTIONS ADDITIONAL INFORMATION........................................15 COMMON PRACTICE..................................................................................................16 REQUIREMENT FOR CITRIX MONITOR...............................................................17 ADDITIONAL INFORMATION...................................................................................17

1

4/23/2003

RequirementRecording against Citrix ICA client is supported starting with LoadRunner 7.51.

For LoadRunner7.51a. Install LoadRunner 7.51 and apply the liveupdate (SP1) b. Install Citrix_ICA_Add-in.exe patch from LoadRunners patches database under LoadRunner LR7.51SP1 Citrix LR751SP1P1 c. Install Citrix client (6.30.1060.zip) and Citrix_patch_27.exe from LoadRunners patches database under LoadRunner LR7.51SP1 Citrix LR751SP1P27

For LoadRunner7.6 and above:The Citrix Vuser type will be supported out of the box. However, you need to go to the add-ins Citrix Client folder on the CD to install the Citrix client.

How to find out the current Citrix server versionInside the Citrix Connection Configuration click on Help -> About. It should mention somewhere in the window the current MetaFrame server version and any SP or FR applied. To get to Citrix Connection Configuration,

For MetaFrame XP:Click on Start -> Programs -> Citrix -> MetaFrame XP -> Citrix Connection Configuration.

For MetaFrame 1.8:Click on Start -> Programs -> MetaFrame Tools -> Citrix Connection Configuration.

What Citrix MetaFrame versions does LoadRunner supportLoadRunner supports both MetaFrame XP and 1.8: 1. For MetaFrame XP, all versions (a, e and s) are supported. You must have at least Feature Release 1 (FR1) applied on top of MetaFrame XP in order for LoadRunner to support your environment. Citrix MetaFrame XP comes in three flavors: XPs - Standard Edition - Designed for departments or workgroups XPa - Advance Edition - Designed for medium businesses XPe - Enterprise Edition - Designed for the enterprise business

FR = Feature Release. This is basically a service pack, which is used to correct current problems and new product features that were unavailable before. 2. For MetaFrame 1.8, you must have SP3 applied on top of it in order for LoadRunner to support your environment. 2

4/23/2003

Which Citrix client type does LoadRunner support?LoadRunner support the Win32 ICA client and Nfuse client. You must go to the Mercury Interactive Customer Support website to obtain the Citrix ICA client provided by Mercury Interactive that includes the testing APIs. Refer to the Requirement section for further information. As of current, LoadRunner does not support the ICA Java client. However, since the communication between the Java client and the Windows client in identical, using the Windows client will simulate the same load on the server.

Citrix Memory FootprintFor running Vusers as threads:Mdrv Wfica32.exe Summary Swap per user 0.42 MB 5.9 MB 6.32 MB Ram per user 0.43 MB 7.3 MB 7.73 MB

For running Vusers as process:Mdrv Wfica32.exe Summary Swap per user 4.9 MB 5.5 MB 10.4 MB Ram per user 5.9 MB 7.3 MB 13.2 MB

3

4/23/2003

Common ProblemsRecordQ. When recording against a Citrix Nfuse website using Multi-Protocol, after clicking on the published application icon to create a connection to the Citrix server, an SSL Certificate Error appeared. To get past the errors please do the following: a. In the port-mapping tab, delete the current entry for port 443 and add the following 2 entries as shown:

R.

b.

The port-mapping tab should look like the following after both entries are entered:

c.

Record a new script and the error should not occur again.

4

4/23/2003 Q. R. During recording, there is a window titled ICA Seamless Host Agent that pops up. When manually logging into the application there is no such popup. This popup is a result of the mode that VuGen is recording in. The Citrix solution requires that LoadRunner record in this mode. This is an informative window popup and not an error. To work around it, simply click on OK and it will go away.

Q. During recording, VuGen launches the Citrix ICA client but NOTHING is recorded. R. This happens when you have your own Citrix client installed on the recording box in addition to Mercurys. Go to the Control Panel and uninstall ALL PREVIOUS Citrix ICA and Citrix Web clients on the box PRIOR to installing Mercurys.

Q.

VuGen cannot launch the Citrix ICA client during a Citrix recording. When launching the application, the following error pops-up

R.

You will get the error if you are recording against your own Citrix client instead of LoadRunners Citrix client (runDlg.exe) thru VuGen. The solution is to specify the path to \bin\runDlg.exe in the Program to record field, and have \bin in the Working directory.

Q. Internet Explorer disappears during a Multi protocol Nfuse recording as soon as the Citrix ICA client is launched. R. Check to see if the machine has been set up to record against multiple processes. Go to the registry editor to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsAppInit_DLLs and check to see if its pointing to bbhook.dll. If it is then remove the entry and then reboot the machine. 5

4/23/2003

Q. R.

Internet Explorer disappears or crashes during a Multi protocol Nfuse recording as soon as the browser is launched. Check to see if the machine has any Anti-Virus software running. Try shutting down the Anti-Virus services. If you have McAfee Anti-Virus installed, shut down the following services: AVSyncManager McShield

If you have Norton Anti-Virus installed, shut down the Norton Antivirus service from the services menu. For Windows 2000 machine, go to Start -> Settings -> Control Panel -> Administrative Tools -> Services. For Windows NT machine, go to Start -> Settings -> Control Panel -> Services.

Q. R.

The Citrix ICA client window is minimized after it is launched during recording. Clicking on the icon on the taskbar does not bring it up. Right click on the Citrix ICA Client icon on the taskbar and select maximize. This will bring the client back to the restored view. Adjust the window size as necessary. Do not minimize the Citrix ICA Client window during replay, as this will cause the same problem to occur again.

Q. R.

The Recording Options in VuGen is NOT reflecting the changes being made in it. The user changes the information, clicks on OK, but when going back to the Recording Options the information is still not changed. Click on the Use Defaults button to clear the information and then re-enter it again. Or, you can go to the LoadRunner\dat directory and look for citrix_ro.ini. This file contains information from the Recording Options. Make sure the changes are being reflected here.

Q. Recording against a drop down menu does not work. During replay it fails on the ctrx_mouse_click when it is supposed to select an item from the drop down. R. Use arrow keys instead of mouse click to select an item from the drop down during recording.

Q. When performing bitmap sync during recording, the following error pops up: 6

4/23/2003

R. Make sure that you are not connecting to another Citrix server within the first Citrix session. If this is true, then the hashing mechanism will not work and you will see an error. This is because an ICA session cannot create an OffScreen surface when embedded in another ICA session. It is this OffScreen mechanism that allows the Screen Capture/hashing functionality

Q.

When recording a Citrix ICA script, only 3 events are recorded. Afterwards, mouse click movements are not being recorded. When logging off, the server gets the following error:

R.

This can happen when the OS that LoadRunners installed on is NT 4.0 SP6. Please connect to the Citrix server with