You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/11/24 20:37:08 UTC
[Bug 61814] New: Hanging test due to no timeout set / hanging
sampler and Test duration
https://bz.apache.org/bugzilla/show_bug.cgi?id=61814
Bug ID: 61814
Summary: Hanging test due to no timeout set / hanging sampler
and Test duration
Product: JMeter
Version: 3.3
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: p.mouawad@ubik-ingenierie.com
Target Milestone: ---
Currently when you check Schedule in Thread group and:
- fix a duration for your test
- Don't set any timeout on HTTP requests or use a non interruptible sampler
Your test can hang infinitely as JMeter will not interrupt the Hanging samplers
even after duration of Thread Group has been reached.
This is a frequent problem faced by JMeter users (I remember that I have
answered this SO question at least 10 times). Even non newbie can get trapped.
Shouldn't we introduce this to avoid hanging test that give a feeling of broken
JMeter while the problem is in the hanging targetted server ?:
- Option 1: Add an option in Scheduler part called "Interrupt pending Threads
after duration + security margin (1m) that could be a field or property" on
Thread Group (checked by default)
- Option 2 : Add it at test plan level to avoid repeating the configuration
On start of Thread Group, an additional TimerTask would be triggered after
duration + security margin and would do the following:
run equivalent (refactor) of code at:
-
https://github.com/apache/jmeter/blob/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java#L326
--
You are receiving this mail because:
You are the assignee for the bug.