[Webtest] Case sensitivity on generated URL parameters problem
Douglas Beattie
Douglas Beattie" <beattiedb@ldschurch.org
Fri, 11 Jan 2008 15:49:23 -0700
In the following code:=20
<invoke url=3D"http://10.0.1.1:8080/identity/v1/logout" sessionId=
=3D"#{sessionID}"
description=3D"Logout valid user"
property=3D"sessionID"
/>
I specifically set the parameter "sessionId", (with an upper case I), but w=
hen it gets executed it appears from the generated output that the upper ca=
se I is changed to a lower case i in sessionId.
I see the error that follows:
<error exception=3D"com.canoo.webtest.engine.StepExecutionException"
filename=3D"/home/default/CanooWebTest/Home/GetTemplesList/=
tests/loginValidUser.xml"
line=3D"9" message=3D"Unexpected exception caught: org.apac=
he.tools.ant.UnsupportedAttributeException">
<stacktrace><![CDATA[/home/default/CanooWebTest/Home/GetTem=
plesList/tests/loginValidUser.xml:9: Unexpected exception caught
: org.apache.tools.ant.UnsupportedAttributeException
...
Caused by: /home/default/CanooWebTest/Home/GetTemplesList/tests/loginValidU=
ser.xml:45: The <invoke> type doesn't support the "sessionid" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(Introspect=
ionHelper.java:389)
...
--- Nested Exception ---
/home/default/CanooWebTest/Home/GetTemplesList/tests/loginValidUser.xml:45:=
The <invoke> type doesn't support the "sessionid" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(Introspect=
ionHelper.java:389)
Should and does WebTest honor case sensitive parameters being set for use w=
ith a URL/URI?
Doug
----------------------------------------------------------------------
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.