Creating a Citrix Web Interface Test Script

The easiest approach to creating a test script for a Citrix Web Interface session is to use the Silk Performer Recorder, the Silk Performer engine for capturing and recording traffic and generating test scripts.

The Silk Performer Recorder captures and records traffic between a Citrix Web Interface client application (Internet Explorer, version 5.5 or higher) and the server under test. When recording is complete, the Silk Performer Recorder automatically generates a test script based on the recorded traffic. Scripts are written in the Silk Performer scripting language, Benchmark Description Language (BDL).

  1. Click Model Script on the workflow bar. The Workflow - Model Script dialog box appears.
  2. In the Recording Profile list, select Citrix Web Interface. The Citrix Web Interface recording profile is only appropriate for testing Citrix Web Interface/NFuse sessions.
  3. Click Start recording.
  4. The Silk Performer Recorder then opens in minimized form along with Internet Explorer. Enter the name of the Citrix server in the Internet Explorer Address field and click Enter. To see a report of the actions that occur during recording, maximize the Silk Performer Recorder dialog by clicking Change GUI size on the Recorder toolbar.
  5. To log into the Citrix Web Interface, enter your Username, Password, and Domain into the Citrix Web Interface login screen. Contact your system administrator if you do not have this information.
  6. Click Log In.
  7. The application portal appears. This portal contains the applications that have been published for shared use. Select the hosted application you want to record.
  8. The hosted application appears in the Silk Performer Citrix Recorder. Interact with the shared application in the Citrix Recorder in the same way that you want your virtual users to behave during the test. Your actions will be captured by the Citrix Recorder and generated into a BDL script.
  9. When you close the application the Citrix session disconnects and you can save your recorded script.
BDL scripts of recorded Citrix Web Interface sessions are multi-protocol scripts that include a small number of Silk Performer Web functions.