I am bypassing 'localhost' for wherever I could find a proxy set up. This is the case with the M2_HOME/conf/settings.xml, MyEclipse, Subversion and my browsers. Yikes!!! I am still getting this in my console:
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: D:\JavaProjects\workspaces\Dimetra13.5\OM\src\test\resources\web-tests.xml:235: Canoo Webtest: R_1454. Test failed. Test step steps (<path to my project>\src\test\resources\web-tests.xml:237: ) null failed with message "Step[invoke "get Login Page" (1/8)] : HTTP error 407, at: invoke" [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 41 seconds [INFO] Finished at: Mon Sep 24 19:17:20 IDT 2007 [INFO] Final Memory: 20M/39M [INFO] ------------------------------------------------------------------------ and the bottom of my web test result file says: <failure message="com.canoo.webtest.engine.StepFailedException: Step[invoke "get Login Page" (1/8)]: HTTP error 407, at: invoke, Step: InvokePage at D:\JavaProjects\workspaces\Dimetra13.5\OM\src\test\resources\login.xml:1: with (resultFilename="response_1190650640379_invoke.html", taskName="invoke")"/> Why? Does this have anything to do with the login page acegi security? Perhaps for some reason the webtest has no permission to login? Regards mraible wrote: > > Are you bypassing the proxy for localhost? If you are, it seems like a > bug in WebTest. It should work w/o an internet connection or behind a > proxy. > > I doubt it'll work for you, but all the clients I've worked with (that > used Maven) were able to get an exemption from IT and bypass the proxy > server. > > For code coverage reports - try the maven-cobertura-plugin. It should > already be in your pom.xml. There's an Emma plugin in Mojo's JIRA, but > I haven't tried it and don't believe it has a release. > > Hope this helps, > > Matt > > > > > On 9/23/07, tnsilver <[EMAIL PROTECTED]> wrote: >> >> I have done some research and tests of my own. It seems this is a real >> show >> stopper. First of all I have tried to integrate Ant's <setproxy> task >> into >> the pom, right before the call to web-tests.xml. It did not work. I got >> the >> usual 'Could not create task or type of type: setproxy' so I begun >> upgrading >> to 1.7.0, setting the classpaths and playing around with ant for a while. >> Then I removed the task directly into the web-tests.xml, and made a >> 'depends' entry in the 'Login' test... This did not work either. Finally, >> I >> encountered this issue: http://jira.codehaus.org/browse/MANTRUN-69 >> describing exactly my experience. >> >> I am desperate. I have been working real hard on AppFuse2 evaluation as a >> candidate infrastructure framework for a critical J2EE project in the >> last 8 >> working days. I have solved almost everything but Unit testing (canoo / >> JUnit / JMock) is a major consideration for my organization and is >> crucial >> for me to market this to my bosses. Well, we are working from behind a >> firewall - can't help it. There is got to be a way to solve this. Is >> there >> any 'voodoo' thing you can think of? >> >> BTW: What happend to those nice JUnit html reports with emma coverage >> from >> AppFUse1? Can it still be done for Appfuse2? >> >> Thanks in advance >> >> >> >> mraible wrote: >> > >> > I've heard of similar things caused by Canoo WebTest. Unfortunately, I >> > don't have any way to reproduce/fix this so the best advice I can give >> > is to contact the WebTest mailing list: >> > >> > http://webtest.canoo.com >> > >> > http://lists.canoo.com/mailman/listinfo/webtest/ >> > >> > Matt >> > >> > On 9/23/07, tnsilver <[EMAIL PROTECTED]> wrote: >> >> >> >> I have almost got appfuse2-m5 (struts) working and all tutorials >> finished >> >> and >> >> tested. Most of my problems originate from the fact that my Appfuse >> >> evaluation is done at work behind a proxy. I have managed to >> configured a >> >> central repository for my team mates and me, configured proxy settings >> >> for >> >> MyEclipse, Subversion and Maven and most of my tests passed. I am >> using >> >> Hibenrate and Oracle 10g and my models use Oracle sequences - it all >> >> works - >> >> leave asside some minor issue I encountered (APF-902). >> >> >> >> I am currently stuck with the last tutorial integration test (person >> >> tests). >> >> I am getting an obscured error regarding proxy authentication (e.g. >> the >> >> webtest data files say '407 Proxy Authentication Required' and 'Unable >> to >> >> complete request:<P> Access denied due to authentication failure') >> >> >> >> I guess this has something to do with the login.xml and login page >> >> (perhaps >> >> I need proxy settings for https and not just http... how? where?...) >> has >> >> anyone enocuntered this? Any suggestions? >> >> >> >> Thanks in advance. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Integration-Test-fails-due-to-%27proxy%27-authentication-problem-tf4504888s2369.html#a12847623 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Integration-Test-fails-due-to-%27proxy%27-authentication-problem-tf4504888s2369.html#a12849820 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Integration-Test-fails-due-to-%27proxy%27-authentication-problem-tf4504888s2369.html#a12862670 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]