The standard, and easiest, method of creating a test script is to use the Silk Performer Recorder, Silk Performer's engine for capturing and recording traffic and generating test scripts.
First, the Silk Performer Recorder captures and records a representative amount of real traffic between a client application and the server to be tested. When recording is complete, the Silk Performer Recorder generates either a test script or a capture file. You can create scripts out of the capture file later on. The script is written in Silk Performer's proprietary scripting language, the Benchmark Description Language (BDL).
During the recording phase, you define transactions. A transaction is a discrete piece of work that will later be assigned to a virtual user in a load test and for which separate time measurements will be made. You should create a new transaction only for a piece of work that has no dependencies on another piece of work. Individual time measurements can be made for any action or series of actions that happen during recording.
Using the Silk Performer Recorder has a number of advantages: