- 博客(1)
- 收藏
- 关注
原创 postman断言方法
postman一共有8种断言方式postman的断言方式//八种断言方式1、断言返回码为200(*****)状态断言pm.test("Status code is 200", function () {pm.response.to.have.status(200);});2、断言返回的结果中包含有指定的字符串(*****)业务断言pm.test("Body matches string", function () {pm.expect(pm.response.tex.
2021-09-21 00:21:03
4547
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人