[Webtest] RE: testing JSON web services

Tokutan Tokutan <tokutan@gmail.com>
Thu, 4 Sep 2008 09:45:55 +1000


------=_Part_45728_11513887.1220485555357
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks for replying Conor. I have been able to use webtest to test SOAP
based Web services using Webtest. However since I need to test JSON web
services, I am wondering whether it is possible to use webtest for this
purpose

On Wed, Sep 3, 2008 at 8:01 PM, <webtest-request@lists.canoo.com> wrote:

> Send WebTest mailing list submissions to
>        webtest@lists.canoo.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.canoo.com/mailman/listinfo/webtest
> or, via email, send a message with subject or body 'help' to
>        webtest-request@lists.canoo.com
>
> You can reach the person managing the list at
>        webtest-admin@lists.canoo.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WebTest digest..."
>
>
> Today's Topics:
>
>   1. RE: testing JSON web services (Conor MacMahon)
>
> --__--__--
>
> Message: 1
> Subject: RE: [Webtest] testing JSON web services
> Date: Wed, 3 Sep 2008 11:18:40 +1000
> From: "Conor MacMahon" <Conor.MacMahon@qsa.qld.edu.au>
> To: <webtest@lists.canoo.com>
> Reply-To: webtest@lists.canoo.com
> Reply-To: "Conor MacMahon" <Conor.MacMahon@qsa.qld.edu.au>
>
> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01C90D62.FFB03318
> Content-Type: text/plain;
>        charset="us-ascii"
> Content-Transfer-Encoding: 7bit
>
> Hi Tukutan,
>                My gut feel is that webtest is good for testing typical
> point and click web applications (e.g. facebook, google). For testing
> web services, I would recommend creating soap messages and sending them
> and asserting the replies in an 'integration' test.
>                Someone else may have some input on if/how you would use
> webtest for web service testing.
> Best,
> Conor
>
> ________________________________
>
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Tokutan
> Sent: Wednesday, 3 September 2008 11:14 AM
> To: webtest@lists.canoo.com
> Subject: [Webtest] testing JSON web services
>
>
> Hi,
>
> I am currently about to do a new project to test JSON based web
> services. I was told to research a testing tool that can be used to test
> this web services. Since, I have been using webtest, I would really like
> to use the same tool to test this.
>
> Is it possible to use webtest for this purpose? I am completely new to
> test JSON web services and thus I don't know much about the requirement
> to test JSON web services.
>
> Thanks,
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended
> recipient(s) only. If you received this email by mistake, please,
> as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the Queensland Studies Authority. All reasonable
> precautions have been taken to ensure that this email contained no
> viruses at the time it was sent.
>
>
> ------_=_NextPart_001_01C90D62.FFB03318
> Content-Type: text/html;
>        charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk">
> <HEAD>
> <META http-equiv=3D"Content-Type" content=3D"text/html; =
> charset=3DUTF-16">
>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Dus-ascii">
> <META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD><BODY =
> ><DIV>
> <DIV dir=3Dltr align=3Dleft><SPAN class=3D798421501-03092008><FONT =
> face=3DArial=20
> color=3D#0000ff size=3D2>Hi Tukutan,</FONT></SPAN></DIV>
> <DIV dir=3Dltr align=3Dleft><SPAN class=3D798421501-03092008><FONT =
> face=3DArial=20
> color=3D#0000ff=20
> size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
> p;&nbsp;&nbsp;&nbsp;&nbsp;=20
> My gut feel is that webtest is good for testing typical point and click =
> web=20
> applications (e.g. facebook, google). For testing web services, I would=20
> recommend creating soap messages and sending them and asserting the =
> replies in=20
> an&nbsp;'integration' test.</FONT></SPAN></DIV>
> <DIV dir=3Dltr align=3Dleft><SPAN class=3D798421501-03092008><FONT =
> face=3DArial=20
> color=3D#0000ff=20
> size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
> p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Someone=20
> else may have some input on if/how you would use webtest for web service =
>
> testing.</FONT></SPAN></DIV>
> <DIV dir=3Dltr align=3Dleft><SPAN class=3D798421501-03092008><FONT =
> face=3DArial=20
> color=3D#0000ff size=3D2>Best,</FONT></SPAN></DIV>
> <DIV dir=3Dltr align=3Dleft><SPAN class=3D798421501-03092008><FONT =
> face=3DArial=20
> color=3D#0000ff size=3D2>Conor</FONT></SPAN></DIV><BR>
> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
> <HR tabIndex=3D-1>
> <FONT face=3DTahoma size=3D2><B>From:</B> webtest-admin@lists.canoo.com=20
> [mailto:webtest-admin@lists.canoo.com] <B>On Behalf Of=20
> </B>Tokutan<BR><B>Sent:</B> Wednesday, 3 September 2008 11:14 =
> AM<BR><B>To:</B>=20
> webtest@lists.canoo.com<BR><B>Subject:</B> [Webtest] testing JSON web=20
> services<BR></FONT><BR></DIV>
> <DIV></DIV>
> <DIV dir=3Dltr>Hi,<BR><BR>I am currently about to do a new project to =
> test JSON=20
> based web services. I was told to research a testing tool that can be =
> used to=20
> test this web services. Since, I have been using webtest, I would really =
> like to=20
> use the same tool to test this.<BR><BR>Is it possible to use webtest for =
> this=20
> purpose? I am completely new to test JSON web services and thus I don't =
> know=20
> much about the requirement to test JSON web=20
> services.<BR><BR>Thanks,<BR></DIV></DIV>
> <PRE>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email (including any attached files) is for the intended=20
> recipient(s) only. If you received this email by mistake, please,=20
> as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily=20
> reflect those of the Queensland Studies Authority. All reasonable=20
> precautions have been taken to ensure that this email contained no=20
> viruses at the time it was sent.
> </PRE></BODY></HTML>
>
> ------_=_NextPart_001_01C90D62.FFB03318--
>
>
> --__--__--
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
> End of WebTest Digest
>

