摘要: 前提:接口自动化测试中,存在依赖情况:test_02的某个请求参数的值,需要依赖test_01返回结果中某个字段的数据,所以就先需要拿到返回数据中特定字段的值。这里使用到python中jsonpath-rw库 1.下载安装 pip install jsonpath-rw 2.导入 from json 阅读全文
posted @ 2018-05-29 18:04 Shapelei 阅读(4134) 评论(2) 推荐(0) 编辑