|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.xmlBlaster.test.stress.MassiveSubTest org.xmlBlaster.test.stress.MassiveSubTestOne
public class MassiveSubTestOne
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
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 |
---|
public MassiveSubTestOne(Global glob, java.lang.String testName, java.lang.String loginName, boolean useOneConnection)
Method Detail |
---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |