课程: Java: Automated API Testing with REST Assured
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Challenge: Use requests to complete the lifecycle of a resource - Java教程
课程: Java: Automated API Testing with REST Assured
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.
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
Anatomy of a request1 分钟 47 秒
-
(已锁定)
Request methods1 分钟 47 秒
-
Making a GET request9 分钟 48 秒
-
(已锁定)
Making a POST request4 分钟 16 秒
-
(已锁定)
Making a PUT request3 分钟 7 秒
-
(已锁定)
Making a DELETE request1 分钟 52 秒
-
(已锁定)
Serializing request body7 分钟 26 秒
-
(已锁定)
Challenge: Use requests to complete the lifecycle of a resource42 秒
-
(已锁定)
Solution: Use requests to complete the lifecycle of a resource2 分钟 32 秒
-
-