com.reuters.msgtest.load
Class LoadTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.reuters.msgtest.RvTestCase
com.reuters.msgtest.load.LoadTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- CustomStimuliLoadTestCase, RequestReplyLoadTestCase, StandardLoadTestCase
- public abstract class LoadTest
- extends RvTestCase
Constructor Summary |
LoadTest(java.lang.String name,
java.io.File file)
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
RANDOM
public static final java.util.Random RANDOM
NULL_TIBRV_MESSAGE
public final com.tibco.tibrv.TibrvMsg NULL_TIBRV_MESSAGE
fieldMutator
protected TibrvMsgFieldMutator fieldMutator
loadTestResults
protected LoadTestResults loadTestResults
LoadTest
public LoadTest(java.lang.String name,
java.io.File file)
testLoad
public void testLoad()
throws java.lang.Exception
- Throws:
java.lang.Exception
getResponses
public abstract void getResponses()
throws RvTestException
- Throws:
RvTestException
processStimuli
public abstract void processStimuli()
throws RvTestException
- Throws:
RvTestException
startRecording
public void startRecording()
throws com.tibco.tibrv.TibrvException
- Throws:
com.tibco.tibrv.TibrvException
createResultFileWriter
public java.io.Writer createResultFileWriter()
throws RvTestException
- Throws:
RvTestException
getLoadTestFixture
public LoadTestFixture getLoadTestFixture()
setLoadTestFixture
public void setLoadTestFixture(LoadTestFixture loadTestFixture)
getRecorder
public RvRecorder getRecorder()
setRecorder
public void setRecorder(RvRecorder recorder)
getLoadTestResults
public LoadTestResults getLoadTestResults()
setLoadTestResults
public void setLoadTestResults(LoadTestResults loadTestResults)
getTibrvTransport
protected com.tibco.tibrv.TibrvTransport getTibrvTransport()
throws RvTestException
- Throws:
RvTestException
createValueGenerator
protected ValueGenerator createValueGenerator(LoadStimulus loadStimulus)
getStimuliMessage
protected com.tibco.tibrv.TibrvMsg getStimuliMessage()
modifyMessageFields
protected void modifyMessageFields(com.tibco.tibrv.TibrvMsg msg,
java.util.List keyFields,
ValueGenerator valueGenerator)
throws RvTestException
- Throws:
RvTestException
createMessagesToSend
protected java.util.List createMessagesToSend(com.tibco.tibrv.TibrvMsg templateMessage,
LoadStimulus loadStimulus)
throws RvTestException
- Throws:
RvTestException
printResults
public void printResults()
throws RvTestException
- Throws:
RvTestException
setSendSubject
protected void setSendSubject(com.tibco.tibrv.TibrvMsg message,
java.lang.String subjectToSend)
throws RvTestException
- Throws:
RvTestException
delay
protected void delay(int delayTime)
createPrinterObj
protected LoadTestOutput createPrinterObj(java.lang.String outputterName)
throws RvTestException
- Throws:
RvTestException
Copyright © 2002-2004 The RVTest Team. All Rights Reserved.