Bug 60922 - AccessLogSampler returns error result when EOF is reached
Summary: AccessLogSampler returns error result when EOF is reached
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2017-03-27 15:22 UTC by Oleg Gorobets
Modified: 2021-05-11 06:36 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Gorobets 2017-03-27 15:22:22 UTC
AccessLogSampler returns "error result" when EOF is reached. See AccessLogSampler on line 169:

return errorResult(new Error("No entries found"), new HTTPSampleResult());

This behavior results in that this result is then passed to listeners and the following weird line is generated in the summary report:

1970-01-01 02:00:00.000,0,,Non HTTP response code: java.lang.Error,Non HTTP response message: No entries found,Thread Group 1-1,text,false,,520,0,1,1,0,0,0

This case is not an error. There should be null instead of "error result" or other type of result indicating there is no more data for this file.
Comment 1 The ASF infrastructure team 2022-09-24 20:38:08 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4347