Michael,
I don't understand your question. If you want to know if redirection works in
JWebUnit take a look at this unit test:
http://jwebunit.sourceforge.net/xref/net/sourceforge/jwebunit/tests/RedirectionTest.html
If you want to know in your test that a redirection occured... then it is not
currently possible.
Regards,
Julien
----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Vendredi, 19 Octobre 2007, 10h16mn 10s
Objet : Re: [JWebUnit-users] Re : Enable followRedirects.
DIV {
MARGIN:0px;}
As I understand it, the redirect is enabled as default,
but how do I do to check that it enabled.
Regards, Michael Danielsson
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julien
HENRY
Sent: den 19 oktober 2007 08:39
To: Usage problems for
JWebUnit
Subject: [JWebUnit-users] Re : Enable
followRedirects.
http://htmlunit.sourceforge.net/faq.html#RedirectionDiagnosticMessages
-----
Message d'origine ----
De : "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
À :
[email protected]
Envoyé le : Jeudi, 18 Octobre 2007,
19h27mn 55s
Objet : [JWebUnit-users] Enable followRedirects.
I get the following debug info:
2007-okt-18 19:22:47
org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO:
Redirect requested but followRedirects is disabled
Is there a way to enable followRedirects?
Regards Michael
Danielsson
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users