|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.protocol.jms.client.ConnectionFactory
ConnectionFactory is responsible for creating new connections. Eventually, the connection factory should read an external configuration file and create a pool of connections. The current implementation just does the basics. Once the tires get kicked a bit, we can add connection pooling support.
Constructor Summary | |
protected |
ConnectionFactory()
|
Method Summary | |
static javax.jms.QueueConnection |
getQueueConnection(Context ctx,
String queueConn)
|
static javax.jms.QueueConnectionFactory |
getQueueConnectionFactory(Context ctx,
String fac)
|
static javax.jms.TopicConnection |
getTopicConnection()
|
static javax.jms.TopicConnectionFactory |
getTopicConnectionFactory(Context ctx,
String fac)
|
void |
testEnded()
endTest cleans up the client |
void |
testEnded(String test)
Called once for all threads after the end of a test. |
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired for each thread. |
void |
testStarted()
startTest sets up the client and gets it ready for the test. |
void |
testStarted(String test)
Called just before the start of the test from the main engine thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ConnectionFactory()
Method Detail |
public void testStarted(String test)
TestListener
Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testEnded(String test)
TestListener
Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testEnded()
testEnded
in interface TestListener
TestListener.endTest(junit.framework.Test)
public void testStarted()
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
- public static javax.jms.TopicConnectionFactory getTopicConnectionFactory(Context ctx, String fac)
public static javax.jms.QueueConnectionFactory getQueueConnectionFactory(Context ctx, String fac)
public static javax.jms.TopicConnection getTopicConnection()
public static javax.jms.QueueConnection getQueueConnection(Context ctx, String queueConn)
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |