Forum Discussion

slabarbara's avatar
slabarbara
New Contributor
12 years ago

json payload causes errors

Hello,
I am experiencing strange results using SoapUI 4.0.0. My REST service is a POST that expects a payload of:
{

"payload" : {
"accepted" : true
}
}

This works perfectly fine using Google Advanced Rest Client. However, when using SoapUI (which is a requirement at work to export the soap xml file) I get errors. No matter what I do with the payload, remove whitespace, etc., I get the following error:

org.codehaus.jackson.JsonParseException: Unexpected end-of-input: expected close marker for OBJECT

Is there a way to resolve this issue. It is as if SoapUI is somehow manipulating that payload and removing a '}' or something.

Thanks
Sam

1 Reply

  • You should see the full request payload in the 'Raw' request tab or in the bottom "HTTP Log" tab.

    The content of your payload shouldn't change unless there's some odd configuration or event script in place.

    Thanks,
    Michael Giller
    SmartBear Software