Book Image

Building a RESTful Web Service with Spring

By : Ludovic Dewailly
Book Image

Building a RESTful Web Service with Spring

By: Ludovic Dewailly

Overview of this book

Table of Contents (17 chapters)
Building a RESTful Web Service with Spring
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Other forms of testing


Besides unit and integration testing, other forms of testing should be considered. They are described in the next sections.

User Acceptance Testing

User Acceptance Testing (UAT) looks at testing from a user's point of view. In the case of an API, the user is a piece of software consuming the service. Regardless of the type of user, this form of testing is important to ensure that a RESTful web service exposes a consistent and feature-complete API. UAT tends to be less automated than other types of testing. However, UAT test managers should ultimately have the final say in whether a software solution is ready for general availability.

Load testing

Another important criterion in measuring the production readiness of a RESTful web service is whether it will perform in line with the expected Service Level Agreements (SLAs) under load. For example, during peak times, the service might be expected to handle 1,000 requests per second, with an average response time of no more...