postman——集合——执行集合——测试脚本——示例05——检查响应时间是否小于某个值

检查响应时间是否小于某个值;

pm.test("response time is less than 1200ms",function()
{
pm.expect(pm.response.responseTime).to.be.below(1200);
});

===========================================================================

原文地址:https://www.cnblogs.com/xiaobaibailongma/p/12197063.html