org.apache.xmlrpc.test
Class ScalabilityTest
java.lang.Object
TestCase
org.apache.xmlrpc.test.ScalabilityTest
public class ScalabilityTest
- extends TestCase
Tests the frameworks scalability.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE
private static final int BASE
- See Also:
- Constant Field Values
THREE
private static final java.lang.Integer THREE
FIVE
private static final java.lang.Integer FIVE
EIGHT
private static final java.lang.Integer EIGHT
servlet
private org.apache.xmlrpc.webserver.XmlRpcServlet servlet
server
private ScalabilityTest.MyServletWebServer server
webServer
private ScalabilityTest.MyWebServer webServer
ScalabilityTest
public ScalabilityTest()
newXmlRpcHandlerMapping
private org.apache.xmlrpc.server.XmlRpcHandlerMapping newXmlRpcHandlerMapping()
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
initServletWebServer
private void initServletWebServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
shutdownServletWebServer
private void shutdownServletWebServer()
initWebServer
private void initWebServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
shutdownWebServer
private void shutdownWebServer()
testSingleClient
public void testSingleClient()
throws java.lang.Exception
- Runs the test with a single client.
- Throws:
java.lang.Exception
testSingleWebServerClient
public void testSingleWebServerClient()
throws java.lang.Exception
- Runs the web server test with a single client.
- Throws:
java.lang.Exception
testTenClient
public void testTenClient()
throws java.lang.Exception
- Runs the test with ten clients.
- Throws:
java.lang.Exception