https://issues.apache.org/bugzilla/show_bug.cgi?id=51925
Bug #: 51925
Summary: Calling Stop on Test leaks executor threads when
concurrent download of resources is on
Product: JMeter
Version: 2.5.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27644
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27644
Test Case
Hello,
If you setup a test with :
- Retrieve All embedded Resources from HTML files
- Use concurrent pool size to 4
You run a test and stop while a concurrent download is running.
You will end up leaking 4 threads that were started by ThreadPoolExecutor.
To reproduce issue:
1) Put a breakpoint at line ASyncSample#call
2) Start a test
3) Wait for stop a these breakpoints
4) Call stop
5) Let all threads run
You will end up with 4 threads called :
pool-1-thread-1
pool-1-thread-3
pool-1-thread-2
pool-1-thread-4
Regards
Philippe
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]