Forum Discussion

smazhu000's avatar
13 years ago

How to set up json request and response in soapui?

I have a json request which I want to test using soapui, but I am not able to make it work.

Here is the curl request and its response for example.

Request: curl --header "Content-Type: application/json" http://ccpapp-dt-v010-d.dt.ccp.cable.co ... e/testing/ -d '{"getServiceAccountInfo":{"requestId":"HongYe1234567890abcdefghijklmnopqrst","billingIds":["9999648519301"]},"requester":"remoteDvr"}'


Response: {"response":{"accounts":[{"serviceAccountId":"763","deviceIds":[]}],"requestId":"HongYe1234567890abcdefghijklmnopqrst"}}

Can anyone provide me the steps to configure it in soapUI and test it?

Thanks.
No RepliesBe the first to reply