Forum Discussion

eddgrant's avatar
14 years ago

soapUI not recognising JSON response

Hi All,

I'm using soapUI 3.5.1 (free version) to test a service which produces a JSON response. I can successfully POST a request and get the following response back:

HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Content-Language: en-GB
Content-Length: 172
Server: Jetty(6.1.x)


{
"w": true,
"s": 201,
"c": "thisIsMyContextValue",
"e": {

},
"r": {
"~path": "/People/5",
"dateOfBirth": "01/02/1981",
"email": "edd@stretchr.com",
"lName": "Grant",
"fName": "Edd"
}
}


However when I click on the JSON tab to view the response soapUI states <Not JSON content>. As a result the only way I can view the response is using the RAW tab.

From what I can tell my response is valid JSON, I have run it through jsonlint.org which seems to concur. Hence the only thing I can think of is that this might a bug in soapUI?

Has anyone else experienced this? Would be most grateful if anyone has any insight as to a possible solution, or indeed confirmation of a bug.

Cheers,

Edd
No RepliesBe the first to reply