Getting the Error As Status code is 200 | AssertionError: expected '501' to deeply equal '000'

That doesn’t look right.

The test for checking status code 200 is the following.

pm.test("Status code is 200", () => {
  pm.response.to.have.status(200);
});

Remember to make your test fail as well.

pm.test("Status code is 200", () => {
  pm.response.to.have.status(100);
});