jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kimbuba" <kimbu...@yahoo.it>
Subject Cactus too slow
Date Mon, 02 Feb 2004 23:51:49 GMT
Hello,
it is normal that for a simple Servlet test  taking about 20-30 seconds to
testing?
I'm using cactus from eclipse to a remote (Lan connection) linux tomcat.
Thnx in advance for helping!
kimbuba.

//I'm testing a simple method that insert an attribute on a request.

public void testSetRequest(){
//Initialize class to test
HelloAction servlet = new HelloAction();

// Call the method to test, passing an HttpServletRequest object
servlet.setName("BOB",(HttpServletRequest)request);

// Perform verification that test was successful
assertEquals("BOB", (String)request.getAttribute("aName"));
}





Mime
View raw message