------=_Part_45728_11513887.1220485555357
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">Thanks for replying Conor. I have been able to use webtest to test SOAP based Web services using Webtest. However since I need to test JSON web services, I am wondering whether it is possible to use webtest for this purpose<br>
<br><div class="gmail_quote">On Wed, Sep 3, 2008 at 8:01 PM,  <span dir="ltr">&lt;<a href="mailto:webtest-request@lists.canoo.com">webtest-request@lists.canoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send WebTest mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.canoo.com/mailman/listinfo/webtest" target="_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:webtest-request@lists.canoo.com">webtest-request@lists.canoo.com</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of WebTest digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. RE: testing JSON web services (Conor MacMahon)<br>
<br>
--__--__--<br>
<br>
Message: 1<br>
Subject: RE: [Webtest] testing JSON web services<br>
Date: Wed, 3 Sep 2008 11:18:40 +1000<br>
From: &quot;Conor MacMahon&quot; &lt;<a href="mailto:Conor.MacMahon@qsa.qld.edu.au">Conor.MacMahon@qsa.qld.edu.au</a>&gt;<br>
To: &lt;<a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a>&gt;<br>
Reply-To: <a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a><br>
Reply-To: &quot;Conor MacMahon&quot; &lt;<a href="mailto:Conor.MacMahon@qsa.qld.edu.au">Conor.MacMahon@qsa.qld.edu.au</a>&gt;<br>
<br>
This is a multi-part message in MIME format.<br>
<br>
------_=_NextPart_001_01C90D62.FFB03318<br>
Content-Type: text/plain;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;charset=&quot;us-ascii&quot;<br>
Content-Transfer-Encoding: 7bit<br>
<br>
Hi Tukutan,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;My gut feel is that webtest is good for testing typical<br>
point and click web applications (e.g. facebook, google). For testing<br>
web services, I would recommend creating soap messages and sending them<br>
and asserting the replies in an &#39;integration&#39; test.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Someone else may have some input on if/how you would use<br>
webtest for web service testing.<br>
Best,<br>
Conor<br>
<br>
________________________________<br>
<br>
From: <a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a><br>
[mailto:<a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a>] On Behalf Of Tokutan<br>
Sent: Wednesday, 3 September 2008 11:14 AM<br>
To: <a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a><br>
Subject: [Webtest] testing JSON web services<br>
<br>
<br>
Hi,<br>
<br>
I am currently about to do a new project to test JSON based web<br>
services. I was told to research a testing tool that can be used to test<br>
this web services. Since, I have been using webtest, I would really like<br>
to use the same tool to test this.<br>
<br>
Is it possible to use webtest for this purpose? I am completely new to<br>
test JSON web services and thus I don&#39;t know much about the requirement<br>
to test JSON web services.<br>
<br>
Thanks,<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
This email (including any attached files) is for the intended<br>
recipient(s) only. If you received this email by mistake, please,<br>
as a courtesy, tell the sender, then delete this email.<br>
<br>
The views and opinions are the originator&#39;s and do not necessarily<br>
reflect those of the Queensland Studies Authority. All reasonable<br>
precautions have been taken to ensure that this email contained no<br>
viruses at the time it was sent.<br>
<br>
<br>
------_=_NextPart_001_01C90D62.FFB03318<br>
Content-Type: text/html;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;charset=&quot;us-ascii&quot;<br>
Content-Transfer-Encoding: quoted-printable<br>
<br>
&lt;HTML xmlns:eXclaimer=3D&quot;<a href="http://www.exclaimer.co.uk" target="_blank">http://www.exclaimer.co.uk</a>&quot;&gt;<br>
&lt;HEAD&gt;<br>
&lt;META http-equiv=3D&quot;Content-Type&quot; content=3D&quot;text/html; =<br>
charset=3DUTF-16&quot;&gt;<br>
<br>
&lt;META http-equiv=3DContent-Type content=3D&quot;text/html; =<br>
charset=3Dus-ascii&quot;&gt;<br>
&lt;META content=3D&quot;MSHTML 6.00.6000.16608&quot; name=3DGENERATOR&gt;&lt;/HEAD&gt;&lt;BODY =<br>
&gt;&lt;DIV&gt;<br>
&lt;DIV dir=3Dltr align=3Dleft&gt;&lt;SPAN class=3D798421501-03092008&gt;&lt;FONT =<br>
face=3DArial=20<br>
color=3D#0000ff size=3D2&gt;Hi Tukutan,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV dir=3Dltr align=3Dleft&gt;&lt;SPAN class=3D798421501-03092008&gt;&lt;FONT =<br>
face=3DArial=20<br>
color=3D#0000ff=20<br>
size=3D2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbs=<br>
p;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=20<br>
My gut feel is that webtest is good for testing typical point and click =<br>
web=20<br>
applications (e.g. facebook, google). For testing web services, I would=20<br>
recommend creating soap messages and sending them and asserting the =<br>
replies in=20<br>
an&amp;nbsp;&#39;integration&#39; test.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV dir=3Dltr align=3Dleft&gt;&lt;SPAN class=3D798421501-03092008&gt;&lt;FONT =<br>
face=3DArial=20<br>
color=3D#0000ff=20<br>
size=3D2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbs=<br>
p;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Someone=20<br>
else may have some input on if/how you would use webtest for web service =<br>
<br>
testing.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV dir=3Dltr align=3Dleft&gt;&lt;SPAN class=3D798421501-03092008&gt;&lt;FONT =<br>
face=3DArial=20<br>
color=3D#0000ff size=3D2&gt;Best,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV dir=3Dltr align=3Dleft&gt;&lt;SPAN class=3D798421501-03092008&gt;&lt;FONT =<br>
face=3DArial=20<br>
color=3D#0000ff size=3D2&gt;Conor&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR&gt;<br>
&lt;DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft&gt;<br>
&lt;HR tabIndex=3D-1&gt;<br>
&lt;FONT face=3DTahoma size=3D2&gt;&lt;B&gt;From:&lt;/B&gt; <a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a>=20<br>
[mailto:<a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a>] &lt;B&gt;On Behalf Of=20<br>
&lt;/B&gt;Tokutan&lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; Wednesday, 3 September 2008 11:14 =<br>
AM&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt;=20<br>
<a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a>&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; [Webtest] testing JSON web=20<br>
services&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;/DIV&gt;<br>
&lt;DIV dir=3Dltr&gt;Hi,&lt;BR&gt;&lt;BR&gt;I am currently about to do a new project to =<br>
test JSON=20<br>
based web services. I was told to research a testing tool that can be =<br>
used to=20<br>
test this web services. Since, I have been using webtest, I would really =<br>
like to=20<br>
use the same tool to test this.&lt;BR&gt;&lt;BR&gt;Is it possible to use webtest for =<br>
this=20<br>
purpose? I am completely new to test JSON web services and thus I don&#39;t =<br>
know=20<br>
much about the requirement to test JSON web=20<br>
services.&lt;BR&gt;&lt;BR&gt;Thanks,&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;<br>
&lt;PRE&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
This email (including any attached files) is for the intended=20<br>
recipient(s) only. If you received this email by mistake, please,=20<br>
as a courtesy, tell the sender, then delete this email.<br>
<br>
The views and opinions are the originator&#39;s and do not necessarily=20<br>
reflect those of the Queensland Studies Authority. All reasonable=20<br>
precautions have been taken to ensure that this email contained no=20<br>
viruses at the time it was sent.<br>
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;<br>
<br>
------_=_NextPart_001_01C90D62.FFB03318--<br>
<br>
<br>
--__--__--<br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
<a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a><br>
<a href="http://lists.canoo.com/mailman/listinfo/webtest" target="_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
<br>
<br>
End of WebTest Digest<br>
</blockquote></div><br></div>

------=_Part_45728_11513887.1220485555357--