Test Strategies

Moving a SOAP-based Web service into a production environment requires assurances of high availability and predictably good performance. Imagine an e-commerce Web service that was not available or did not perform well! Here is a checklist Java developers should keep in mind when planning to test a Web service:

  • Stateful testing. When you use SOAP to put a product in a shopping basket, is the product in the shopping basket later on?

  • Privilege testing. What happens when one user tries to put a product into another user's shopping basket?

  • Speed testing. Has it taken more than five seconds to put the product into the shopping basket?

  • Boundary timing testing. What happens when a Web services request times out, or takes a really long time ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.