Tuesday, 4 March 2014

Not able to record the CITRIX application with the citrix protocol

Problem detail:  

We have a requirement to script an application called CPFA which is a citrix based one. But I couldn't record using this protocol.

Load runner Version: 9.52

Please find the attached document for the workflow.

Please suggest.

Problem Solution: Usually, recording the Web part of the script causes the ICA specification to be returned in a response from the Citrix server (at least – that is what our product needs). The ICA file is saved on the disk and is specific to that session. But this time I don’t see ICA specifications in the responses!

Somehow, that additional iexplore.exe IE explorer process (under sitescope# user) -- is being injected into the recording blocking the proper recording.

When you login to the web interface (outside of VuGen) and right-click on the application icon – can you save the ICA file to the disk “save target as…” -- and if so, you should be able to open it in Notepad. It should have a long list of name/value pairs. You could then change the “RemoveICAFile=Yes” to “RemoveICAFile=No” – save the ICA file, and then double-click on the ICA file to launch the app by the ICA file. Or, your Citrix admin should be able to provide an ICA file for testing.

Below is an apparent redirection which halts the successful download of the ICA specification apparently:

GET /Citrix/AccessPlatform/site/launcher.aspx?NFuse_Application=Citrix.MPS.App.NBCUNI_PM45_Prod.CPFA%20Archive&LaunchId=1294763474400 HTTP/1.1

HTTP/1.1 302 Found

Location: /Citrix/AccessPlatform/site/launch.ica?NFuse_Application=Citrix.MPS.App.NBCUNI_PM45_Prod.CPFA%20Archive&LaunchId=1294763474400&NFuse_AppFriendlyNameURLENcoded=CPFA%

<html><head><title>Object moved</title></head><body>

<h2>Object moved to <a href="%2fCitrix%2fAccessPlatform%2fsite%2flaunch.ica%3fNFuse_Application%3dCitrix.MPS.App.NBCUNI_PM45_Prod.CPFA%2520Archive%26LaunchId%3d1294763474400%26NFuse_AppFriendlyNameURLENcoded%3dCPFA%2520Archive">here</a>.</h2>

</body></html>

Below this all I see is the disconnect when recording was stopped. The Excel app does display but VuGen does not know anything about it because we never really do connect to Citrix.

1 comment: