Skip to content

HTTP Sampler timestamp fix when exception is caught #650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

kkalinin
Copy link
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
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
Copy link

krishna1s commented Mar 25, 2022

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

@kkalinin
Copy link
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
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