gztpd
6 months 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...
- 10 hours ago
Hi gztpd
This appears to be a SoapUI JSON-editor/UI limitation (or regression), not an API issue. The raw response confirms the server returns a valid application/json body with Content-Length: 2 and payload []. An empty JSON array is valid JSON and is semantically different from a zero-length response body.
Please use the Raw tab as the source of truth . SoapUI’s newer response editor is selected based on the response content type, which may explain why this behavior is visible in the JSON tab.
Hope this helps !!