10 2019 档案
摘要:1、提取 在Tests提取接口1的值如:userid 2、使用 {{user_ID}}
阅读全文
摘要:1、txt 1.如图第一行为变量名,下面行为对应的值 2.设置 Pre-request-Script 参数 data为文件名,username、password自定义参数名;在Tests最好加上断言 //方式一 //定义变量 var username1 = data.username; var pa
阅读全文
摘要:正则:https://mp.weixin.qq.com/s/amaYB0Z_r8wbbjHHk3vshg re 正则:https: // mp.weixin.qq.com / s / amaYB0Z_r8wbbjHHk3vshg re """ re.match 从头开始匹配 re.match(pat
阅读全文
摘要:cookies是什么 import requests from urllib import request from http import cookiejar from requests.cookies import RequestsCookieJar #什么是cookies cj = cooki
阅读全文
摘要:第一步:选择你需要断点的接口,【鼠标右键Breakpoints】 第二步:配置断点接口,【proxy>Breakpoint settings】 选择启用的接口 query一定要设置为* 选择修改请求和返回 第三步:开始断点 1、重新抓取接口 2、修改入参、请求头 3、点击execute执行下一步 4
阅读全文