检查响应时间是否小于某个值;
pm.test("response time is less than 1200ms",function()
{
pm.expect(pm.response.responseTime).to.be.below(1200);
});
===========================================================================
检查响应时间是否小于某个值;
pm.test("response time is less than 1200ms",function()
{
pm.expect(pm.response.responseTime).to.be.below(1200);
});
===========================================================================