Citrix multi-protocol fun all over again
Loadrunner 12.02 VuGen (latest version)
Mixed protocol script (Citrix & Web/HTTP)
Citrix XenApp 6.5 client (Receiver) [I believe this to be correct]
Win 7 Pro SP1
IE 11 64-bit
Problem 1: Upon recording via mixed protocol I'm getting asked by the server to install the latest Citrix Receiver application (which is already on my machine). This causes me to click on the link for Login page anyway. After that my desktop session starts and I can record against it. Recording saves and looks good.
*Note: when I launch the web page by hand it doesn't kick up this web page, it goes straight to Login page.
Problem 2: Playback of recording. Upon playback I'm getting an error about the page asking me to download the latest Receiver. I get a 403 HTTP Status code (I know, access forbidden but why). It doesn't seem to understand the click on the link to the Login page.
My questions are first, what is causing the Receiver download page to pop up. I launch IE 11 to the page for the Citrix Login via the Recording engine in VuGen so I would assume this is fine. Second, upon playback why isn't LR handling the page right and causing the 403 error code to pop.
Finally, for anyone who has worked with the XenApp stuff please give me an idea of how to properly call the Receiver app like we used to do with ICA Client. If I can just do a straight up script via Citrix protocol alone by starting the ICA Client Desktop I'll be really happy. Admittedly it has been a few years since I've done Citrix performance testing, and with the changes Citrix has done I'm not all up to speed. So be nice about my ineptitude on this one.
Okay, so no responses...
Anyway, did some back tracking. I'm now just using a single protocol setup wtih the Citrix-ICA protocol. I believe I've got things right for the Server & Domain formation. The Server appears to be listening on Port 1494 ('ServerIPAddress:1494') and looking at Citrix online help that appears to be okay.
I've tried both Record Parameters and ICA File options. I'm going straight in with the Receiver client (what used to be the old ICA Client) itself and am getting "the citrix xenapp server you have selected is not accepting connections" error message.
From reading the Citrix forums discussions I could find I surmise it might be a Firewall issue. Anyone agree or think otherwise? Let me know. Thanks.
Alright then... update on situation. The Citrix environment I'm working against is setup in the new architecture format where you have true VM's (not Terminal Server sessions), or VDI's, running on a set of servers that host them (like VMWare ESX Server does) and then you have a "Broker" server(s) that allocate (provision) those hosted VDI's to the user. The front-end can be a web page (StoreFront) or a client (Citrix Receiver, like the old ICA-Client) that requests the session (Desktop or VM, or hosted application). As part of the Broker setup/configuration you set certain privileges that are used for a session based on the user.
All-in-all this causes issues for LoadRunner VuGen, and eventually Citrix Agent, in getting the session properly started up, hooked and allowing VuGen to record/playback correctly. I've put in a ticket to HP for help on explaining how they support the new Citrix Architecture and if the existing LoadRunner software can work with that setup.
So once I get this figured out I may be creating and publishing a new Tips & Tricks for LoadRunner Citrix testing. The old doc from the Mercury CSO days is no longer valid.
Hey, Jim. Wish I could be of help. Thanks for posting this stuff. And I really with this place had more traffic.
I've only ever used the single Citrix protocol, never the Web combo one. And yes, 1494 always seems to be the "magic" port for connecting to Citrix.
I REALLY wish HP would update the tips/tricks documents for Citrix and TruClient.
Alrighty people... I've got a decent (not perfect) solution for this one. With a little help from another consultant working the same type of problem on another project at the client company we've come up with a way to handle a Multi-protocol script (Web-HTTP/HTML & Citrix-ICA) for launch and run of the XenDesktop VDI session.
I'll post it once I get it fully documented. My next step is to see how the LR Citrix Agent works in the mix and how much, and what, can be monitored for Citrix itself. Give me another week or so.
I'll create a new "LoadRunner Citrix Tips & Tricks" guide.
Jim, I'd LOVE to see that new document! The old HP one is getting really dated.