You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the bug
My project has a couple bad API calls in it currently. When I run my collection, I get at least one 415 result and one 400 but the runner results shows "Total Requests: 109, Passed: 109, Failed: 0" and all of the individual requests show green checks. I would expect the 400 and 415 to possibly trigger a failed call.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered:
You need to set an assertion in the request on the http response status. Example under the tab:
If you want the assert to pass only on the HTTP Response Codes 200, 201, or 204 for example use the following Expr, Operator, and Values:
res.statusin200,201,204
In this case your request will only pass if the http response header status is one of those three values.
As far as Bruno is concerned your request worked, because it received a response from your API. It doesn't care what that response is unless you tell it to care with an assert.
I have checked the following:
Describe the bug
My project has a couple bad API calls in it currently. When I run my collection, I get at least one 415 result and one 400 but the runner results shows "Total Requests: 109, Passed: 109, Failed: 0" and all of the individual requests show green checks. I would expect the 400 and 415 to possibly trigger a failed call.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: