Thursday 12 December 2013

"Abnormal termination, caused by mdrv process termination" "Action.c(15): Error: Got unexpected disconnect event, exiting ..." citrix script issue in controller

While working with Multiple users with Multiple scripts in controller machine the users are directly going in to failed state.we will get the following error.we used LR 11.0 and  ICA is  Program Neighborhood( Citix Xen App)

"Abnormal termination, caused by mdrv process termination"
"Action.c(15): Error: Got unexpected disconnect event, exiting ..."


We do not recommend you run Citrix or other GUI VUsers on a controller used as a generator. Do you have a remote generator available you can use? It may work in an emergency or for a small number of vusers.
Please confirm you have Patch 2 applied to all your LR 11 components – as it is required; and please let me know the following:
- Citrix XenApp server version.
- XenApp Client version.
- If you are using the later XenApp client, you will need to run our LR agent as a process (by default it runs as a Windows service). 


Use this url : http://support.openview.hp.com-- because the LR agent is implemented slightly differently on a controller, I am not sure the workaround is applicable; you may try to run the agent process by executing magentproc.exe in LR\launch_service\bin. Again please do use remote generators for Citrix VUsers.

- On the controller (and any generator) we require you have the Citrix Registry Patch applied after you install LR and LR patches, and if your Citrix client is updated/re-installed. You can double-click the registry patch file we include with LR, in the product folder LR\dat 


– it is named Enable_Citrix_API.reg. If this patch is not applied before you record or replay you will have problems.

- are you using the LR Citrix agent on the Citrix server(s) hosting the app – if so, please let me know the agent patch level.


- can you launch multiple instances of the Citrix app from the controller using your ICA file or program neighborhood agent (or Citrix web interface) – outside of VuGen, in the same user console session on the controller?


- Does your Citrix server(s) have the ICA connection settings set to “terminate session” when the session is disconnected? If you don’t have this set, if the sesssion terminates or dies unexpectedly, the second time it is launched/ran, will re-connect to that application in the same state. Setting “terminate session” is needed for load testing and your Citrix admins can help configure it on the Citrix servers.


- If installing the registry patch or running the agent as a process doesn’t’ help, and if you can launch multiple instances of the app from the same client outside of VuGen, please upload to the case:

  • your script, replayed with full extended logging (all three extended log options) – plus “always send messages”.
  • your ICA file used to launch your app
  • all of the info above.