SilkPerformer Citrix Tutorial - Borland Technical Publications
SilkPerformer Citrix Tutorial - Borland Technical Publications SilkPerformer Citrix Tutorial - Borland Technical Publications
4 TESTING CITRIX WEB INTERFACE SESSIONS Creating a Load Test Script Creating a Load Test Script The easiest approach to creating a load test script for a Citrix Web Interface session is to use the SilkPerformer Recorder, SilkPerformer’s engine for capturing and recording traffic and generating test scripts. The SilkPerformer Recorder captures and records traffic between a Citrix Web Interface client application (MS Internet Explorer, version 5.5 or higher) and the server under test. When recording is complete, the SilkPerformer Recorder automatically generates a test script based on the recorded traffic. Scripts are written in SilkPerformer’s scripting language, Benchmark Description Language (BDL). Procedure To model a load test script for a Citrix Web Interface session 1 Click the Model Script button on the SilkPerformer Workflow bar. 2 The Model Script dialog appears. Select Record in the Script area of the dialog. 3 From the Select application profile list box, select Internet Explorer. Note Internet Explorer application profile is appropriate for testing Citrix Web Interface/NFuse sessions only (for standard Citrix client recording, see “Creating Test Scripts”). 4 Click OK. 5 The SilkPerformer Recorder then opens in minimized form along with Internet Explorer. Enter the name of the Citrix server in Internet Explorer’s Address field and click Enter. Note To see a report of the actions that occur during recording, maximize the SilkPerformer Recorder dialog by clicking Change GUI size on the Recorder’s toolbar. 6 To log into the Citrix Application Portal, enter your Username, Password, and Domain into the Citrix Web Interface login screen. Contact your system administrator if you do not have this information. 7 Click Log In. 8 The Application Portal appears. This portal contains the applications that have been published for shared use. Select the hosted application you wish to record. 50 SilkPerformer Citrix Tutorial
4 TESTING CITRIX WEB INTERFACE SESSIONS Creating a Load Test Script 9 The hosted application appears in the SilkPerformer Citrix Recorder (MS Word is shown in the example below). Interact with the shared application in the Citrix Recorder in the same way that you want your virtual users to operate during the load test. Your actions will be captured by the Citrix Recorder and generated into a BDL script. 10 When you close the application the Citrix session will disconnect and you can save your recorded script. Citrix Web Interface scripts BDL scripts of recorded Citrix Web Interface sessions are multi-protocol scripts that include a small number of SilkPerformer Web functions. See SilkPerformer Online Help for complete details regarding available Citrix and Web functions. SilkPerformer Citrix Tutorial 51
- Page 3 and 4: Contents Introduction 1 Overview .
- Page 5 and 6: Introduction About these tutorials
- Page 7 and 8: INTRODUCTION Support for Citrix Ter
- Page 9 and 10: INTRODUCTION Support for Citrix Ter
- Page 11 and 12: 1 Defining 1Chapter Load Test Proje
- Page 13 and 14: 1 DEFINING LOAD TEST PROJECTS Defin
- Page 15 and 16: 2 Creating 2Chapter Test Scripts In
- Page 17 and 18: 2 CREATING TEST SCRIPTS Creating a
- Page 19 and 20: 2 CREATING TEST SCRIPTS Creating a
- Page 21 and 22: 2 CREATING TEST SCRIPTS Creating a
- Page 23 and 24: 2 CREATING TEST SCRIPTS Screen Sync
- Page 25 and 26: 2 CREATING TEST SCRIPTS Screen Sync
- Page 27 and 28: 2 CREATING TEST SCRIPTS Verificatio
- Page 29 and 30: 2 CREATING TEST SCRIPTS Verificatio
- Page 31 and 32: 2 CREATING TEST SCRIPTS Trying Out
- Page 33 and 34: 2 CREATING TEST SCRIPTS Trying Out
- Page 35 and 36: 2 CREATING TEST SCRIPTS Trying Out
- Page 37 and 38: 2 CREATING TEST SCRIPTS Trying Out
- Page 39 and 40: 2 CREATING TEST SCRIPTS Trying Out
- Page 41 and 42: 2 CREATING TEST SCRIPTS Trying Out
- Page 43 and 44: 2 CREATING TEST SCRIPTS Trying Out
- Page 45 and 46: 3 Customizing 3Chapter User Data In
- Page 47 and 48: 3 CUSTOMIZING USER DATA Customizing
- Page 49 and 50: 3 CUSTOMIZING USER DATA Customizing
- Page 51 and 52: 3 CUSTOMIZING USER DATA Customizing
- Page 53: 4 Testing 4Chapter Citrix Web Inter
- Page 57 and 58: 5 Citrix 5Chapter Project & System
- Page 59 and 60: 5 CITRIX PROJECT & SYSTEM SETTINGS
- Page 61 and 62: 5 CITRIX PROJECT & SYSTEM SETTINGS
- Page 63 and 64: 5 CITRIX PROJECT & SYSTEM SETTINGS
- Page 65 and 66: 6 Best 6Chapter Practices Introduct
- Page 67 and 68: 6 BEST PRACTICES Test Preparation U
- Page 69 and 70: 6 BEST PRACTICES Test Preparation I
- Page 71 and 72: 6 BEST PRACTICES Recording Use Case
- Page 73 and 74: 6 BEST PRACTICES Recording Use Case
- Page 75 and 76: 6 BEST PRACTICES Troubleshooting Sc
- Page 77 and 78: 6 BEST PRACTICES Issues Specific to
- Page 79 and 80: 6 BEST PRACTICES Issues Specific to
- Page 81 and 82: Index A Adding timers 70 Adding ver
- Page 83 and 84: SilkPerformer Citrix Tutorial 79
4 TESTING CITRIX WEB INTERFACE SESSIONS<br />
Creating a Load Test Script<br />
Creating a Load Test Script<br />
The easiest approach to creating a load test script for a <strong>Citrix</strong> Web Interface<br />
session is to use the <strong>SilkPerformer</strong> Recorder, <strong>SilkPerformer</strong>’s engine for<br />
capturing and recording traffic and generating test scripts.<br />
The <strong>SilkPerformer</strong> Recorder captures and records traffic between a <strong>Citrix</strong> Web<br />
Interface client application (MS Internet Explorer, version 5.5 or higher) and the<br />
server under test. When recording is complete, the <strong>SilkPerformer</strong> Recorder<br />
automatically generates a test script based on the recorded traffic. Scripts are<br />
written in <strong>SilkPerformer</strong>’s scripting language, Benchmark Description<br />
Language (BDL).<br />
Procedure To model a load test script for a <strong>Citrix</strong> Web Interface session<br />
1 Click the Model Script button on the <strong>SilkPerformer</strong> Workflow bar.<br />
2 The Model Script dialog appears. Select Record in the Script area of the<br />
dialog.<br />
3 From the Select application profile list box, select Internet Explorer.<br />
Note Internet Explorer application profile is appropriate for testing<br />
<strong>Citrix</strong> Web Interface/NFuse sessions only (for standard <strong>Citrix</strong> client<br />
recording, see “Creating Test Scripts”).<br />
4 Click OK.<br />
5 The <strong>SilkPerformer</strong> Recorder then opens in minimized form along with<br />
Internet Explorer. Enter the name of the <strong>Citrix</strong> server in Internet<br />
Explorer’s Address field and click Enter.<br />
Note To see a report of the actions that occur during recording,<br />
maximize the <strong>SilkPerformer</strong> Recorder dialog by clicking Change<br />
GUI size on the Recorder’s toolbar.<br />
6 To log into the <strong>Citrix</strong> Application Portal, enter your Username,<br />
Password, and Domain into the <strong>Citrix</strong> Web Interface login screen.<br />
Contact your system administrator if you do not have this information.<br />
7 Click Log In.<br />
8 The Application Portal appears. This portal contains the applications that<br />
have been published for shared use. Select the hosted application you<br />
wish to record.<br />
50 <strong>SilkPerformer</strong> <strong>Citrix</strong> <strong>Tutorial</strong>