[Webtest] Unknown extension...

Wesley Silva Wesley Silva" <wesleyse@gmail.com
Fri, 22 Aug 2008 08:43:59 -0300


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

I belive i find out the problem, but i still don't know how to fix it...In
my webapp hosted on TomCat there is a filter (for authentication purposes)
in web.xml, when i remove it webtest works....Somehow the filter is
redirecting the response in something that webtest interprets as a non-html
response...

On Fri, Aug 22, 2008 at 4:57 AM, Marc Guillemot <mguillemot@yahoo.fr> wrote:

> which headers did you change? If in WebTest, this is incorrect: this is
> your web server that doesn't send the right header.
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
> Wesley Silva wrote:
> > I really don't know why this is happening...The funny thing is that i
> > tried with another sites and it works...I believe that is a problem with
> > my system, but I've already tried so many things, i already changed the
> > user-agent, the header , type of content, etc...but it is still not
> > recognizing the format...
> > Any ideas?
> >
> >
> >
> > On Wed, Aug 20, 2008 at 9:48 AM, Marc Guillemot <mguillemot@yahoo.fr
> > <mailto:mguillemot@yahoo.fr>> wrote:
> >
> >     Hi,
> >
> >     it seems that your web server isn't correctly configured and doesn't
> any
> >     content type header, is it possible? What happens in your "normal"
> >     browser?
> >
> >     Cheers,
> >     Marc.
> >     --
> >     Blog: http://mguillem.wordpress.com
> >
> >
> >     Wesley Silva wrote:
> >     > Hi,
> >     >
> >     > Can anyone tell me why is this happening?
> >     >
> >     >    [invoke]  INFO (com.canoo.webtest.steps.
> >     > request.TargetHelper) - getting resp
> >     > nse for url: http://localhost:8080/Mypage.jsp
> >     >    [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) -
> >     Content
> >     > of wind
> >     > w changed to http://localhost:8080/Mypage.jsp
> >     > ()
> >     >
> >     > This is resulting in a page written like this
> >     > 002_response_invoke.unknown instead of 002_response_invoke.html
> >     > And then i am getting this error: Current response is not an HTML
> page
> >     > but of type
> >     >
> >     > --
> >     > Att,
> >     > Wesley
> >
> >
> >     _______________________________________________
> >     WebTest mailing list
> >     WebTest@lists.canoo.com <mailto:WebTest@lists.canoo.com>
> >     http://lists.canoo.com/mailman/listinfo/webtest
> >
> >
> >
> >
> > --
> > Att,
> > Wesley
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>



-- 
Att,
Wesley

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

<div dir="ltr">I belive i find out the problem, but i still don&#39;t know how to fix it...In my webapp hosted on TomCat there is a filter (for authentication purposes) in web.xml, when i remove it webtest works....Somehow the filter is redirecting the response in something that webtest interprets as a non-html response...<br>
<br><div class="gmail_quote">On Fri, Aug 22, 2008 at 4:57 AM, Marc Guillemot <span dir="ltr">&lt;<a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</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;">
which headers did you change? If in WebTest, this is incorrect: this is<br>
your web server that doesn&#39;t send the right header.<br>
<div class="Ih2E3d"><br>
Cheers,<br>
Marc.<br>
--<br>
Blog: <a href="http://mguillem.wordpress.com" target="_blank">http://mguillem.wordpress.com</a><br>
<br>
Wesley Silva wrote:<br>
</div><div class="Ih2E3d">&gt; I really don&#39;t know why this is happening...The funny thing is that i<br>
&gt; tried with another sites and it works...I believe that is a problem with<br>
&gt; my system, but I&#39;ve already tried so many things, i already changed the<br>
&gt; user-agent, the header , type of content, etc...but it is still not<br>
&gt; recognizing the format...<br>
&gt; Any ideas?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 20, 2008 at 9:48 AM, Marc Guillemot &lt;<a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</a><br>
</div><div><div></div><div class="Wj3C7c">&gt; &lt;mailto:<a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Hi,<br>
&gt;<br>
&gt; &nbsp; &nbsp; it seems that your web server isn&#39;t correctly configured and doesn&#39;t any<br>
&gt; &nbsp; &nbsp; content type header, is it possible? What happens in your &quot;normal&quot;<br>
&gt; &nbsp; &nbsp; browser?<br>
&gt;<br>
&gt; &nbsp; &nbsp; Cheers,<br>
&gt; &nbsp; &nbsp; Marc.<br>
&gt; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; Blog: <a href="http://mguillem.wordpress.com" target="_blank">http://mguillem.wordpress.com</a><br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; Wesley Silva wrote:<br>
&gt; &nbsp; &nbsp; &gt; Hi,<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; Can anyone tell me why is this happening?<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;[invoke] &nbsp;INFO (com.canoo.webtest.steps.<br>
&gt; &nbsp; &nbsp; &gt; request.TargetHelper) - getting resp<br>
&gt; &nbsp; &nbsp; &gt; nse for url: <a href="http://localhost:8080/Mypage.jsp" target="_blank">http://localhost:8080/Mypage.jsp</a><br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;[invoke] &nbsp;INFO (com.canoo.webtest.engine.WebClientContext) -<br>
&gt; &nbsp; &nbsp; Content<br>
&gt; &nbsp; &nbsp; &gt; of wind<br>
&gt; &nbsp; &nbsp; &gt; w changed to <a href="http://localhost:8080/Mypage.jsp" target="_blank">http://localhost:8080/Mypage.jsp</a><br>
&gt; &nbsp; &nbsp; &gt; ()<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; This is resulting in a page written like this<br>
&gt; &nbsp; &nbsp; &gt; 002_response_invoke.unknown instead of 002_response_invoke.html<br>
&gt; &nbsp; &nbsp; &gt; And then i am getting this error: Current response is not an HTML page<br>
&gt; &nbsp; &nbsp; &gt; but of type<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; --<br>
&gt; &nbsp; &nbsp; &gt; Att,<br>
&gt; &nbsp; &nbsp; &gt; Wesley<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; WebTest mailing list<br>
</div></div>&gt; &nbsp; &nbsp; <a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a> &lt;mailto:<a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; &nbsp; &nbsp; <a href="http://lists.canoo.com/mailman/listinfo/webtest" target="_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Att,<br>
&gt; Wesley<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Att,<br>Wesley<br>
</div>

------=_Part_66689_8184143.1219405439465--