Bug 60148 - Proxy recorder doesn't cancel pending requests when stopped
Summary: Proxy recorder doesn't cancel pending requests when stopped
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 3.0
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2016-09-19 13:38 UTC by Wyatt Epp
Modified: 2016-09-19 13:38 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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