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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Frank Langanke
Sent: Thursday, May 04, 2006 9:24 AM
To: [email protected]
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 
webtest (call-webtest is a simple wrapper):

<target name="bartest" description="bartest">
        <call-webtest>
                <storeCookie name="JSESSIONID" property="sessionid"             
                 
propertyType="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:: 
48874A1DF1FAB9331B3FBCCA19A3EEF1

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

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

Reply via email to