美文网首页
windows10 环境 httprunner 安装

windows10 环境 httprunner 安装

作者: 只有香如故 | 来源:发表于2020-05-28 10:15 被阅读0次

httprunner是基于Python开发的,所以使用httprunner是需要安装Python。根据官方文档Python3+版本兼容性更好。本文使用Anaconda提供python3+环境。
https://github.com/httprunner/httprunner
安装 Anaconda 参考文档如下:
https://blog.csdn.net/ITLearnHall/article/details/81708148

创建虚拟环境

conda create --name httprunner Python=3.7

进入虚拟环境

activate httprunner

在虚拟环境安装httprunner和har2case

pip install har2case
https://www.cnpython.com/pypi/har2case

由于httprunner3+版本有不可查报错,目前推荐使用2+版本

pip install git+https://github.com/HttpRunner/HttpRunner.git@v2.5.7

验证环境

hrun -V

相关文章

网友评论

      本文标题:windows10 环境 httprunner 安装

      本文链接:https://www.haomeiwen.com/subject/vfdoahtx.html