File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Book Reviews and the fly likes Java Testing and Design by Frank Cohen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Books » Book Reviews
Bookmark "Java Testing and Design by Frank Cohen" Watch "Java Testing and Design by Frank Cohen" New topic

Java Testing and Design by Frank Cohen

Book Review Team

Joined: Feb 15, 2002
Posts: 959
<pre>Author/s : Frank Cohen
Publisher : Prentice Hall
Category : Miscellaneous Java
Review by : Andrew Monkhouse
Rating : 9 horseshoes
This book is an excellent guide to testing web applications and web services, and will benefit all readers from someone just starting testing, through to experienced testers trying to test a particular service.

The first third of the book describes testing in general, and how it can be applied to web applications. The second part tackles different connectivity methods, from HTTP through XML & SOAP; from one off messages, through testing sequences of messages (including maintaining session data), from user testing, through performance testing. Each chapter describes the issues and the potential problems with testing, then provides a clearly detailed description of testing using the PushToTest open source test tool. The final third of the book details some case studies of tests that Mr. Cohen has been asked to devise.

My biggest concern with this book is that, despite it's title, it really has very little to do with Java. The tests definitely apply to applications written in Java, and java classes can be used by Mr. Cohen's test application, however the book equally applies to testing any networked service, regardless of the language it was written in! Of lesser concern is that there is practically no discussion about testing outside PushToTest testing framework (not a big concern since PushToTest is open source).

This does provide excellent insights into testing, and easy to use tools and explanations for performing the tests. I have no hesitation in recommending this book to anyone involved in testing networked applications.

More info at
More info at
[ October 16, 2004: Message edited by: Book Review Team ]
Frank Cohen

Joined: Apr 17, 2004
Posts: 18
Hi Andrew: It's Frank here, author of the book you reviewed. Thank you very much for your review of Java Testing and Design. I very much appreciate your kinds words. You captured the spirit of the book in your review. You are right to point out that the book title "Java Testing and Design" is off since the book is not specifically about Java, the book's content is equally suited for Java, .NET, C++, and other platform developers. Prentice Hall came up with the name and I ok'd it.
I have a special page set up to support Java Testing and Design on the PushToTest Web site at There you will find a download of all the Code Examples from the book, a sign-up form for a mailing list of people that want to learn about updates to the book, and sample chapters available for free download.
Thank you for your review. Let me know if there is anything I can do for you.
-Frank (

---<br />Frank Cohen, <a href="" target="_blank" rel="nofollow"></a> phone: 408 374 7426<br />Enterprise test automation solutions to check and monitor Web-enabled <br />applications for functionality, scalability and reliability.
I agree. Here's the link:
subject: Java Testing and Design by Frank Cohen
It's not a secret anymore!