• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Test JSP pages

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could some one list some of the technologies that are used for testing JSP?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google can: http://www.google.com/search?q=testing+jsps
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And of course, try and move as much code out of the jsp and into regular classes as possible.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic