1 message in com.canoo.lists.webtest[Webtest] Session invalid: url constr...
FromSent OnAttachments
Ammann Kuno12 Sep 2003 09:18 
Subject:[Webtest] Session invalid: url construction failure
From:Ammann Kuno (Kuno@comit.ch)
Date:09/12/2003 09:18:31 AM
List:com.canoo.lists.webtest

Steps: i tried to open the start page of my web application and did get an error page telling me, that my session is not valid. first we thought that cookies support was disabled but finally ...

starting xml was: <config ... basepath="lear_immo/servlet/lear.servlet.MainServlet?" .../> ... <invoke stepid="Invoke the input form" url="OBC=ch.ubs.skp.lear.bc.Input&amp;FID=showEdit"/>

the request received by my application looked like http://localhost:8080/lear_immo/servlet/lear.servlet.MainServlet?/OBC=ch .ubs.skp.lear.bc.Input&FID=showEdit

my application therefore throwed an exception because the expected parameter 'OBC' was not found, log output: HTTP Parameter: FID=showEdit HTTP Parameter: /OBC=ch.ubs.skp.lear.bc.Input

reason: the basepath and the step url is concatinated using an '/'

so my final working xml looks like this: <config host="localhost" port="8080" protocol="http" basepath="lear_immo/servlet" ...> ... <invoke stepid="Invoke the input form" url="lear.servlet.MainServlet?OBC=ch.ubs.skp.lear.bc.Input&amp;FID=showE dit"/>

resulting in the expected parameters: HTTP Parameter: FID=showEdit HTTP Parameter: OBC=ch.ubs.skp.lear.bc.Input

.. know it's working.