Not able to run a Citrix script protocol from Controller, got an error 'Failed to get the session from the client"'Failed to get the session from the client"

  • KM01724575
  • 02-Jul-2015
  • 02-Jul-2015


When running a Citrix Script protocol in Controller we got an error message saying "Failed to get the session from the client". If we ran the script from vugen everything works fine.


When running vusers from Controller on 64-bit OS Load Generator, the following error message is logged : "Failed to get the session from the client".

The script runs properly in the VUGen machine where it was generated.


The necessary Citrix Registry Patch that must be installed (during LoadRunner installation, and every time the Citrix Client is changed) was installed in the wrong section. For 64-bit OS machines, it should be installed on the Wow6432Node path: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC" and "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\CCM".


In order to fix this problem, we need to navigate to <LR/VUGen/LG SA Installation Folder>\dat in CMD, and run the following command "c:\Windows\SysWOW64\regedit.exe Enable_Citrix_API.reg".