Bug 62464

Summary: Incorrect timestamp values for JMS Publisher component
Product: JMeter - Now in Github Reporter: ncasaux <nicolas.apo>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 4.0   
Target Milestone: JMETER_5.0   
Hardware: Macintosh   
OS: All   

Description ncasaux 2018-06-16 18:23:21 UTC
Hello,

When I use the JMS Publisher component, and when the sample fails (for example because of an incorrect connection url), then the "sample start" value is incorrect, its value is January 1st 1970, 01:00:00.000.

When the sample does not fail, the "sample start" value is correct.
Comment 1 Felix Schumacher 2018-06-17 10:48:43 UTC
Thanks for reporting. Will be included in JMeter v4.1

Can you test the fix that should be in the next nightly?

Date: Sun Jun 17 10:46:20 2018
New Revision: 1833661

URL: http://svn.apache.org/viewvc?rev=1833661&view=rev
Log:
Set start- and end-time on JMS publisher sampler, even if initialization fails.

Bugzilla Id: 62464


Modified:
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 ncasaux 2018-06-18 21:49:24 UTC
Hello,

I confirm that it's fixed in the night build.
Comment 3 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4800