python的断言只有一个那就是assert, 而assertIn等是来自与unittest单元测试框架 Read More
posted @ 2020-12-16 16:50 sriver_dl Views(112) Comments(0) Diggs(0)
在做接口自动化时很多时候都把请求参数写为json或是字典,但是当Content-Type类型为application/x-www-form-urlencoded时,也就是我们的请求体为login_email=xx123&login_password=123456&login_remember=1时再 Read More
posted @ 2020-12-16 14:46 sriver_dl Views(875) Comments(0) Diggs(0)
这个提示翻译过来就是非法请求,换句话说就是请求不对,缺乏必要的参数,最多的可能就是缺cookie和请求头 如果缺乏cookie则可以添加上一个依赖的请求寻找cookie,此时可以直接加一个cookie管理器,如果还不行那采用使用正则表达式进行提取,然后在当前请求的cookie管理中引入正则表达式中的 Read More
posted @ 2020-12-16 07:25 sriver_dl Views(2635) Comments(0) Diggs(0)