[Webtest] Testing JSON Web Services

Deepak Shakya Deepak Shakya <justdpk@gmail.com>
Mon, 31 Oct 2011 14:33:44 +0530


--bcaec520ee9d16c2b604b094847c
Content-Type: text/plain; charset=UTF-8

Hi,

I had been searching to test one of our webservices written in JSON with
Canoo. And I have been successful in doing that. Here is how I am doing it.
Hope its useful.

<invoke method="POST" content="{'data' : 'new data'}" url="
http://localhost/application/webserviceurl" />

-- With Regards,
Deepak Shakya

--bcaec520ee9d16c2b604b094847c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<span style=3D"font-family: verdana,sans-serif;">Hi,</span><br style=3D"fon=
t-family: verdana,sans-serif;"><br style=3D"font-family: verdana,sans-serif=
;"><span style=3D"font-family: verdana,sans-serif;">I had been searching to=
 test one of our webservices written in JSON with Canoo. And I have been su=
ccessful in doing that. Here is how I am doing it. Hope its useful.</span><=
br style=3D"font-family: verdana,sans-serif;">
<br style=3D"font-family: verdana,sans-serif;"><span style=3D"font-family: =
courier new,monospace;">&lt;invoke method=3D&quot;POST&quot; content=3D&quo=
t;{&#39;data&#39; : &#39;new data&#39;}&quot; url=3D&quot;<a href=3D"http:/=
/localhost/application/webserviceurl">http://localhost/application/webservi=
ceurl</a>&quot; /&gt;</span><br style=3D"font-family: verdana,sans-serif;" =
clear=3D"all">
<br style=3D"font-family: verdana,sans-serif;"><span style=3D"font-family: =
verdana,sans-serif;">-- With Regards,</span><br style=3D"font-family: verda=
na,sans-serif;"><span style=3D"font-family: verdana,sans-serif;">Deepak Sha=
kya</span><br>


--bcaec520ee9d16c2b604b094847c--