This chapter covers
- API and Microservice-based architectures and how to test them
- The difference between broader user journey requirements and more specific business rule requirements, and how user journey requirements can often be automated using API interactions
- Using RESTAssured to interact with REST APIs
- Using JSONPath to query the responses returned by REST API calls
Thus far we have focused on automating tests that exercise the user interface. But, as we discussed in chapter 10, user interface tests shouldn’t be the only tool in your automated acceptance testing toolbox. It’s important to know when to use them and when to look for alternative strategies. In this chapter, you’ll learn about other ways to automate your acceptance tests that don’t involve exercising the user interface.