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: [email protected]
          Reporter: [email protected]

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.

Reply via email to