检查响应中是否包含某个header:
pm.test("content-type is present",function()
{
pm.response.to.have.header("Content-Type");
});
===========================================================================
检查响应中是否包含某个header:
pm.test("content-type is present",function()
{
pm.response.to.have.header("Content-Type");
});
===========================================================================