The need in interrupting OS thread comes from the fact that there might be some operation running that last unpredictably long, or hang forever. A test that obeys the "stop" command with some exceptions printed is better than test that does not stop at all.
I don't really see how can we change timer or thread group to
suit your use-case. If you have ideas that will not break existing
capabilities - let's discuss those.
--
Andrei
--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/drzb62Cw1fg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/a884f84c-5f14-443e-ae3f-9cfcb92f4dafn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/d42a5380-07b0-4bdd-affa-ad0e17224127%40gmail.com.
In Jmeter standard ThreadGroup, the jvmThread also gets
interrupted:
https://github.com/apache/jmeter/blob/master/src/core/src/main/java/org/apache/jmeter/threads/ThreadGroup.java#L349
. That happens if "stop threads now" is called.
I'm ok with the logic to interrupt JVM thread only if "now" flag
is set, the same it happens in standard ThreadGroup.
However, I don't have much time for coding this, my role has to
be limited to reviewer.
--
Andrei
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/CAE_L69a_ujCeh0fi9hRSu5YdC3ihDD2jNcH4siecCX5y8Wjpew%40mail.gmail.com.