[Webtest] Re: Case sensitivity on generated URL parameters problem

Douglas Beattie Douglas Beattie" <beattiedb@ldschurch.org
Mon, 14 Jan 2008 08:48:28 -0700


Thanks for the reply Marc.

I guess I mis-communicated what I was trying to accomplish. I made some cha=
nges this morning and have now gotten the sessionID to be passed into this =
RESTful API to do a valid logout.

I simply changed the code for the logout to the following:
           <invoke url=3D"http://10.0.1.1:8080/identity/v1/logout?sessionID=
=3D'#{sessionID}'"
            description=3D"Logout valid user"
          />=20=20

This was a problem with my lack of understanding on web programming than a =
problem with WebTest.

Now I need to study how the sessionID obtained in the original login can be=
 saved so it can be recalled from code I wish to put in a separate .xml fil=
e which would then get called from the "allTests.xml" type file.
Right now I have all the steps in a single .xml file that gets executed.

Thanks again though for the reply.

Doug
=20
>>> Marc Guillemot <mguillemot@yahoo.fr> 01/14/08 8:09 AM >>>=20
Hi,

attribute are not case sensitive in an Ant file but invoke doesn't have
any sessionId attribute, no matter with which case it is written.

Cheers,
Marc.
--=20=20
Blog: http://mguillem.wordpress.com


Douglas Beattie wrote:
> In the following code:=20
>           <invoke url=3D"http://10.0.1.1:8080/identity/v1/logout" session=
Id=3D"#{sessionID}"
>             description=3D"Logout valid user"
>             property=3D"sessionID"
>           />
...


----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended recipient(s)=
 and may contain confidential and privileged information. Any unauthorized =
review, use, disclosure or distribution is prohibited. If you are not the i=
ntended recipient, please contact the sender by reply email and destroy all=
 copies of the original message.