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.
-- 
Blog: http://mguillem.wordpress.com


Douglas Beattie wrote:
> In the following code: 
>           <invoke url="http://10.0.1.1:8080/identity/v1/logout"; 
> sessionId="#{sessionID}"
>             description="Logout valid user"
>             property="sessionID"
>           />
> I specifically set the parameter "sessionId", (with an upper case I), but 
> when it gets executed it appears from the generated output that the upper 
> case I is changed to a lower case i in sessionId.
> I see the error that follows:
> <error exception="com.canoo.webtest.engine.StepExecutionException"
>                 
> filename="/home/default/CanooWebTest/Home/GetTemplesList/tests/loginValidUser.xml"
>                 line="9" message="Unexpected exception caught: 
> org.apache.tools.ant.UnsupportedAttributeException">
>                 
> <stacktrace><![CDATA[/home/default/CanooWebTest/Home/GetTemplesList/tests/loginValidUser.xml:9:
>  Unexpected exception caught
> : org.apache.tools.ant.UnsupportedAttributeException
> 
> ...
> 
> Caused by: 
> /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(IntrospectionHelper.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(IntrospectionHelper.java:389)
> 
> Should and does WebTest honor case sensitive parameters being set for use 
> with 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 
> intended recipient, please contact the sender by reply email and destroy all 
> copies of the original message.

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

Reply via email to