[Webtest] properties

Brian Spindler webtest@lists.canoo.com
Thu, 4 May 2006 08:53:28 -0400


The logs are indicating it's a dynamic property but this is hard coded =
it looks like.  Line 106 in StoreRegExMach.java reads:

LOG.info("Setting dynamic property <" + fProperty + "> to <" + =
propertyValue + ">");

But shouldn't it read:

LOG.info("Setting " + fPropertyType + " property <" + fProperty + "> to =
<" + propertyValue + ">");


-----Original Message-----
From:	webtest-admin@lists.canoo.com on behalf of Frank Langanke
Sent:	Thu 5/4/2006 8:17 AM
To:	webtest@lists.canoo.com
Cc:=09
Subject:	Re: [Webtest] properties

Brian Spindler wrote:
> I am using storeRegEx to store a dynamic property, this works =
successfully however when I try to use the property in an xslt statement =
it does not evaluate, here is the canoo code:
>=20
> <webtest name=3D"extract_build">
> 	&config;
> 	<steps>
> 		&login;
> 		<storeRegEx
> 				description=3D"Extract build number"
> 				text=3D".*?\(Build (\d+)\).*?"
> 				group=3D"1"
> 				property=3D"buildnum"
> 		/>
> 		<verifyText text=3D"#{buildnum}"/>
> 		<xslt=20
> 		in=3D"webtest-results/results_${sfx}.xml"=20
> 		out=3D"csv_dumps/${TestSet}!_#{buildnum}.csv"
> 		style=3D"csv_dumps/results_csv.xsl"
> 		force=3D"true"/>
> 	</steps>
> =09
> </webtest>
>=20

Hey Brian,

the #{buildnum} is a webtest property which is unknown to the ant(!!)=20
<xslt> task. Store the or convert the dynamic property to an static ant=20
property.

Frank.
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest