org.apache.qpid.testkit.soak
Class ResourceLeakTest

java.lang.Object
  extended by org.apache.qpid.testkit.TestLauncher
      extended by org.apache.qpid.testkit.soak.ResourceLeakTest
All Implemented Interfaces:
ErrorHandler

public class ResourceLeakTest
extends TestLauncher

Test Description ================ This test will open x number of connections where each connection will create a session and a producer/consumer pair, and then a randomly selected set of connections (about 1/4th) will send a configurable no of messages and try to receive them. It will then sleep for configurable time interval and tear down the connections/sessions/consumers. It will then repeat the process again until the test is stopped. Purpose of the test =================== To find if the broker has leaks when cleaning resources. To find if the client has leaks with resources.


Field Summary
 
Fields inherited from class org.apache.qpid.testkit.TestLauncher
address, clients, connection_count, controlCon, controlDest, controlSession, df, durable, failover, heartbeat, host, nf, port, receiver, sender, sessions_per_con, statusSender, testName, url, useUniqueDests
 
Constructor Summary
ResourceLeakTest()
           
 
Method Summary
 
Methods inherited from class org.apache.qpid.testkit.TestLauncher
cleanup, configureLogging, createReceiver, createSender, handleError, main, setUpControlChannel, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLeakTest

public ResourceLeakTest()


Licensed to the Apache Software Foundation