Hello,

I'm new with Canoo Webtest. I've just installed it, and trying to run the
simple test with my JSF application. 
This is my config:

<project name="SimpleTest" basedir="." default="main">
  <property name="webtest.home" location="C:/webtest"/>
  <import file="${webtest.home}/lib/taskdef.xml"/>

  <target name="main">
    <webtest name="myTest">
      <config
        host="gerhonte_t"
        port="8080"
        protocol="http"
        basepath="rrhhsas"/>
      <steps>
        <invoke
          description="get Login Page"
          url="jsp/adm/usu/Login.jsf" />
        <verifyTitle
          description="we should see the login title"
          text="Titulo" />
      </steps>
    </webtest>
  </target>
</project>

And the error message is:

main:

BUILD FAILED
C:\Documents and
Settings\evillarroya\Escritorio\Tests\Gerhonte\Pruebas\LoginTes
t.xml:6: Canoo Webtest: R_1393.
Test failed.
Exception raised: com.canoo.webtest.engine.StepExecutionException:
Unexpected ex
ception caught: java.net.ConnectException: Connection refused: connect,
Step: In
vokePage at C:\Documents and
Settings\evillarroya\Escritorio\Tests\Gerhonte\Prue
bas\LoginTest.xml:15:  with (description="get Login Page", method="GET",
taskNam
e="invoke",
url="jsp/adm/usu/Login.jsf")com.canoo.webtest.engine.StepExecutionEx
ception: Unexpected exception caught: java.net.ConnectException: Connection
refu
sed: connect, Step: InvokePage at C:\Documents and
Settings\evillarroya\Escritor
io\Tests\Gerhonte\Pruebas\LoginTest.xml:15:  with (description="get Login
Page",
 method="GET", taskName="invoke", url="jsp/adm/usu/Login.jsf")
        at
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:463)

And more stacktrace.

>From a browser I can see the page, without any proxy settings, with the URL
http://gerhonte_t:8080/rrhhsas/jsp/adm/usu/Login.jsf. The application is
running in another machine, but in the same network. This page does not
require validation.

Any help would be appreciated.

Thank you in advance,
Eva.
-- 
View this message in context: 
http://www.nabble.com/Connection-refused-to-JSF-application-tf3083546.html#a8568907
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to