This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Testing and the fly likes Test JSP pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Test JSP pages" Watch "Test JSP pages" New topic
Author

Test JSP pages

Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
Could some one list some of the technologies that are used for testing JSP?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Google can: http://www.google.com/search?q=testing+jsps


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
It depends on what you want to test. From a client perspective, to check that the pages are generating the correct content, HttpUnit might suit your needs. For unit testing JSP tags that you've built, TagUnit might give you something extra over just testing the tag handler classes with JUnit. For more complex in-container testing of Servlets and JSPs, try Cactus. For performance/stress testing, check out JMeter.
Basically, there are lots of tools but it depends on what you want to do.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

And of course, try and move as much code out of the jsp and into regular classes as possible.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Test JSP pages
 
Similar Threads
junit
JSP Precompile
new assignments
in jsp what tags go where after compilation?
Need some JSP, Servlet Questions?