接口测试、自动化测试
curl
统计接口时间
# 加上时间统计参数(postman中复制出来)
curl -s -w "time_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" \
'https://baidu.com' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4115.5 Safari/537.36'
测试数据生成
别再造假数据了,来试试 Faker 这个库吧!https://mp.weixin.qq.com/s/iLjr95uqgTclxYfWWNxrAA
官方文档:https://faker.readthedocs.io/en/master/locales/zh_CN.html
Pyppeteer
Puppeteer基本用法(和Pyppeteer的用法一样):https://mp.weixin.qq.com/s/ibbfxPLSovGQ0nKE-WHB8Q
别只用 Selenium,新神器 Pyppeteer 绕过淘宝更简单!
https://mp.weixin.qq.com/s/Iz-DY1UrSfVFRFh5CyHl3Q
https://github.com/Python3WebSpider/PyppeteerTest
Chromedp
项目地址:https://github.com/chromedp/chromedp
演示地址:https://github.com/chromedp/examples
GitHub Actions
简介:https://mp.weixin.qq.com/s/-mPWeaF7A17G30xH5CjDcw
官方文档:https://help.github.com/cn/actions/automating-your-workflow-with-github-actions
allure
生成的精美自动化测试报告
https://blog.csdn.net/liuchunming033/article/details/79624474
python+pytest+allure生成的精美自动化测试报告:https://mp.weixin.qq.com/s/v44UsgSxpcKudKSBBXu3tw
分布式自动化测试
linux+python+selenium grid构建可视化分布式自动化测试环境:https://mp.weixin.qq.com/s/HSnrUovia2ZFNHJ0kiDDHg
实时主动监控接口
https://mp.weixin.qq.com/s/n0Wrr8lRWSbx2OZcm1XiaA
https://github.com/Germey/JMeterMonitor