postman——集合——执行集合——测试脚本——示例04——检查响应状态码中是否包某个字符串
检查响应状态码中是否包某个字符串:
pm.test("status code name has string",function()
{
pm.response.to.have.status("OK");
});
=========================================================================

检查响应状态码中是否包某个字符串:
pm.test("status code name has string",function()
{
pm.response.to.have.status("OK");
});
=========================================================================
