This works for me:

step.getWebtestProperty('scriptStartTime',step.PROPERTY_TYPE_ANT)

The PROPERTY_TYPE_ANT is very important...


> 
> Oops, there's a typo in the script, 
> 
>    //def props = project.webtestProperties
> 
> should read:
> 
>    //def props = step.webtestProperties
> 
> but it is not solving my problem anyway.
> 
> 
> A Vander wrote:
> > 
> > I have to do some arithmetic an a date property ...
> 
> -- 
> View this message in context: http://www.nabble.com/howto-access-
> properties-in-Groovy-script--tp20129382p20129415.html
> Sent from the WebTest mailing list archive at Nabble.com.
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest


If you are not the intended addressee, please inform us immediately that you 
have received this e-mail in error, and delete it. We thank you for your 
cooperation.  

Reply via email to