摘要: 1、提取 在Tests提取接口1的值如:userid 2、使用 {{user_ID}} 阅读全文
posted @ 2019-10-25 16:09 南方的墙 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1、txt 1.如图第一行为变量名,下面行为对应的值 2.设置 Pre-request-Script 参数 data为文件名,username、password自定义参数名;在Tests最好加上断言 //方式一 //定义变量 var username1 = data.username; var pa 阅读全文
posted @ 2019-10-25 15:13 南方的墙 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 正则:https://mp.weixin.qq.com/s/amaYB0Z_r8wbbjHHk3vshg re 正则:https: // mp.weixin.qq.com / s / amaYB0Z_r8wbbjHHk3vshg re """ re.match 从头开始匹配 re.match(pat 阅读全文
posted @ 2019-10-25 14:44 南方的墙 阅读(1669) 评论(0) 推荐(0) 编辑
摘要: cookies是什么 import requests from urllib import request from http import cookiejar from requests.cookies import RequestsCookieJar #什么是cookies cj = cooki 阅读全文
posted @ 2019-10-25 09:43 南方的墙 阅读(582) 评论(0) 推荐(0) 编辑