jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Ambiguous text in generating-dashboard.html
Date Sun, 08 May 2016 18:14:36 GMT


Am 8. Mai 2016 14:45:18 MESZ, schrieb Philippe Mouawad <philippe.mouawad@gmail.com>:
>On Sun, May 8, 2016 at 2:32 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 8 May 2016 at 13:13, Philippe Mouawad <philippe.mouawad@gmail.com>
>> wrote:
>> > On Sun, May 8, 2016 at 1:37 PM, sebb <sebbaz@gmail.com> wrote:
>> >
>> >> On 8 May 2016 at 12:16, Philippe Mouawad
><philippe.mouawad@gmail.com>
>> >> wrote:
>> >> > It's a formulation error.
>> >> > This format is supported
>> >>
>> >> But are there any formats which are not supported?
>> >>
>> >
>> > It accepts :
>> > ms
>> > of any SimpleDateFormat
>> >>
>> >> For example, how about this:
>> >>
>> >> jmeter.save.saveservice.timestamp_format='abcd'
>> >>
>> > It won't work with this, but what is this format ?  Is this an
>acceptable
>> > SimpleDateFormat ?
>>
>> Yes. Fixed text is allowed in single quotes.
>>
>ok, but why would somebody use such format ?

You can use it to form a complete sentence with time information, e.g. "The current time is
HH:MM."

That way you don't have to concatenate the formatted time to your static text. 

Regards, 
Felix

>
>>
>> >>
>> >> I suspect that may not be supported as it is does not provide any
>time
>> >> information.
>> >>
>> >> Does the format have to include both date and time?
>> >>
>> > See NormalizerSampleConsumer
>>
>> That extracts the time from a Date which is parsed from the
>timestamp.
>>
>> It does not tell me how the time is used.
>>
>
>
>>
>> Since the code uses a default of HH:mm:ss I assume that it does not
>> care if the date information is missing.
>>
>> But does it care if the time information is missing, i.e. what about:
>>
>> jmeter.save.saveservice.timestamp_format = yyyy/MM/dd
>>
>> I suspect that would produce graphs that aren't very useful.
>>
>Yes.
>So documentation should mention to add time.
>For me it's the same as with old listeners and graphs generation.
>If there is no time, graphs are useless.
>
>
>
>>
>> >> Does the code support 'ms' (i.e. epoch timestamp)?
>> >>
>> > yes
>> >
>> >>
>> >> One needs to know that info in order to clarify the text.
>> >>
>> >>
>> >> > On Sunday, May 8, 2016, sebb <sebbaz@gmail.com> wrote:
>> >> >
>> >> >> The generating-dashboard.html page includes the following text:
>> >> >>
>> >> >> # You can use any other format than the one shown here
>> >> >> jmeter.save.saveservice.timestamp_format = yyyy/MM/dd HH:mm:ss
>> >> >>
>> >> >>
>> >> >> The way I read this initially, all formats *apart* from the one
>shown
>> >> are
>> >> >> OK.
>> >> >> I suspect that is not the intention.
>> >> >>
>> >> >> Are there any formats that are not supported?
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Cordialement.
>> >> > Philippe Mouawad.
>> >>
>> >
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>>


Mime
View raw message