Code Monkey home page Code Monkey logo

api-automation-testing's Introduction

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. 测试环境搭建
  2. 使用 Rest-Assured 发送 Get 请求
  3. 使用 Rest-Assured 验证返回状态
  4. 使用 Rest-Assured 验证报文头
  5. 使用 Rest-Assured 验证报文内容
  6. 使用 Rest-Assured 发送 Post 请求;
  7. 把 JSON 格式数据封装为 Java 类;
  8. RESTFul Webservice 中的验证和授权。

GitBook:Rest-Asssured 实战 Rest API 自动化测试(全部更新)

吐司-QA 公众号:

公众号

api-automation-testing's People

Contributors

toolsqacn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.