Skip to Main Content
Apache Jakarta and Beyond: A Java Programmer’s Introduction
book

Apache Jakarta and Beyond: A Java Programmer’s Introduction

by Larne Pekowsky
December 2004
Intermediate to advanced content levelIntermediate to advanced
608 pages
11h 47m
English
Addison-Wesley Professional
Content preview from Apache Jakarta and Beyond: A Java Programmer’s Introduction

Chapter 6. Further Web Testing with Jakarta Cactus

Testing with HTTPUnit is a great way to simulate a user’s perspective of a Web application. However, such testing often does not give a complete picture of what is happening within the system. HTTPUnit can report that a page did not function as expected but can give no direct clues as to why it failed. Such failures may be be directly attributable to incorrect HTML, but more often failures have their origins in code within a servlet or scoped bean.

This is one of the motivations behind Cactus, another testing suite that is built on top of JUnit.

An Introduction to Cactus

When testing a Web application with HTTPUnit the testing code sits entirely outside the server being tested. The only interaction ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java EE 8 Development with Eclipse

Java EE 8 Development with Eclipse

Ram Kulkarni
Java 9 High Performance

Java 9 High Performance

Mayur Ramgir, Nick Samoylov
Service- and Component-based Development: Using Select Perspective™ and UML

Service- and Component-based Development: Using Select Perspective™ and UML

Hedley Apperly, Ralph Hofman, Steve Latchem, Barry Maybank, Barry McGibbon, David Piper, Chris Simons

Publisher Resources

ISBN: 0321237714Purchase book