01 2022 档案
-
httprunner+JSONPath支持属性和索引多重过滤
摘要:原生的Httprunner2.5.7 ,的Jsonpath似乎被屏蔽了,通过重写,打开后,如下 def _extract_field_with_jsonpath(self, field): if result: # TODO return result[0] if len(result) == 1 阅读全文
-
locust 同机多worker 一键启动
摘要:locust分布式时,需借助命令locust 一个一个启动worker,在使用中有点繁琐, 下面借助于多进程,按既定worker数量,一键启动; class WebsiteUser(HttpUser): tasks = [TaskSet] host = "https://www.baidu.com" 阅读全文
-
meterSphere源码在windows部署
摘要:【metersphere技术栈】 前端:vue 后端:springboot 中间件: mysql, kafka 【meterSphere开源地址】 https://github.com/metersphere/metersphere 【准备工作】 基于技术栈,需要准备以下 软件安装: 工具类: 1. 阅读全文