close
Skip to content

HTTP Sampler timestamp fix when exception is caught - #650

Closed
kkalinin wants to merge 1 commit into
apache:masterfrom
kkalinin:httpsampler-timestamp-fix
Closed

HTTP Sampler timestamp fix when exception is caught#650
kkalinin wants to merge 1 commit into
apache:masterfrom
kkalinin:httpsampler-timestamp-fix

Conversation

@kkalinin

Copy link
Copy Markdown
Contributor

Description

Currently, when HTTP Sampler fails with exception, the result is timestamped with 1970-01-01.
The proper timestamp is needed.

Motivation and Context

How Has This Been Tested?

Tested manually by comparing timestamps in View Results Tree listener before and after the fix.
With the change, SampleResult contain proper timestamps and 0 duration.
corruptedHTTPSamplerConfig.zip

Screenshots (if appropriate):

Screenshot from 2021-03-11 23-53-42

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

@asfgit asfgit closed this in 7980249 Mar 12, 2021
@FSchumacher

Copy link
Copy Markdown
Contributor

Thanks for the enhancement.

Let us hope, that nobody relies on the fact, that failed requests are labelled with the epoch start timestamp.

@krishna1s

krishna1s commented Mar 25, 2022

Copy link
Copy Markdown

@kkalinin @FSchumacher In which version of Jmeter this fix is available?

@kkalinin

Copy link
Copy Markdown
Contributor Author

@krishna1s, for some reason the change has not been merged to the master branch and so is not available in any of the releases.
@FSchumacher, why so?

@kkalinin

Copy link
Copy Markdown
Contributor Author

@kkalinin @FSchumacher In which version of Jmeter this fix is available?

I see that the patch has been included into scope of version 5.5

@vlsi vlsi added this to the 5.5 milestone Jun 19, 2023
@vlsi vlsi added the defect label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants