摘要: 下载locust pip install locustio 或者去官网下载下来解压 把该文件放在httprunner项目下面 检查是否安装成功:locust --help 开始压测 在用例目录下执行命令: locusts -f demo_testcase_request.yml http://0.0 阅读全文
posted @ 2021-07-14 17:17 默晓梦 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 前期准备 1.httprunner已安装 2.下载allure相关包 brew install allure pip install allure-pytest pip install pytest 查看是否安装成功:allure --version 3.已经有httprunner项目 在需要存放h 阅读全文
posted @ 2021-07-14 17:09 默晓梦 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 前期准备 1.下载并安装python3及以上版本 2.配置python环境变量 #python环境变量PATH="/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/bin:${PATH}"expor 阅读全文
posted @ 2021-07-14 16:53 默晓梦 阅读(342) 评论(0) 推荐(0) 编辑