LoadRunner : Agent Channel, Number of events and redirection depth
LoadRunner ErrorsA). Error: Failed to create Agent Channel (CITRIX ICA)Error: "failed to create agent channel” during Citrix recording with Citrix During Citrix Recording or Replay with Citrix Client 10, we may encounter the following Error: "failed to create agent channel". To solve this problem, Follow the following step Open a notepad and copy paste the following entries to it: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC] "VirtualChannels"="" [HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC] "VirtualChannels"="" Save the notepad on desktop as a .reg file (like "citrix.reg") Then close the notepad and go to desktop and double-click the file you saved. It will add the entry to your registry. After that re-login to your windows session and record the application again. Error: Failed to create Agent channel. This may be due to a missing registry key. Make sure relevant patches are installed. To solve the problem in Vugen: To solve problem in LG: Firstly Uninstall LG , install Citrix plug-in, then install LG again. B). What if the number of events does not increase/nothing gets recorded in Vugen load runner? While recording in load runner Vugen some of the events are not recorded? Following could be the probable reasons: 1. The selected protocol might not be correct 2. The action currently recording does not use the protocol that is being specified in the script. The number of events will not increase till it comes across the protocol that is specified. 3. The activities that are taking place are client side and not server side. This will not get recorded. C). Issue in replay due to redirections (redirection depth=0)If your application have redirections in URLs then you might find some issues while replaying as shown below: "Action1.c(x): Redirecting "http://PQR.XYZ.ABC.com " (redirection depth=0) "Action1.c(x): Error: Failed to connect to server..." This happens because the redirection depth is set to zero. There are 2 ways to change this value; one is to change the config file or using a function in your script. The first option is mentioned below: 1. Go to the \template\qtweb directory. 2. Edit default.cfg using a word editor. 3. Locate the [web] section. 4. Add the entry for MaxRedirectionDepth. MaxRedirectionDepth=x; where x is the number of redirections desired. Perform the above steps for the default.cfg in script folder also. The second option is to use the web_set_option function as shown below: web_set_option("MaxRedirectionDepth", "4", LAST); // Sets the maximum redirection depth to 4. | ||
FIND MORE ON LOAD RUNNER TIPS |About Load Runner |Creating scripts in Load Runner |Load Runner scenario |LR Analysis |Performance Tuning |Performance Testing |LR Errors |Interview Question |Load Runner Tool |Correlation Practice |Site Map | |