org.jboss.test.load.test
Class Client

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.load.test.Client

public class Client
extends JBossTestCase (src)

Test client.
Deployes the testbean.jar and then starts as many workers as on the command line given. After all workers are done, it prints a success or failure message. The return value is the number of failed workers (0=sucess, 1=one worker failed, ...) parsed parameter:

  • verbose - more output
  • nodeploy - the testbean.jar dont becomes deployed
  • loops - iterations each thread has to do
  • beans - number of beans each thread has to deal with
  • threads - number of threads getting started
  • See Also:
    Serialized Form

    Field Summary
     
    Fields inherited from class org.jboss.test.JBossTestCase (src)
    delegate, deploymentException, log
     
    Constructor Summary
    Client(java.lang.String name)
               
    Client(java.lang.String[] _args)
               
     
    Method Summary
    static void main(java.lang.String[] _args)
               
     
    Methods inherited from class org.jboss.test.JBossTestCase (src)
    deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    Client

    public Client(java.lang.String name)

    Client

    public Client(java.lang.String[] _args)
           throws java.lang.Exception
    Method Detail

    main

    public static void main(java.lang.String[] _args)
                     throws java.lang.Exception
    Throws:
    java.lang.Exception