Questions tagged [servletunit]

The tag has no usage guidance.

servletunit
5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
518 views

Test the jsp pages which includes jstl code in servlet using Httpunit and Servlet unit

I am trying to test the following servlet code using httpunit servlet runner. Here every thing goes fine except jsp pages which includes jstl. public class ListTenantServlet extends HttpServlet { ...
majji's user avatar
  • 169
1 vote
0 answers
236 views

ServletUnit RequestDispatcher forward() / include() methods AbstractMethodError

I'm doing a java web app with a servlet and I wanted to write some tests to check its functionality (ex. authorization form). I hadn't been using any framework, just bare java in eclipse with tomcat 7....
DerelictProgrammer's user avatar
1 vote
0 answers
598 views

How do we unit test servlets that forward to JSP using ServletUnit

I have a servlet that forwards the request/response to a JSP, but I keep getting the exception junit.framework.AssertionFailedError: An exception has been thrown. com.meterware.httpunit....
jcb's user avatar
  • 195
1 vote
0 answers
138 views

HttpUnit not honoring load-on-startup in web.xml

I'm still trying to navigate how the httpunit class architecture works, but I've come across an issue where I'm not seeing my "load-on-startup" directives in web.xml being honored when I use ...
Ryan's user avatar
  • 1,557
0 votes
1 answer
418 views

Testing Web Apps with HttpUnit & ServletUnit

I am a pretty naive programmer looking forward to test my web app with Fitnesse + (HttpUnit/ServletUnit). The idea is to test the action/representation layer in completeness, I do not intend to test/...
Bhuvnesh Pratap's user avatar