Bug 60922

Summary: AccessLogSampler returns error result when EOF is reached
Product: JMeter - Now in Github Reporter: Oleg Gorobets <oleg.goro>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: All   

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