Bug 60148

Summary: Proxy recorder doesn't cancel pending requests when stopped
Product: JMeter - Now in Github Reporter: Wyatt Epp <jepp>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Wyatt Epp 2016-09-19 13:38:55 UTC
This was a nasty one to track down.

If a long-running request is waiting for a response when the ProxyControl is stopped, it does not get cancelled, abort()'d or otherwise buried.

Starting the proxy control again before the request resolves causes the request sampler to be added to the test plan unconditionally at the time of its completion.

In my testing, this happens even if samplers are being submitted to a new thread group entirely.

I looked at the code a bit, but I don't think this one is going to be easy to do right.  In lieu of a proper fix, Bug #55532 might sufficiently mitigate the problem to be considered a workaround.
Comment 1 The ASF infrastructure team 2022-09-24 20:38:05 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4117