New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jmeter threads use overloaded run method but not CachedThreadPool #4785
Comments
Srijon (migrated from Bugzilla):
*/ /This is the proposed way to implentation using executors, this will allow jmeter threads to be paused during execution/
|
@vlsi (migrated from Bugzilla): |
Srijon (migrated from Bugzilla): This gives a lot of flexibility to the performance test engineer, to tune the load when he/she does not know what is a good load. Or if the server is not functioning properly then he/she is able to reduce the load instantly without having to stop the test entirely. |
@vlsi (migrated from Bugzilla):
That is interesting. However I do not see how the proposed changes correlate with the "pausing/resuming threads on the fly" feature. |
Srijon (migrated from Bugzilla): But because there is lot of code written around this fire and forget mode of multithreading, I want to just introduce CachedThreadPool in the first iteration. If there are any complains from users it can be rolled back. There are other ways to implement multithreading also which will support pausing/restarting. This is my thinking, so I just tried to make one change. But somehow build is failing, I am still not used to jmeter build process and trying to understand the code and test cases around it. If you can help please do. |
@FSchumacher (migrated from Bugzilla): So this is not an easy task. If you want to pause threads you could implement this by using a PreProcessor with some sort of pausing functionality based upon the thread id or the current running threads. |
@pmouawad (migrated from Bugzilla): If you want help on implementing feature, you should start a discussion on dev mailing list with your ideas, and proposals, we'll be happy to help. If you're new to JMeter code base, starting with the Threading Model is not the good way to start IMO as it is complex and critical. I'll add comments on other bugs. This bug has been marked as a duplicate of #2400 |
Srijon (Bug 62390):
jmeter threads use overloaded run method to implement multithreading. This makes it impossible to pause/restart the threads. Implementing threads by using CachedThreadPool will make it possible to pause/restart the threads.
OS: Mac OS X 10.1
Duplicated by:
The text was updated successfully, but these errors were encountered: