WsClient Help

This is the client component of the Winsock Stress Test that sends packets over TCP and SPX to the WsServer running on one or more server machines.

The test can send variable sized packets over multiple threads against the same or multiple servers.  The test does data verification at both the client and server end.

The test parameters can be passed through the command line and the test can be run as part of a batch file.

UI Field	Command line equivalent	Description
-	BATCH=	Specifies to run this test in a batch mode.  The test will be run for the time specified and then it will exit. Default:  No. Eg:  BATCH=  YES  or BATCH=  NO.
-	LOGTOFILE=	Specifies that a logfile (WsClient.log) be created and logged into. Default:  No. Eg:  LOGTOFILE=  YES or LOGTOFILE=  NO.
-	LOCAL_IPADDR=	Specifies the IP address of the Local Interface to which the client wants to bind. Default: Default Interface IP Address. Eg: LOCAL_IPADDR= 120.1.1.1
No. of clients per server	CLIENTS=	Specifies the number of clients (threads) that should be started against each server. Default: 2.      Range: 1 - 5 Eg:  CLIENTS=  3
Debug Level	DEBUG=	Specifies the debug output level to screen or file. Default: 6.      Range: 1 - 7 Eg:  DEBUG=  5
Data Size	BUFTYPE=	Specifies the Packet size and type (fixed, variable, random). Default: Fixed, Size 1000 Bytes.  Range: 1 - 6400 Bytes Eg:  BUFTYPE=  Fix  1500  or BUFTYPE=  Var  100  or        BUFTYPE=  Rnd
Sleep Time	SLEEPTIME=	Specifies the Sleeptime in milli seconds between writes,reads etc. Default:  100 Millisecs.       Range:  0 - 32765 Millisecs Eg:  SLEEPTIME= 1000
Run Time	RUNTIME=	Specifies how long the test should run.  Useful when running from a batch file. Default:  0 (Means Forever)       Range: 0 - 32765 Minutes. Eg:   RUNTIME=  30
UDP	UDP=	Specifies the Name or IP Adress of the servers against which to run the test.   Eg:  UDP=  Anilth_1  Anilth_2  157.55.87.30
TCP	TCP=	Specifies the Name or IP Adress of the servers against which to run the test.   Eg:  TCP=  Anilth_1  Anilth_2  157.55.87.30
IPX	IPX=	Specifies the Name or IPX Adress of the servers against which to run the test.   Eg:  IPX=  Anilth_1  Anilth_2  157.55.87.30
SPX	SPX=	Specifies the Name or IPX Address of the servers aginst which to run the test. Eg:  SPX=  Anilth_1 AA261450:1  CC261450:00AABB11CCDD

Example of running the test from a batch file:

1. Start the test over TCP, against two servers with 1 thread against each server.  Run the test for 5 minutes and exit.

WsClient  BATCH= YES  TCP=  Anilth_1 157.55.87.30  CLIENTS= 1  RUNTIME=  5

2. Start the test over SPX, against two servers with 2 threads against each server. Run the test for 5 minutes and exit.

WsClient  BATCH= YES  SPX=  Anilth_1 CC261450:1  CLIENTS= 2  RUNTIME=  5

3. Start the test over TCP against two servers and SPX against two servers with 1 thread each against each server.  Run the test forever.

WsClient  BATCH= YES TCP=  Anilth_1 157.55.87.30   SPX=  Anilth_2 CC261450:1  CLIENTS= 1