[Webtest] parameter xml value on invoke task

Dierk Koenig webtest@lists.canoo.com
Mon, 8 Sep 2003 09:18:53 +0200


hi, you need to use the appropriate xml entity
e.g. &lt; for <
&quot; etc.

otherwise the xml parser will screw up

cheers
Mittie


> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Ian Spence
> Sent: Samstag, 6. September 2003 8:36
> To: webtest@lists.canoo.com
> Subject: [Webtest] parameter xml value on invoke task
> 
> 
> I am trying to assign xml content to a parameter on an
> invoke task. e.g.
> 
> <invoke 
> stepid="Security Request"
> url="security?requestparameter="<?xml version="1.0"
> encoding="ISO-8859-1"?><service
> type="security"><request
> name="authenticatetoken"><parameter
> name="userid">fred</parameter><parameter
> name="token">12345</parameter></request></service>" />
> 
> When the invoke task runs, it throws an error
> complaining about an invalid double-quote i.e. ["].
> 
> Should I escape double-quotes or use a single quote in
> the xml content ?  Any other ideas ?
> 
> Ian Spence
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
>