On 02/10/2009, Tech Newbie <[email protected]> wrote:
> Does this mean the timestamp format in jmeter.properties applies to both the
> csv output
> AND parsing a thread group's start_time property? This is what I have:
No it doesn't apply to the start_time property.
Sorry, I misread your original question.
You can only use milliseconds in the JMX file.
> jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss
>
> and in my test plan:
> <stringProp
> name="ThreadGroup.start_time">${__P(submit_start,1254374051000)}</stringProp>
>
> But when I invoke jmeter:
> ../jmeter -n -t ./HelloWorld.jmx -l ./HelloWorld.jtl
> -Jsubmit_start="2009/10/02 13:42:11"
> An error occurred: Unknown arg: 13:42:11"
>
> Look like the error is caused by the space between the date and time
> eventhough the value is quoted.
>
> Is this possible or do I have to resort to epoch?
>
> --- On Fri, 10/2/09, sebb <[email protected]> wrote:
>
> From: sebb <[email protected]>
> Subject: Re: ThreadGroup start and end time in date format
> To: "JMeter Users List" <[email protected]>
> Date: Friday, October 2, 2009, 8:52 AM
>
>
> On 02/10/2009, Tech Newbie <[email protected]> wrote:
> > Let me clarify that the question is regarding defining the start and end
> time in the test plan (i.e. not in the gui).
> >
> > In my test plan:
> > <longProp name="ThreadGroup.start_time">1243889520000</longProp>
> > <longProp name="ThreadGroup.end_time">1243889499000</longProp>
> >
> > Can I use string for SimpleDateFormat instead?
>
> Not when using XML format. However, in CSV format you can, see
>
> jmeter.save.saveservice.timestamp
>
> > --- On Fri, 10/2/09, Tech Newbie <[email protected]> wrote:
> >
> > From: Tech Newbie <[email protected]>
> > Subject: ThreadGroup start and end time in date format
> > To: [email protected]
> > Date: Friday, October 2, 2009, 5:37 AM
> >
> >
> > Is it possible to specify thread group start and end time in
> SimpleDateFormat instead of epoch? Similar to how result timestamps support
> both formats.
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]