Console log when test fails

Hello, Iโ€™m trying to debug why something fails, the test basicly checks for a string within the body, however It is a bit frustrating navigating the console, trying to figure out which test failed out of hundreds.

So, can I incorporate somehow to have console.log(pm.response.json()) or even a simple console.log(โ€œhereโ€) for only when the test FAILS. if the test fails

2 Likes

Would love to know if there is an answer for this.

Already raised a feature request for the same