File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JUNIT to test a web application
Joined: May 12, 2012
Sep 06, 2012 03:00:23
Is there a way to
the web application(My application uses Jsp,
and Struts) starting from Presenatation layer to DAO layer with
If there is a method, please provide a sample script
Joined: May 26, 2003
Sep 06, 2012 20:25:11
Ant would just run the
test so the Ant part isn't important to the question. There are two main approaches.
Test in browser - selenium is most common. It offers a junit interface but you need a browser installed
Test from URL but without browser - JWebUnit is good here
Forget about the URL and start at the servlet/struts action/spring controller/etc. - Here you can just use JUnit in container
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: JUNIT to test a web application
How to design session layer?
static method or non-static method?
how to test struts with Junit
About Layer - SOAP
Using Transport Security (SSL) in Web Service (CalulatorApp)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013