|
|
Table of Contents |
COM.volano.Test runs VolanoTest, the test driver for the
VolanoChat server.
java COM.volano.Test [ options ]
VolanoTest simulates VolanoChat clients for testing the VolanoChat server and the Java virtual machine on which it runs. It creates a number of test users which can be instructed to repeatedly:
Upon completion it reports the elapsed time for the test.
The VolanoChat server must be up and running before starting
VolanoMark. To start the VolanoChat server, change to your
vmark2.1.x installation directory and enter the command:
java COM.volano.Main
where java is the name of your Java interpreter. It
might have a different name on your system, such as jview,
guava, kaffe, or sc10java.
Note that to find the class COM/volano/Main.class,
you'll need either to have no CLASSPATH defined or to have
the current working directory (".") included in the
definition of your CLASSPATH environment variable.
To run the VolanoTest application with its default values, change to
the vmark2.1.x directory and enter the command:
java COM.volano.Test -run
You should use the same Java virtual machine to run VolanoTest as you do for the VolanoChat server. The values used by default are shown below, creating 10 rooms with 20 test users in each room for a total of 200 chat connections. Each user performs all the test functions 10 times without reconnecting between each test loop. After the 10 loops are complete, the test users disconnect and exit the test.
file = vtest2_1_x.log host = localhost port = 8000 start = 1 rooms = 10 users = 20 level = 4 loops = 10 recon = false
The test should take anywhere from a few minutes to an hour when running with these default values, depending on your Java virtual machine, operating system, and hardware platform. When it completes, you should see the results printed like the following:
Running the test ... Test complete. VolanoTest version = 2.1.x Elapsed time = 243 seconds
-run
-help
-version
-jvm
java.vendor = Sun Microsystems Inc. java.vendor.url = http://java.sun.com/ java.version = 1.2fcs java.class.version = 46.0 java.compiler = symcjit os.name = Windows NT os.version = 4.0 os.arch = x86where:
java.vendor
java.vendor.url
java.version
java.class.version
java.compiler
os.name
os.version
os.arch
-file string
vtest2_1_x.log. The output file contains the Java
virtual machine environment and the VolanoTest test results.
-host string
localhost.
-port integer
-start integer
-rooms integer
-users integer
-level integer
-loops integer
-recon
false. Specifying this option sets the value to
true.
CLASSPATH
.:/usr/java1.1/lib/classes.zipwhile on Windows, you might specify:
.;C:\jdk1.1.7\lib\classes.zip
|
|
Check HTML | Table of Contents |