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

Reply via email to