jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Current date and time
Date Fri, 30 Apr 2004 05:49:26 GMT

first of all, my english isn't the best, :-), but i try to answer your

The first thing is, to go into the and add this line: HH:mm:ss

Adding this line takes effect, that jmeter generate a "normal" timestamp
in the result XML file.

Now you must change the jmeter-results-report.xsl. Perhaps you can do this
like my way:

<h1>Date: <xsl:value-of
	<h1>Time: <xsl:value-of
Insert this into the body of the xslt File, so you in the result html file
the time and date inserted.

Best regards,
> Hi,
> I am using the jmeter-results-report.xsl for 2.0 and have tried to find
> a way to insert the date and time when in the generated HTML report.  I
> found some information on doing this using EXSLT but it doesn't seem to
> work with my configuration.  I also wrote a javascript function that
> will generate the date, but it seems that calling new Date() in my
> javascript function causes the date displayed to change everytime the
> HTML report is opened.  I need to include the date and time that the
> report was generated since this would be close to when the test was run.
> Does anyone know of a way either via XSL or JMeter to generate a
> timestamp for the generated HTML report?
> Thanks,
> Jacqui

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message