-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Assert Section Signals Invalid JSON For Array With String Values #7556
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I have checked the following:
- I have searched existing issues and found nothing related to my issue.
This bug is:
- making Bruno unusable for me
- slowing me down but I'm able to continue working
- annoying
- this feature was working in a previous version but is broken in the current release.
Bruno version
3.1.4
Operating System
macOS Tahoe 26.3.1 (a)
Describe the bug
I usually have some basic assertions for all requests. I noticed that Bruno is failing a simple res.body isJson assertion now for some responses that are just a collection of string values; for instance:
[
"A55001213ZX0A"
].bru file to reproduce the bug
meta {
name: Some Identifier
type: http
}
get {
url: {{api-host}}/resource/{{resource-id}}
body: none
}
headers {
Accept: application/json
}
vars:pre-request {
resource-id: A55001213ZX0A
}
assert {
res.status: eq 200
res.body: isJson
}Screenshots/Live demo link
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working