On 22 November 2011 11:36, testerinCO <[email protected]> wrote:
> Hello
>
> I modified the time.YMDHMD property to the following:
> time.YMDHMD="yyyy-MM-dd'T'HH:mm:ss.SSSZ"

Unfortunately you've found a mistake in the jmeter.properties file.

The shorthand name is YMDHMS, not YMDHMD - see the __time function docs:

http://jmeter.apache.org/usermanual/functions.html#__time

The __time() function does not recognise YMDHMD as a shorthand, so
passes it to the formatter, and 'Y' is invalid.

> I tried different character escape options, but I always get the same error
> when trying to run it.

Note that you don't have to override the property; you can just
provide the format string, for example:

${__time(yyyy-MM-dd'T'HH:mm:ss.SSSZ)}

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to