[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.

-----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:
> LOG.info("Setting dynamic property <" + fProperty + "> to <" + =
propertyValue + ">");
> But shouldn't it read:
> LOG.info("Setting " + fPropertyType + " property <" + fProperty + "> =
to <" + propertyValue + ">");
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">
		<storeCookie name=3D"JSESSIONID" property=3D"sessionid" 				=20
			property value inside webtest task: ${sessionid} 		</echo>
		property value outside webtest task:: ${sessionid} 			</echo>

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

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

WebTest mailing list