码迷,mamicode.com
首页 > Web开发 > 详细

性能测试工具Locust+HttpRunner问题汇总

时间:2018-05-16 13:10:47      阅读:728      评论:0      收藏:0      [点我收藏+]

标签:response   通过   版本   module   性能   判断   校验   fail   环境   

【Locust】
1.安装提示No module named gevent
安装VS版本,在python
http://www.360doc.com/content/15/0414/13/12067640_463121220.shtml
toolskey =

2. 打印输出结果
response.content 内容 [可通过写入txt\html文件 校验结果]
response.status_code 状态码 [各种状态码 判定小于400为成功,其余fail]
结果校验
--获取指定值
--404 可判定为成功

【HttpRunner】
http://debugtalk.com/tags/HttpRunner/
1.API 测试断言的时候,"true"判断总出错
2.API 测试登录状态保持如何编写
3.py3 安装locust出错 C++环境
4.Fiddler抓har后可通过har2case 模块转成yml文件

 

性能测试工具Locust+HttpRunner问题汇总

标签:response   通过   版本   module   性能   判断   校验   fail   环境   

原文地址:https://www.cnblogs.com/aeip/p/9044708.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!