+

Search Tips   |   Advanced Search


Citrix performance testing guidelines

Citrix performance tests use synchronization mechanisms to replay the tests on multiple Citrix sessions independently of server performance.

These guidelines will help you record a reliable test and avoid synchronization timeouts during test execution.

Ensure that you have a working Citrix client environment and that you can connect to a Citrix server.

The most efficient recording method is to specify a published application or a server in the recording wizard. It is preferable to specify login credentials in the wizard instead of recording the login sequence as part of the test. Verify session that you are recording will be reproducible.

To record tests that can be reliably replayed

After recording, and while you edit the test, perform regular verification runs in order to validate the test with a single user. After each run, open the test log to verify that the test synchronizes correctly. If necessary, change the synchronization level from Mandatory to Conditional or Conditional to Optional on window events or image synchronizations that produce unnecessary timeouts. Only deploy the test on virtual users or run it in a schedule when the test is robust enough to run flawlessly with a single user.


Rational Agent Controller requirements

By default, the Rational Agent Controller is launched as a process whenever the workbench records or runs a test. However, if you installed the optional Rational Agent Controller service and to use RPTv8 in a Remote Desktop environment, manually launch the Rational Agent Controller as a process before recording or playing Citrix performance tests.

You must launch the Rational Agent Controller each time you log in to Windows.


Optical Character Recognition

You can use optical character recognition when performing image synchronizations. This allows the test to synchronize itself by recognizing the contents of a screen area. In some cases, the software can fail to correctly recognize portions of text or letters.

To improve results of the optical character recognition, follow these guidelines:

When recording image synchronizations with optical character recognition, accuracy of the recognized text is not essential. It is only important that the recognized text is consistent each time the test is executed for the test to synchronize.

For example, if a portion of text is displayed as "Hello" on the screen, and recognized as "He110" in the recorded test, you should not attempt to correct the value in the image synchronization test element, because the same result should occur when the test is executed for the test to synchronize.


Long duration test runs

When running long duration test schedules that exceed 24 hours, use the long run mode to reduces resource consumption with the Citrix client. This mode increases the reliability of long duration test runs by running the tests in multiple process. You must enable this option for each user group in the schedule.

In long run mode, a new process is created for each virtual tester.


Related

  • Citrix synchronization overview
  • Record a Citrix test
  • Record a test with the Citrix Web Interface
  • Insert a new recording into a Citrix test
  • Change Citrix recording preferences
  • Change Citrix test generation preferences
  • Running long duration tests