2020年1月19日
摘要: python2切换到python3之后,快速安装依赖 1、导出依赖到requirements.txt pip freeze > requirement.txt 2、pip升级到pip3 python3 -m pip install --user --upgrade pip 3、pip3根据requi 阅读全文
posted @ 2020-01-19 17:40 该用户很懒 阅读(422) 评论(0) 推荐(0) 编辑
  2020年1月16日
摘要: http://ukagaka.github.io/php/2017/09/21/redisLock.html 阅读全文
posted @ 2020-01-16 11:15 该用户很懒 阅读(176) 评论(0) 推荐(0) 编辑
  2020年1月15日
摘要: 转载:https://blog.csdn.net/qq_21997625/article/details/75271131当你安装 Debian Linux 时,安装过程有可能同时为你提供多个可用的 Python 版本,因此系统中会存在多个 Python 的可执行二进制文件。你可以按照以下方法使用 阅读全文
posted @ 2020-01-15 20:16 该用户很懒 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 从shell(终端)中退出python: 1、输入命令行:$ exit() 2、快捷键: ctrl+Z 阅读全文
posted @ 2020-01-15 20:10 该用户很懒 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 好文推荐:https://blog.csdn.net/JOJOY_tester/article/details/77926470 单个cpu运行:locust -f my_locust_file.py 分布式多cpu运行: 1、启动locust:locust -f my_locust_file.py 阅读全文
posted @ 2020-01-15 17:09 该用户很懒 阅读(453) 评论(0) 推荐(0) 编辑
  2020年1月7日
摘要: 转载:https://segmentfault.com/a/1190000017185195 阅读全文
posted @ 2020-01-07 17:42 该用户很懒 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1、页面跳转到空白页面 前端在拼接url地址的时候出错,导致路由错误,且前端没有做404页面,也没有做重定向 2、静态资源没有加载进来 如果没有nginx的话,可能前端直接像后端请求静态资源的地址不对 3、最新的数据没有更新进来 在测试的过程中,不要勾选disble cache,可以暴露出一些缓存机 阅读全文
posted @ 2020-01-07 16:07 该用户很懒 阅读(298) 评论(0) 推荐(0) 编辑
  2019年12月26日
摘要: https://www.cnblogs.com/kaerxifa/p/11381189.html 红框圈出来部分是个坑,用${BUILD_USER}就无法获取user信息,不能带括号 阅读全文
posted @ 2019-12-26 14:44 该用户很懒 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 1、在apache-jmeter-4.0/bin中vim user.properties 上面截图部分改成xml配置的话, 可以通过 apache-jmeter-4.0/bin/jmeter -n -t xxxx/xxxxxxxx.jmx -l xxxxx/result/xxxxxxxxxx.jtl 阅读全文
posted @ 2019-12-26 10:08 该用户很懒 阅读(327) 评论(0) 推荐(0) 编辑
  2019年12月24日
摘要: 安装 pip install pytest-repeat 命令: pytest --count=10 test_file.py 阅读全文
posted @ 2019-12-24 14:33 该用户很懒 阅读(240) 评论(0) 推荐(0) 编辑