You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/04/26 13:43:42 UTC
[Bug 57858] New: sampleEnd called twice by HTTPHC4Impl
https://bz.apache.org/bugzilla/show_bug.cgi?id=57858
Bug ID: 57858
Summary: sampleEnd called twice by HTTPHC4Impl
Product: JMeter
Version: 2.13
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: felix.schumacher@internetallee.de
Created attachment 32686
--> https://bz.apache.org/bugzilla/attachment.cgi?id=32686&action=edit
Only call sampleEnd, when it is not already set
sampleEnd might be called twice by HTTPHC4Impl when a RuntimeException or an
IOException happened after sampleEnd has already been set in its try block.
The attached patch will log the actual exception first and then call sampleEnd
if it is not already set only. It will also log a previously set requestHeader
if it will be overwritten by the catch block.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57858] sampleEnd called twice by HTTPHC4Impl
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57858
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Date: Sun Apr 26 11:51:09 2015
New Revision: 1676099
URL: http://svn.apache.org/r1676099
Log:
Don't call sampleEnd twice in HTTPHC4Impl when a RuntimeException or an
IOException occurs in the sample method.
Bugzilla Id: 57858
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.