03-28-2014 01:57 PM
I am using VUGen v 12 to access apps through a Citrix storefront presented in a browser, using IE,
I record using Citrix ICA and HTTP. The entire recording executes without trouble. Playback does not work – ending with web 403 error at a web_submit_data statement. Access denied to a folder. With testing, I also get a 403 error at web_custom_request. This Is only on playback.
Record options are set to use “explicit URLs only”, not the “user actions” choice. Playback options include setting “WinInet replay instead of Sockets (Windows only)”.
Playback does not work even if I do not open the target application. I get the error even if the only thing I do is open the web storefront.
What can I do to diagnose and resolve this roadblock?
Solved! Go to Solution.
03-31-2014 12:43 PM
When the recording completess, LoadRunner/VUGen tells me that no correlation occurrences were found. I do not see any referecnce to "sessionid" in the script. If correlation variables are in the headers, how do I get to them and parameterize them?
03-31-2014 12:53 PM
03-31-2014 01:09 PM
In some of the snapshots of script creation, I see asp.net_sessionid=xxxxxxxxxxx,
I don't know how to parameterize the asp.net_sessionid in the thumbnail. Is this displaying header content?
03-31-2014 01:59 PM
03-31-2014 02:20 PM
ok - I'll try that. Correation was on my list of suspects, though I am not familiar with workig with headers.
I don't know the difference between the two calls but will find out. Per requirements, I just need to make the Citirx Storefront wokr like a polite little box, which in our app is green.
Thanks for several advices.
04-01-2014 08:49 PM
I looked at the syntax for the web_add_header. It looks like it is
web_add_header (<object name>, <object value>)
and it just gets added to other header objects.
I don't really know what is in the header. If a sessionid is in the header, I don't understand the result of adding the sessionid again. Does it get inserted before or after other other header objects?
I tried using web_save_header to see header contents and playback said the header was saved in a message, but I did not see how to display the message. How do I see the message?
Are there functions for paramterizing values, specifically sessionids or vales that act like sessioids? I only know about form variables that I can paramterize by highlighting in a script.
04-03-2014 05:47 AM
I changed my approach, so not really solved but not attacking the problem from a different angle. I am by-passing the Citrix storefront and using the Citrix ICA file sent by the server. With this approach, results seem to change from trial to trail. I suspect 1. the state in which I left the previous record/replay is affecting the new replay - maybe because of our Citrix and server configuration, and 2. minute differences in paths changes replay results. These might require inserting functions. Example: previous run replayed ok, this run sticks at a Start window and error mentions window not active - this might just need a function like lr_focus, which I need to reseach now.
A teammate tells me that Citrix replay sometimes needs a lot of attention after the recording is made in order to produce a script suitable for testing multiple users.....
So, for now, with mixed results, I am using a workaround instead of a solution and will return later.