随笔分类 -  接口自动化

摘要:如果页面是gbk编码,就采用以下方式解决 1 r = requests.get(url=url,headers=headers) 2 r.encoding='gbk' 3 html = r.text 阅读全文
posted @ 2022-04-09 14:41 东方不败--Never 阅读(117) 评论(0) 推荐(0) 编辑
摘要:安装 1、windows安装地址: https://github.com/MicrosoftArchive/redis/releases 2、redis windows 版本的安装与使用:https://www.cnblogs.com/qiantao/p/12701199.html 3、redis启 阅读全文
posted @ 2019-12-15 22:55 东方不败--Never 阅读(742) 评论(1) 推荐(0) 编辑
摘要:配置 下载地址https://github.com/httprunner/FasterRunner后端配置https://www.jianshu.com/p/e26ccc21ddf2前端配置https://www.cnblogs.com/luopan/p/10250485.htmlmac下安装Rab 阅读全文
posted @ 2019-12-15 00:19 东方不败--Never 阅读(1599) 评论(0) 推荐(0) 编辑
摘要:Windows 环境搭建 1. 下载安装pip install httprunner==1.4.2hrun -V #1.4.2har2case -V #0.1.82. httprunnermanager项目地址https://github.com/HttpRunner/HttpRunnerManag 阅读全文
posted @ 2019-11-10 11:38 东方不败--Never 阅读(531) 评论(0) 推荐(0) 编辑
摘要:1 . mac pycharm 创建虚拟环境 https://blog.csdn.net/qq_39806105/article/details/96908584 2. mac 环境下搭建HttpRunnerManager平台 https://blog.csdn.net/anywayiknow/ar 阅读全文
posted @ 2019-10-28 16:16 东方不败--Never 阅读(542) 评论(0) 推荐(0) 编辑
摘要:请求设置:requests.get/post ( url, data={}, params={}, headers={}, timeout=0.01, files={} Session() verity=False 关闭ssl验证 ) 响应获取:response .status_code url c 阅读全文
posted @ 2018-10-20 22:07 东方不败--Never 阅读(234) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示