# API-Automation-Testing **Repository Path**: penn520/API-Automation-Testing ## Basic Information - **Project Name**: API-Automation-Testing - **Description**: RESTFul Webservice 接口测试教程和演示代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # API-Automation-Testing RESTFul Webservice 接口测试教程和演示代码 Rest-Assured 是一个测试 Restful Web Service 的 Java 类库,我们能够测试各种各样的请求组合,依次测试核心业务逻辑的不同组合。Rest-Assured 库提供了验证从服器收到的 HTTP 响应的功能。我们可以很方便验证状态码,状态信息,标题和响应的正文。同时我们可以把 Rest-Assured 集成到 Junit 或 TestNG 测试框架中,也可以集成到 Cucumber 等 BDD(Behavior Driven Development)敏捷测试框架中。 **本 Chat 以实际应用为主题,包含的内容有:** 1. [测试环境搭建](http://qatools.cn/details/HJTfmPxpM.html); 2. [使用 Rest-Assured 发送 Get 请求](http://qatools.cn/details/rkTq7hv6f.html); 3. [使用 Rest-Assured 验证返回状态](http://qatools.cn/details/rJIHdh90f.html); 4. [使用 Rest-Assured 验证报文头](http://qatools.cn/details/HyN9ULMeX.html); 5. [使用 Rest-Assured 验证报文内容](http://qatools.cn/details/BJ55BhoeQ.html); 6. 使用 Rest-Assured 发送 Post 请求; 7. 把 JSON 格式数据封装为 Java 类; 8. RESTFul Webservice 中的验证和授权。 **GitBook:[Rest-Asssured 实战 Rest API 自动化测试(全部更新)](http://gitbook.cn/gitchat/activity/5ad5f44f3a87555c6d7ee7c7)** ### [吐司-QA 官网](http://qatools.cn) ### 吐司-QA 公众号: ![公众号](https://wx2.sinaimg.cn/large/d99b41d3gy1fqrbpc6qaij2076076mxm.jpg)