check the response HTTP status code
Tests that the response HTTP
status code
is equal to
400
pm.test("Status code is 400", function () {
    pm.response.to.have.status(400);
});
by Valeri Tandilashvili
4 years ago
Postman
postman tests
0
Pro tip: use ```triple backticks around text``` to write in code fences