[Webtest] properties

Brian Spindler webtest@lists.canoo.com
Thu, 4 May 2006 09:44:26 -0400


Yup, that did it.  Setting it to ant property type and moving the =
<storeRegEx> outside of webtest resulted in the proper value.

Thx for your help.
-Brian

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Frank Langanke
Sent: Thursday, May 04, 2006 9:24 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] properties


Brian Spindler wrote:
> The logs are indicating it's a dynamic property but this is hard coded =
it looks like.  Line 106 in StoreRegExMach.java reads:
>=20
> LOG.info("Setting dynamic property <" + fProperty + "> to <" + =
propertyValue + ">");
>=20
> But shouldn't it read:
>=20
> LOG.info("Setting " + fPropertyType + " property <" + fProperty + "> =
to <" + propertyValue + ">");
>=20
>=20
Looks like I was too fast with my first response; I set up a similar=20
webtest (call-webtest is a simple wrapper):

<target name=3D"bartest" description=3D"bartest">
	<call-webtest>
		<storeCookie name=3D"JSESSIONID" property=3D"sessionid" 				=20
propertyType=3D"ant"/>
		<echo>
			property value inside webtest task: ${sessionid} 		</echo>
	</call-webtest>
	<echo>
		property value outside webtest task:: ${sessionid} 			</echo>
</target>

the log to this test:
    [echo] property value inside webtest task: ${sessionid}
    [echo] property value outside webtest task::=20
48874A1DF1FAB9331B3FBCCA19A3EEF1

Looks like the property value is not available inside the webtest-task.=20
Don't know if this is working as intended.

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