The easiest method of creating a load test script is to use the SilkPerformer Recorder, SilkPerformer’s engine for capturing and recording traffic and generating test scripts.
First the SilkPerformer Recorder captures and records the traffic between a client application 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).
During the recording phase, you define transactions. A transaction is a discrete piece of work that can be assigned to a virtual user in a load test and for which separate time measurements can be made. You should create new transactions only for pieces of work that don’t have dependencies on other pieces of work.
Individual time measurements can be made for any action or series of actions that occur during recording.
Defining a Load Test Project:
The first step in creating the sample load test project is to define the project giving the project a name and specifying the application type under test.
Procedure To define a load test project:
1 Click the Start here button on the SilkPerformer Workflow bar.
2 The Workflow - Outline Project dialog opens.
Enter a project name (e.g., Shopit) in the Project name field.
3 Enter a description for the project in the Project description field (e.g.,Web tutorial with sample application “shopit”).
4 Select Web business transaction (HTML/HTTP) in the Application type field.
Note :If you want to load test a Flash Remoting application, please refer to the Advanced Concepts book, chapter Load Testing Flash Remoting Applications for detailed information.
Note: If you want to load test a WebDAV application (Microsoft Outlook Web Access), simply select WebDAV (MS Outlook Web Access) in the Application type field. The procedure is identical to load testing any other Web business transaction (HTTP).
5 Click OK to create the project based on your settings.
First the SilkPerformer Recorder captures and records the traffic between a client application 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).
During the recording phase, you define transactions. A transaction is a discrete piece of work that can be assigned to a virtual user in a load test and for which separate time measurements can be made. You should create new transactions only for pieces of work that don’t have dependencies on other pieces of work.
Individual time measurements can be made for any action or series of actions that occur during recording.
Defining a Load Test Project:
The first step in creating the sample load test project is to define the project giving the project a name and specifying the application type under test.
Procedure To define a load test project:
1 Click the Start here button on the SilkPerformer Workflow bar.
2 The Workflow - Outline Project dialog opens.
Enter a project name (e.g., Shopit) in the Project name field.
3 Enter a description for the project in the Project description field (e.g.,Web tutorial with sample application “shopit”).
4 Select Web business transaction (HTML/HTTP) in the Application type field.
Note :If you want to load test a Flash Remoting application, please refer to the Advanced Concepts book, chapter Load Testing Flash Remoting Applications for detailed information.
Note: If you want to load test a WebDAV application (Microsoft Outlook Web Access), simply select WebDAV (MS Outlook Web Access) in the Application type field. The procedure is identical to load testing any other Web business transaction (HTTP).
5 Click OK to create the project based on your settings.