摘要: 我们前面跟大家分享了接口之间的数据依赖关系,解决接口之间的关系依赖方式是: 第一步:先通过jsonpath 去提取值,第二步我们接着再替换值 那么我们这个值是怎么进行替换的呢? ——直接从我们建立的Data 类(我们建立的my_data全局变量文件)当中取属性值为替换 还有: 1、在一条测试用例当中 阅读全文
posted @ 2022-01-11 19:51 乘风破浪的小落夜 阅读(113) 评论(0) 推荐(1) 编辑
摘要: 一、正则表达式的介绍: 1、主要用于字符串的匹配、提取处理 2、regular :正则表达式的英文 二、regular 表达式学习手册 https://tool.oschina.net/uploads/apidocs/jquery/regexp.html https://gitee.com/thin 阅读全文
posted @ 2022-01-11 19:15 乘风破浪的小落夜 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 一、背景: import pytestimport os # 路径配置需要引入os 模块import json from common.myConf import MyConffrom common.my_path import conf_dirfrom common.my_requests imp 阅读全文
posted @ 2022-01-11 09:58 乘风破浪的小落夜 阅读(383) 评论(0) 推荐(1) 编辑