de.uka.ipd.consensus.test
Class PerfTestServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
de.uka.ipd.consensus.test.PerfTestServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class PerfTestServlet
- extends javax.servlet.http.HttpServlet
Warning: This performance test creates 1000 topics (ids "__test_id_N" for N=0..999),
so use it on a separate hibernate.connection.url (see hibernate.properties).
Make sure that the servlet and its mapping are activated in web.xml.
If you want to test without a single TA (but with a new TA for each request),
add the parameter "?nota" to the test URL.
Note: The test deactivates logging for not measuring performance penalties due to slow console ouput.
- Version:
- 2006-06-14
- Author:
- Thomas Much
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerfTestServlet
public PerfTestServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException