xmlBlaster 2.1.0 API

org.xmlBlaster.test.stress
Class MassiveSubTestOne

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.stress.MassiveSubTest
              extended by org.xmlBlaster.test.stress.MassiveSubTestOne
All Implemented Interfaces:
junit.framework.Test, I_Callback

public class MassiveSubTestOne
extends MassiveSubTest

Run massive with with only the one connection aproach read settings from env.

Here is one possible setting:

numSubscribers=2500
maxSubPerCon=500
withEmbedded=false
noToPub=4
protocol=IOR

Version:
$Revision: 1.2 $ $Date: 2004-11-24 20:15:11 +0000 (Wed, 24 Nov 2004) $
Author:
Peter Antman

Nested Class Summary
 
Nested classes/interfaces inherited from class org.xmlBlaster.test.stress.MassiveSubTest
MassiveSubTest.Client
 
Constructor Summary
MassiveSubTestOne(Global glob, java.lang.String testName, java.lang.String loginName, boolean useOneConnection)
           
 
Method Summary
static void main(java.lang.String[] args)
          An example of how to run it: java -Xms18M -Xmx256M -classpath lib/junit.jar:lib/testsuite.jar:lib/xmlBlaster.jar -Dtrace=false org.xmlBlaster.test.stress.MassiveSubTestOne -numSubscribers 2500 -maxSubPerCon 500 -protocol LOCAL -withEmbedded true > log 2>&1 tail -f log | egrep 'Threads created|messages updated'
static junit.framework.Test suite()
          Method is used by TestRunner to load these tests
 
Methods inherited from class org.xmlBlaster.test.stress.MassiveSubTest
getUsedServerMemory, init, publish, setUp, subcribeMany, tearDown, testManyClients, update
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MassiveSubTestOne

public MassiveSubTestOne(Global glob,
                         java.lang.String testName,
                         java.lang.String loginName,
                         boolean useOneConnection)
Method Detail

suite

public static junit.framework.Test suite()
Method is used by TestRunner to load these tests


main

public static void main(java.lang.String[] args)
An example of how to run it: java -Xms18M -Xmx256M -classpath lib/junit.jar:lib/testsuite.jar:lib/xmlBlaster.jar -Dtrace=false org.xmlBlaster.test.stress.MassiveSubTestOne -numSubscribers 2500 -maxSubPerCon 500 -protocol LOCAL -withEmbedded true > log 2>&1 tail -f log | egrep 'Threads created|messages updated'


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.