6 Replies Latest reply on Aug 16, 2010 9:00 AM by Philippe RENAUDY

    testInitial PageError404 Introuvable

    Philippe RENAUDY Newbie

      I m using the JSFUnit tutorial

      (http://www.mastertheboss.com/en/web-interfaces/215-jsfunit-tutorial.html)

      and I have this error displayed on Unit Test Results page (http://localhost:8080/JsfUnitTest/ServletTestRunner?suite=com.sample.JSFUnitTest&xsl=cactus-report.xsl):

       

       

      testInitial PageError404 Introuvable for http://localhost:8080/JsfUnitTest/index.jsf

      com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Introuvable for http://localhost:8080/JsfUnitTest/index.jsf
      at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:530)
      at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:330)
      at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
      at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179)
      at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubmitInput.java:82)
      at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
      at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
      at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
      at org.jboss.jsfunit.jsfsession.JSFClientSession.click(JSFClientSession.java:226)
      at com.sample.JSFUnitTest.testInitialPage(JSFUnitTest.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
      at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
      at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
      at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224)