Administering an ISP Installation

Previous Topic Next Topic

Running a WCAT Script

A WCAT script is split across three files, as shown in Table 8.1:

Table 8.1   Distribution of Files

File Name Type of File Contents
Script.cfg Configuration file The number of clients, the number of threads, the duration of the run, and so on. You can overwrite most of this information on the command line.
Script.dst Distribution file A collection of pairs (ClassID, Weight). The class IDs come from Script.scr. The Weights should add up to 100.0.
Script.scr Script file One or more transactions, each identified by a class ID. A transaction is one or more GETs or POSTs and an associated set of headers and other attributes to be sent to the server.

A large collection of sample scripts is available in the Scripts subdirectory.

To run a WCAT script

  1. On the client computer(s), type the following at the command prompt:
    cd \wcat\client
    client.bat
    

    If the client computer(s) are correctly configured to point to the controller (not the server), you don’t need to do anything more to the client(s).

  2. On the Controller, type the following at the command prompt:
    cd \wcat\control
    run.cmd some-script [parameters]
    

    Note   To see a full list of parameters, type wcctl -? at the command prompt.


© 1997-1999 Microsoft Corporation. All rights reserved.