Skip to content

Java Testing and Design From Unit Testing to Automated Web Tests

Best in textbook rentals since 2012!

ISBN-10: 0131421891

ISBN-13: 9780131421899

Edition: 2004

Authors: Frank Cohen

List price: $49.99
Blue ribbon 30 day, 100% satisfaction guarantee!
Out of stock
We're sorry. This item is currently unavailable.
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

This is a supremely useful book for software developers working on Java and J2EE-based Web-enabled applications, including Web Services. Frank Cohen is the "go-to" guy for enterprises needing to design, build, and test complex information systems. The author helps you go beyond learning the language to understand how design choices impact scalability, functionality, and performance. Your application might run perfectly in the lab, but it crashes in production. Or, you might already know Java, but you don't understand why your application runs so slowly. If that is the case, then this book will help you better understand your application and optimize it for maximum performance.
Customers also bought

Book details

List price: $49.99
Copyright year: 2004
Publisher: Prentice Hall PTR
Publication date: 3/16/2004
Binding: Paperback
Pages: 544
Size: 6.75" wide x 8.75" long x 0.75" tall
Weight: 1.584
Language: English

Foreword
Preface
Acknowledgments
Gauging Web-Enabled Applications
The Forces at Work Affecting Your Web-Enabled Software
The First Three Axioms
Web-Enabled Applications, the New Frontier
Why Writing High-Quality Software Today Is Hard
The Myth of Version 2.0
Management's Quest for Grail
Trying for Homogeneity When Heterogeneity Rules
The Language of Bugs
The Evil Twin Vice Presidents Problem
A Concise History of Software Development
Web-Enabled Applications
Test Paradigms and Lifecycle Processes
Testing Methods
Click-Stream Testing
Unit Testing
Functional System Testing
Scalability and Performance Testing
Quality of Service Testing
Defining Test Agents
Scalability and Performance Testing with Test Agents
Testing for the Single User
Creating Intelligent Test Agents
Automated Testing
Summary
When Application Performance Becomes a Problem
Just What Are Criteria? Defining Criteria for Good Web Performance
Are the Features Working? Is Performance Acceptable? How Often Does It Fail? Web-Enabled Application Measurement Tools
The Web Rubric
The Four Tests of Good Performance
Components of a Good Test Agent
Web-Enabled Application Types
The Web-Enabled Application Points System (WAPS)
The Web-Enabled Application's Framework
The Flapjacks Architecture
Adopting Flapjacks and Intelligent Test Agents
Building Intelligent Test Agents in a Flapjacks Environment
Script Languages and Test Agents
Generating Meaningful Data
Summary
Modeling Tests
Modeling User Behavior for Meaningful Test Results
Lifecycles, Projects, and Human Nature
The Micromax Lifecycle
Categorizing Problems
Prioritizing Problems
Reporting Problems
Criteria for Evaluating Problems
Considerations for Web-Enabled Application Tests
Functionality and Scalability Testing
Functional Testing
Scalability Testing
Testing Modules for Functionality and Scalability
Management Styles
Service Level Agreements
Grid Computing and Intelligent Agents
The Road to Easy Setup, Use, and Maintenance
Self-Healing Systems
Understanding Performance and Scalability Criteria
Defining SPC. SPC in Action
Modeling a User's Goals
Test States
Using UML and Code Comments to Model Tests
Putting the Test Together
Summary
Java Development and Test Automation Tools
The Three Waves
Desktop Application Development and Test Automation
Client/Server Development and Test Automation
Web-Enabled Development and Test Automation
Achieving the Troika-the Fourth Wave
A Test Automation Lifecycle
Summary
Bridging from Methodology to Design
Searching for Tools to Enable the Troika
How to Get TestMaker
TestMaker and the Open Source Process
Spending Five Minutes with TestMaker
Installing TestMaker on a Windows or Linux Computer
Running TestMaker
Getting to Know the TestMaker Graphic Environment
Opening and Running Test Agents
Building Agents with the New Agent Wizard
Why I Like Jython
Jython Is Quick
Data Structures and List Iteration Come for Free
Dynamic Variables with Automatic Typing
Functions Are First Class
Java Integration
Bean Property Introspection
Sun Is Adopting Scripting in Java
Using Jython to Incorporate JUnit
JUnit for Repeatable Tests
A JUnit Example
JUnit and TestMaker
Summary
II
Design And Test In HTTP/HTML Environments
The HTTP/HTML Environment
What Usually Goes Wrong
Compliance, As in Non, and Browser Caching
Invalid Data
Session Problems
Constructing HTTP Test Agents
Hands-On HTTP Communication
Understanding Cookies, Sessions, and Redirection
Validating Response Data
Summary
Tuning SOAP and XML Web Services
The Web Services Vision
XML-RPC for Web Interoperability
Where XML-RPC Falls Short
Universal Interoperability with SOAP
Web Service Scalability Techniques
Web Service Interoperability Problems
Discovery
Definition