测试实例:同时用postman模拟请求多个https接口,并验证返回值内容是否正确
1 把多个模拟请求接口封装到一个文件夹,并给每个请求配置Tests(返回值判断,如:判断status===2000),是就通过,不是Testresults是failed
2 执行多个用例
3 查看执行结果
Tests:测试返回值内容具体测试操作参考如下:
参考:https://blog.csdn.net/qq1124794084/article/details/78049456
测试实例:同时用postman模拟请求多个https接口,并验证返回值内容是否正确
1 把多个模拟请求接口封装到一个文件夹,并给每个请求配置Tests(返回值判断,如:判断status===2000),是就通过,不是Testresults是failed
2 执行多个用例
3 查看执行结果
Tests:测试返回值内容具体测试操作参考如下:
参考:https://blog.csdn.net/qq1124794084/article/details/78049456