|
|
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.0.0 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.0.0 directory and enter the command:
java COM.volano.Test
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 5 rooms with 20 test users in each room for a total of 100 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 = vtest200.log host = localhost port = 8000 start = 1 rooms = 5 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.0.0 Elapsed time = 303 seconds
-help
-version
-jvm
java.vendor = Sun Microsystems Inc. java.vendor.url = http://www.sun.com/ java.version = 1.1.5 java.class.version = 45.3 os.name = Windows NT os.version = 4.0 os.arch = x86where:
java.vendor
java.vendor.url
java.version
java.class.version
os.name
os.version
os.arch
-file string
vtest200.log. The output file contains the Java virtual
machine environment and the VolanoTest test results.
-host string
localhost. Note that the publicly
available version of VolanoTest requires the host name to be
localhost, and must therefore be run locally on the same
machine running the VolanoChat server.
-port integer
-start integer
-rooms integer
-users integer
-level integer
-loops integer
-recon
false. Specifying this option sets the value to
true.
CLASSPATH
.:/usr/local/java/lib/classes.zipwhile on Windows, you might specify:
.;C:\jdk1.1.5\lib\classes.zip
|
|
Check HTML | Table of Contents |