Java 和 REST Assured 框架实现接口自动化项目
REST Assured 框架教程目录
目录不可点击,仅为展示目录结构
REST Assured 框架教程对应文章
REST Assured 接口自动化测试教程:进阶用法 - 集成 CI/CD 和集成 allure 测试报告:https://naodeng.tech/zh/posts/api-automation-testing/rest-assured-tutorial-advance-usage-integration-ci-cd-and-allure-report/
REST Assured 接口自动化测试教程:进阶用法 - 验证响应和日志记录,过滤器,文件上传:https://naodeng.tech/zh/posts/api-automation-testing/rest-assured-tutorial-advance-usage-verifying-response-and-logging/
REST Assured 接口自动化测试教程:从 0 到 1 搭建 REST Assured 接口自动化测试项目:https://naodeng.tech/zh/posts/api-automation-testing/rest-assured-tutorial-building-your-own-project-from-0-to-1/
REST Assured 接口自动化测试教程:入门介绍和环境搭建准备:https://naodeng.tech/zh/posts/api-automation-testing/rest-assured-tutorial-and-environment-preparation/
REST Assured 框架教程参考文档
- Demo 项目地址:https://github.com/Automation-Test-Starter/RestAssured-API-Test-Starter/
- Rest assured 官方文档:https://rest-assured.io/
- Rest assured 官方 github:https://github.com/rest-assured/rest-assured
- Rest assured 官方文档中文翻译:https://github.com/RookieTester/rest-assured-doc
- Allure 文档:https://docs.qameta.io/allure/
- gitHub action 文档:https://docs.github.com/en/actions
JavaScript 和 SuperTest 框架实现接口自动化项目
SuperTest 框架教程目录
目录不可点击,仅为展示目录结构
SuperTest 框架教程对应文章
- SuperTest 接口自动化测试教程:进阶用法 - 多环境支持:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-advance-usage-multiple-environment-support/
- SuperTest 接口自动化测试教程:进阶用法 - 数据驱动:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-advance-usage-data-driven/
- SuperTest 接口自动化测试教程:进阶用法 - 常用断言:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-advance-usage-common-assertions/
- SuperTest 接口自动化测试教程:进阶用法 - 集成 CI/CD 和 Github action:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-advance-usage-integration-ci-cd-and-github-action/
- SuperTest 接口自动化测试教程:从 0 到 1 搭建 Supertest 接口自动化测试项目:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-building-your-own-project-from-0-to-1/
- SuperTest 接口自动化测试教程:入门介绍和环境搭建准备:https://naodeng.tech/zh/posts/api-automation-testing/supertest-tutorial-getting-started-and-own-environment-preparation/
SuperTest 框架教程参考文档
- Demo 项目地址:https://github.com/Automation-Test-Starter/SuperTest-API-Test-Starter
- SuperTest 文档:https://github.com/ladjs/supertest
- Jest 文档:https://jestjs.io/docs/en/getting-started
- Mocha 文档:https://mochajs.org/
- Chai 文档:https://www.chaijs.com/
- Allure 文档:https://docs.qameta.io/allure/
- gitHub action 文档:https://docs.github.com/en/actions
Python 和 Pytest 框架实现接口自动化项目
Pytest 框架教程目录
目录不可点击,仅为展示目录结构
Pytest 框架教程对应文章
- Pytest 接口自动化测试教程:进阶用法 - 筛选测试用例执行,并发测试和分布式测试:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-advance-usage-filter-testcase-and-concurrent-testing-distributed-testing/
- Pytest 接口自动化测试教程:进阶用法 - 多环境支持 和 集成 allure 报告:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-advance-usage-multiple-environment-support-and-integration-allure-report/
- Pytest 接口自动化测试教程:进阶用法 - 常用断言和数据驱动:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-advance-usage-common-assertions-and-data-driven/
- Pytest 接口自动化测试教程:进阶用法 - 集成 CI/CD 和 Github action:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-advance-usage-integration-ci-cd-and-github-action/
- Pytest 接口自动化测试教程:从 0 到 1 搭建 Pytest 接口自动化测试项目:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-building-your-own-project-from-0-to-1/
- Pytest 接口自动化测试教程:入门介绍和环境搭建准备:https://naodeng.tech/zh/posts/api-automation-testing/pytest-tutorial-getting-started-and-own-environment-preparation/
Pytest 框架教程参考文档
- Demo 项目地址:https://github.com/Automation-Test-Starter/Pytest-API-Test-Starter
- Pytest 文档:https://docs.pytest.org/en/stable/
- Pytest-html 文档:https://pypi.org/project/pytest-html/
- Pytest-xdist 文档:https://pypi.org/project/pytest-xdist/
- Allure-pytest 文档:https://pypi.org/project/allure-pytest/
- Allure 文档:https://docs.qameta.io/allure/
- gitHub action 文档:https://docs.github.com/en/actions
测试工具实现接口自动化测试
Postman 接口自动化测试
Postman 框架教程目录
目录不可点击,仅为展示目录结构
Postman 框架教程对应文章
- Postman 接口自动化测试教程:进阶用法 - 常用命令行选项,文件上传场景和 SSL 证书场景:https://naodeng.tech/zh/posts/api-automation-testing/postman-tutorial-advance-usage-common-command-line-options-and-file-upload/
- Postman 接口自动化测试教程:进阶用法 - 数据驱动:https://naodeng.tech/zh/posts/api-automation-testing/postman-tutorial-advance-usage-data-driven-and-environment-data-driven/
- Postman 接口自动化测试教程:进阶用法 - 常用的测试脚本和常用的第三方包用法示例:https://naodeng.tech/zh/posts/api-automation-testing/postman-tutorial-advance-usage-common-test-scripts-and-commonly-used-third-party-packages/
- Postman 接口自动化测试教程:进阶用法 - 集成 CI/CD 和 Github action,接入 allure 测试报告:https://naodeng.tech/zh/posts/api-automation-testing/postman-tutorial-advance-usage-integration-html-report-and-allure-report-integration-github-action/
- Postman 接口自动化测试教程:入门介绍和从 0 到 1 搭建 Postman 接口自动化测试项目:https://naodeng.tech/zh/posts/api-automation-testing/postman-tutorial-getting-started-and-building-your-own-project-from-0-to-1/
Postman 框架教程参考文档
- Demo 项目地址:https://github.com/Automation-Test-Starter/Postman-API-Test-Starter
- Postman 官方文档:https://learning.postman.com/docs/getting-started/introduction/
- Newman 官方文档:https://github.com/postmanlabs/newman
- gitHub action 文档:https://docs.github.com/en/actions
- allure 文档:https://docs.qameta.io/allure/
Bruno 接口自动化测试
Bruno 框架教程目录
目录不可点击,仅为展示目录结构
Bruno 框架教程对应文章
- postman 替换工具 bruno 使用介绍:https://naodeng.tech/zh/posts/api-automation-testing/introduction_of_bruno/
Bruno 框架教程参考文档
- Demo 项目地址:https://github.com/Automation-Test-Starter/Bruno-API-Test-Starter
- Bruno 文档:https://docs.usebruno.com/
- gitHub action 文档:https://docs.github.com/en/actions
推荐阅读
- 使用 Postman 进行接口自动化测试快速开启教程系列
- 使用 Pytest 进行接口自动化测试快速开启教程系列
- 使用 SuperTest 进行接口自动化测试快速开启教程系列
- 使用 Rest Assured 进行接口自动化测试快速开启教程系列
- 使用 Galting 进行性能测试快速开启教程系列
欢迎关注软件测试同学的公众号“软件测试同学”,原创 QA 技术文章第一时间推送。