You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Nicola Ambrosetti Brolin <am...@gmail.com> on 2014/09/16 15:21:05 UTC

All threads interrupted

Hi,

I'm running several concurrent threads with a timer to wait in between
requests (Jmeter 2.11). However after running a few minutes (sometimes even
less than a minute) all the threads suddendly stop and I see in the log
lots of:

2014/09/16 15:12:20 WARN  - jmeter.threads.JMeterThread: The delay timer
was interrupted - probably did not wait as long as intended.
2014/09/16 15:12:20 INFO  - jmeter.threads.JMeterThread: Stopping: My
thread group 4-2

 and a few:

2014/09/16 15:12:20 WARN  - jmeter.util.JMeterUtils: Interrupted in
thread My thread group 3-1 java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:503)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1270)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1251)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
at org.apache.jmeter.util.JMeterUtils.runSafe(JMeterUtils.java:1296)
at
org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add(ViewResultsFullVisualizer.java:128)
at
org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:553)
at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:529)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Thread.java:745)

All my thread groups have "Continue" after sampler error (in fact I got but
a few errors from the samplers) and loop count forever.

This is very frustrating: I've tried various alternatives, like a beanshell
sampler with Thread.sleep() and several types of timers, but the problem
seems always the same.

Any ideas?

/Nicola

Re: All threads interrupted

Posted by Nicola Ambrosetti Brolin <am...@gmail.com>.
I finally found that I had a result status action handler set to "stop test
now" on error in an included test fragment, so that a simple http error
response took down the entire load test.

On 16 September 2014 19:07, Jeff Ohrstrom <jo...@hotmail.com> wrote:

> You shouldn't be running load tests in GUI mode.  Perhaps you have too
> many visualizers and/or too many threads in GUI mode and JMeter is
> getting overloaded.  Timers make threads sleep not wait.
>
> Try running in non-gui mode to see if you get the same results.
>
> On Tue, 2014-09-16 at 15:21 +0200, Nicola Ambrosetti Brolin wrote:
> > Hi,
> >
> > I'm running several concurrent threads with a timer to wait in between
> > requests (Jmeter 2.11). However after running a few minutes (sometimes
> even
> > less than a minute) all the threads suddendly stop and I see in the log
> > lots of:
> >
> > 2014/09/16 15:12:20 WARN  - jmeter.threads.JMeterThread: The delay timer
> > was interrupted - probably did not wait as long as intended.
> > 2014/09/16 15:12:20 INFO  - jmeter.threads.JMeterThread: Stopping: My
> > thread group 4-2
> >
> >  and a few:
> >
> > 2014/09/16 15:12:20 WARN  - jmeter.util.JMeterUtils: Interrupted in
> > thread My thread group 3-1 java.lang.InterruptedException
> > at java.lang.Object.wait(Native Method)
> > at java.lang.Object.wait(Object.java:503)
> > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1270)
> > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1251)
> > at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
> > at org.apache.jmeter.util.JMeterUtils.runSafe(JMeterUtils.java:1296)
> > at
> >
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add(ViewResultsFullVisualizer.java:128)
> > at
> >
> org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:553)
> > at
> >
> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:529)
> > at
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
> > at
> >
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
> > at
> >
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
> > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > All my thread groups have "Continue" after sampler error (in fact I got
> but
> > a few errors from the samplers) and loop count forever.
> >
> > This is very frustrating: I've tried various alternatives, like a
> beanshell
> > sampler with Thread.sleep() and several types of timers, but the problem
> > seems always the same.
> >
> > Any ideas?
> >
> > /Nicola
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: All threads interrupted

Posted by Jeff Ohrstrom <jo...@hotmail.com>.
You shouldn't be running load tests in GUI mode.  Perhaps you have too
many visualizers and/or too many threads in GUI mode and JMeter is
getting overloaded.  Timers make threads sleep not wait. 

Try running in non-gui mode to see if you get the same results.

On Tue, 2014-09-16 at 15:21 +0200, Nicola Ambrosetti Brolin wrote:
> Hi,
> 
> I'm running several concurrent threads with a timer to wait in between
> requests (Jmeter 2.11). However after running a few minutes (sometimes even
> less than a minute) all the threads suddendly stop and I see in the log
> lots of:
> 
> 2014/09/16 15:12:20 WARN  - jmeter.threads.JMeterThread: The delay timer
> was interrupted - probably did not wait as long as intended.
> 2014/09/16 15:12:20 INFO  - jmeter.threads.JMeterThread: Stopping: My
> thread group 4-2
> 
>  and a few:
> 
> 2014/09/16 15:12:20 WARN  - jmeter.util.JMeterUtils: Interrupted in
> thread My thread group 3-1 java.lang.InterruptedException
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:503)
> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1270)
> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1251)
> at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
> at org.apache.jmeter.util.JMeterUtils.runSafe(JMeterUtils.java:1296)
> at
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add(ViewResultsFullVisualizer.java:128)
> at
> org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:553)
> at
> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:529)
> at
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
> at
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
> at
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:443)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
> at java.lang.Thread.run(Thread.java:745)
> 
> All my thread groups have "Continue" after sampler error (in fact I got but
> a few errors from the samplers) and loop count forever.
> 
> This is very frustrating: I've tried various alternatives, like a beanshell
> sampler with Thread.sleep() and several types of timers, but the problem
> seems always the same.
> 
> Any ideas?
> 
> /Nicola



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org