examples
Class StressTest
java.lang.Object
examples.StressTest
public class StressTest
- extends java.lang.Object
Simple program to stress test communication over port
forwards. It creates a connection to a server (which should
have an ECHO service available), then starts nforwards
port forwards, and nthreads threads which in turn uses the
pool of port forwards to send (and retrieve) iter messages
of random sizes to the ECHO service.
Usage:
java -cp examples.jar examples.StressTest server:port user pass nforwards nthreads iter
For example try running something like:
java -cp examples.jar examples.StressTest server:port user pass 16 40 100
Method Summary |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StressTest
public StressTest()
main
public static void main(java.lang.String[] argv)