Hello,
I was using the below as mentioned in the postman documentation:
pm.response.to.be.badRequest
The request that I fire is actually giving me a Bad Request but somehow the assertion failed with the below message:
AssertionError | expected response to have status reason ‘BADREQUEST’ but got ‘BAD REQUEST’
Let me know what is wrong here.
Postman Version:
Postman helps you develop APIs faster
Postman for Linux
Version 5.5.0