Postman测试response内容判断并同时测试多条请求

测试实例:同时用postman模拟请求多个https接口,并验证返回值内容是否正确
postman实例
1 把多个模拟请求接口封装到一个文件夹,并给每个请求配置Tests(返回值判断,如:判断status===2000),是就通过,不是Testresults是failed
2 执行多个用例
postman执行多条请求
3 查看执行结果测试结果

Tests:测试返回值内容具体测试操作参考如下:
参考:https://blog.csdn.net/qq1124794084/article/details/78049456

猜你喜欢

转载自blog.csdn.net/u013908944/article/details/86616641