gztpd
1 day agoNew Member
SoapUI 5.9.1 displays "[]" as "<Empty JSON content>"
In the latest version of SoapUI, when my endpoints return an empty array, this is correctly displayed in the "Raw" tab of the response (see below). However, the JSON tab displays "<Empty JSON content>", which I would say is semantically incorrect. An empty array IS data. I would only expect to see that message when the response has a zero-length body, which is not the case here.
Is this a deliberate decision or a bug?
--- Raw response below ---
HTTP/1.1 200 OK
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Content-Length: 2
ETag: W/"2-l9Fw4VUO7kr8CvBlt4zaMCqXZ0w"
Vary: Accept-Encoding
Date: Sun, 08 Mar 2026 10:19:39 GMT
Connection: keep-alive
Keep-Alive: timeout=5
[]