From the course: Java: Automated API Testing with REST Assured

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Use requests to complete the lifecycle of a resource

Challenge: Use requests to complete the lifecycle of a resource - Java Tutorial

From the course: Java: Automated API Testing with REST Assured

Start my 1-month free trial

Challenge: Use requests to complete the lifecycle of a resource

- [Instructor] Now it's your turn to demonstrate your knowledge of API requests. Your challenge is to complete a full life cycle of a resource by creating, updating, viewing, and deleting a product. Using Java in REST Assured, create a new product called, Sweatband in Category 3 for 5 US dollars. Then update the Sweatband's price to be 6 US dollars. Then retrieve information about the Sweatband. And finally, delete the Sweatband product.

Contents