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 2018/06/21 12:31:53 UTC
[Bug 62481] New: Jmeter not stopping in non-gui mode, hangs after
end-of-run
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
Bug ID: 62481
Summary: Jmeter not stopping in non-gui mode, hangs after
end-of-run
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: devadurai@gmail.com
Target Milestone: ---
This is an existing issue reported in the following Bug IDs
40189
51798
55689
57848
I am using Jmeter4.0 with JunitRequest for selenium in command line as well as
Jenkins
Both the processes hangs after the following message:
Tidying up ... @ Thu Jun 21 12:27:06 IST 2018
... end of run
Workarounds I have followed:
a) Changed the following properties in jmeter.properties
jmeterengine.nongui.port=0
jmeterengine.nongui.maxport=0
jmeter.exit.check.pause=0
also
jmeterengine.stopfail.system.exit=true
b)without above properties changes ran stoptest.cmd and shutdown.cmd in command
line
c)Added timeout property using HTTP Request Defauls
None of the above workarounds helped.
Please help me to proceed
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |p.mouawad@ubik-ingenierie.c
| |om
Status|NEEDINFO |RESOLVED
--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Most probably an issue stopping OK Http Framework.
Not a JMeter issue.
Closing
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
OS| |All
Status|NEW |NEEDINFO
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Could you please provide a thread dump of JMeter, when it hangs?
Can you post a minimal test case that can reproduce the issue?
Do you have any third party plugins installed?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
Deva <de...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #4 from Deva <de...@gmail.com> ---
Added the threaddump
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
--- Comment #3 from Deva <de...@gmail.com> ---
I have attached the thread dump of jmeter.
The scenario is i am using selenium-cucumber scripts for webpage test
automation.
Calling the scripts through jmeter UnitRequest(Sampler) as a junit test.
Running the command line in jenkins( windows command ) where the build hangs
forever.
Tried in command in line (Windows command prompt), hangs there too.
I am not using any third party plugin.
When i run the script in GUI, it works like a gem.
But in non-gui, the script runs successfully but doesn't end.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
--- Comment #2 from Deva <de...@gmail.com> ---
Created attachment 35983
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35983&action=edit
Threaddump
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62481] Jmeter not stopping in non-gui mode, hangs after
end-of-run
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62481
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
JMeter doesn't stop, since the thread "pool-2-thread-1" is not a daemon thread.
Note the missing 'daemon' in the following snippet from your attached
threaddump:
"pool-2-thread-1" #24 prio=5 os_prio=0 tid=0x000000001ae3e800 nid=0x3488
waiting on condition [0x00000000219cf000]
I bet that pool thread is created by selenium or cucumber. Please take a few
thread dumps while your test is running and look for stack traces of threads
called pool-X-thread-Y. Look if there are any jmeter related classes. If so,
feel free to attach those.
--
You are receiving this mail because:
You are the assignee for the bug.