Recording a Citrix test
You can record a Citrix session with the Citrix XenApp or XenDesktop. When you record, the recording wizard automatically starts the client and configures it for recording. When you have finished recording the session, the wizard generates a Citrix performance test.
Before you begin
- Install Citrix Receiver and connect to Citrix XenDesktop.
- The behavior of the recording wizard is controlled by recorder preferences. To inspect the current settings, click Test, and click Citrix Recording. This procedure assumes that default settings are used. , expand
- After you record a test or when you run a test, the Citrix Image Synchronization tab does not display the captured screenshot for Actual Image. The bitmap hash code also varies for the actual and expected screenshot. You must use the bitmap hash code of the Expected Image for Actual Image. To do that, in the Citrix Image Synchronization, click the Add Value icon and click Yes in the confirmation message. The Image Synchronization entry is added to the test. Save the test.
- By default, Test Performance Agent
starts as a service. If you run a Citrix test on an agent, you must start Test Performance Agent as a process. To start an agent as a process:
- Open the Windows Services window.
- For the Majordomo service, change the Startup Type to Manual and then change the Status to Stop.
- From the agent's installation directory, open the Majordomo folder, and double-click the Majordomo.exe file.
About this task
You can record and generate a Citrix test using a Citrix client such as Citrix Workspace
App or Citrix Receiver.
Note: If your Citrix administrator configured
a Citrix Storefront or Web-interface to launch applications, you can skip the following
steps and see Recording a test with the Citrix Web Interface.
Procedure
Perform the following steps to record a Citrix test:
- In the Performance Test perspective, click the New Test from Recording toolbar button or click .
- In the New Test from Recording wizard,
select Create a test from a new recording,
select Citrix Test, and click Next.
If you are recording sensitive data, you can select a Recording encryption level.
- On the Select Location page, select
the project and folder locations to contain the new test, type a name
for the test, and click Next.If necessary, click the Create Parent Folder push button to create a new project or folder.
- On the Citrix Connection Settings page,
specify how to connect to the Citrix server. Complete one of these
tasks:
- If your Citrix administrator provided you with an ICA file, complete these steps:
- Select With ICA file to use its settings to connect to the server.
- Click Browse to locate and select the ICA file on your computer.
- Click Next to continue.
- If you want to manually specify the Citrix server to use for the session, complete these steps:
- Select On server to connect directly to the server.
- Specify the name or IP address of the server or click Browse to locate a server or server farm on your local network.
- Optional: If you need to change the Citrix farm parameters, click Farm Settings.
- To record a Windows™ desktop session, leave Initial program blank.
- If your Citrix administrator published applications on the network, complete these steps:
- Select On published application, and click Browse to choose the application from the list of published applications on the server or server farm.
- Optional: If you need to change the Citrix farm parameters, click Farm Settings.
In this case, the server farm performs the load balancing and selects the server automatically.Note:The on-server and on-published application options do not work during recording if you are using Citrix Workspace App as the client.
- To make the logon sequence part of the session parameters,
select Logon with user-specified credentials,
type your credentials, and specify the domain name. If this option
is disabled, your credentials are recorded as part of the logon sequence
during the recording.Note: If you use the With ICA file option and the ICA file contains the LogonTicket command, even after you type your credentials as part of this step, you must type your credentials again on the Citrix server to start a Citrix test. To avoid entering credentials twice, you can manually remove the LogonTicket command from the ICA file.
- Click Next to continue.
- On the Citrix Session Preferences page,
you can provide a description for the test, change the video settings,
encryption mode, and advanced options for the Citrix XenApp client.
Click Next to continue.Note: Because Citrix performance tests are based on low-level interactions with the server, including mouse and window coordinates, the Citrix desktop must be large enough to support the application under test. You must particularly avoid scrolling windows during the recording.
- If this is the first time you record a Citrix performance test, read the Privacy Warning, and then select Accept to proceed.
- To start the recording, click Finish.
The Citrix Recording window opens, displaying the Citrix XenApp session and a set of recorder controls.
- In the Citrix Recording window, complete
the tasks to test.You can use the recorder controls in the toolbar to add comments, record synchronizations, or take screen captures during the recording.
-
When you have completed the sequence of actions to be tested, close the session, and
stop the recorder by clicking the Stop recording icon .
A progress window opens while the test is generated. On completion, the Recorder Control view displays the Test generation completed message, the Test Navigator lists your test, and the test opens in the test editor.