[Webtest] [reportSite]: no url for crawling of Spider generated

Tomi Mäkinen Tomi Mäkinen"
Mon, 16 Jun 2008 15:10:33 +0300


------=_Part_12342_12017332.1213618233283
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

2008/6/16 Tomi M=E4kinen <tomppa.makinen@gmail.com>:

> Hi,
>
> I have done some modifications concerning reporSite:
>
> -Improved reporting
> -Added onsiteonly conf to reportSite (just like in verifyLinks)
>
> I can give you these modifications, if you want. May be this could be in
> next release.
>
> Regards,
> Tomi M=E4kinen
>
> 2008/6/16 Marc Guillemot <mguillemot@yahoo.fr>:
>
> It would make sense to add the url of the current page to all error
>> messages. Can you open an issue for that?
>>
>> Cheers,
>> Marc.
>> --
>> Blog: http://mguillem.wordpress.com
>>
>>
>> Achim Westermann wrote:
>> > Hi list,
>> >
>> > I am using the reportSite step to crawl a site. In the results I canno=
t
>> find any URL of the crawled page. So if any page has an unsuccessful
>> verification step it is impossible to know the failing page.
>> > I am using the following test:
>> >
>> > <?xml version=3D"1.0"?>
>> >
>> > <!DOCTYPE project SYSTEM "../dtd/Project.dtd">
>> >
>> > <project default=3D"test">
>> >
>> >       <target name=3D"test">
>> >
>> >               <webtest name=3D"crawl jchart2d">
>> >                       <invoke url=3D"http://xxx.net" description=3D"Go=
 to
>> xxx"/>
>> >                    <reportSite depth=3D"1">
>> >         <verifyDocumentURL text=3D".+" regex=3D"true"/>
>> >      </reportSite>
>> >               </webtest>
>> >
>> >       </target>
>> > </project>
>> >
>> >
>> > Am I missing some trick?
>> >
>> > kind regards,
>> >
>> > Achim
>> > _______________________________________________
>> > WebTest mailing list
>> > WebTest@lists.canoo.com
>> > http://lists.canoo.com/mailman/listinfo/webtest
>> >
>>
>> _______________________________________________
>> WebTest mailing list
>> WebTest@lists.canoo.com
>> http://lists.canoo.com/mailman/listinfo/webtest
>>
>
>

------=_Part_12342_12017332.1213618233283
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br><br><div class=3D"gmail_quote">2008/6/16 Tomi M=E4kinen &lt;<a href=3D"=
mailto:tomppa.makinen@gmail.com">tomppa.makinen@gmail.com</a>&gt;:<br><bloc=
kquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have done some modifications concerning reporSite: <br><br>-Im=
proved reporting<br>-Added onsiteonly conf to reportSite (just like in veri=
fyLinks)<br><br>I can give you these modifications, if you want. May be thi=
s could be in next release.<br>


<br>Regards,<br>Tomi M=E4kinen<br><br><div class=3D"gmail_quote">
2008/6/16 Marc Guillemot &lt;<a href=3D"mailto:mguillemot@yahoo.fr" target=
=3D"_blank">mguillemot@yahoo.fr</a>&gt;:<div><div></div><div class=3D"Wj3C7=
c"><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rg=
b(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



It would make sense to add the url of the current page to all error<br>
messages. Can you open an issue for that?<br>
<br>
Cheers,<br>
Marc.<br>
<font color=3D"#888888">--<br>
Blog: <a href=3D"http://mguillem.wordpress.com" target=3D"_blank">http://mg=
uillem.wordpress.com</a><br>
</font><div><div></div><div><br>
<br>
Achim Westermann wrote:<br>
&gt; Hi list,<br>
&gt;<br>
&gt; I am using the reportSite step to crawl a site. In the results I canno=
t find any URL of the crawled page. So if any page has an unsuccessful veri=
fication step it is impossible to know the failing page.<br>
&gt; I am using the following test:<br>
&gt;<br>
&gt; &lt;?xml version=3D&quot;1.0&quot;?&gt;<br>
&gt;<br>
&gt; &lt;!DOCTYPE project SYSTEM &quot;../dtd/Project.dtd&quot;&gt;<br>
&gt;<br>
&gt; &lt;project default=3D&quot;test&quot;&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;target name=3D&quot;test&quot;&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;webtest name=3D&q=
uot;crawl jchart2d&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &lt;invoke url=3D&quot;<a href=3D"http://xxx.net" target=3D"_blank">=
http://xxx.net</a>&quot; description=3D&quot;Go to xxx&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&=
lt;reportSite depth=3D&quot;1&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;verifyDocumentURL text=3D&quot;.+&quot=
; regex=3D&quot;true&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&lt;/reportSite&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/webtest&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;/target&gt;<br>
&gt; &lt;/project&gt;<br>
&gt;<br>
&gt;<br>
&gt; Am I missing some trick?<br>
&gt;<br>
&gt; kind regards,<br>
&gt;<br>
&gt; Achim<br>
&gt; _______________________________________________<br>
&gt; WebTest mailing list<br>
&gt; <a href=3D"mailto:WebTest@lists.canoo.com" target=3D"_blank">WebTest@l=
ists.canoo.com</a><br>
&gt; <a href=3D"http://lists.canoo.com/mailman/listinfo/webtest" target=3D"=
_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
&gt;<br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
<a href=3D"mailto:WebTest@lists.canoo.com" target=3D"_blank">WebTest@lists.=
canoo.com</a><br>
<a href=3D"http://lists.canoo.com/mailman/listinfo/webtest" target=3D"_blan=
k">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>

------=_Part_12342_12017332.1213618233283--