I have a login request… In the failed scenario i have written the statement tests[“Login Failed”] =false;…
It is executing fine in postman and showing 1 Assertion Error
But in newman, it is showing as 2 tests failed, one Assertion Error and one Assertion Failure… Please find the attached screenshots.
Details (like screenshots):
How I found the problem:
I’ve already tried:
I have tried using assert and just console.log in test which is raising single assertion error but the test is getting passed.