You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jelmer de Haas <J....@kpn-is.nl> on 2006/03/17 13:28:08 UTC

JMeter crash while loadtesting / dumps html into jmeter.log

Hello,
 
While performing a loadtest on a website (10000 threads (each containing
18 requests) in 1 hour (3600 sec.)) we have noticed the JMeter GUI
slowed down severly. The PC it runs on performs well, just JMeter is not
responding quickly to userinteraction.
 
Q: Is JMeter capable of applying these amounts of load onto a webserver?
 
After a while JMeter crashes. In the jmeter.log there are quite a few
'java.io.IOException' messages and a few dumps of html, as seen in the
exerpt below.
 
Q: Is this a bug, or can JMeter 'legally' dump html into the log?

	<snippet>
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1413 started 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: 
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
	<STYLE>A:link {
	 FONT: 8pt/11pt verdana; COLOR: #ff0000
	}
	A:visited {
	 FONT: 8pt/11pt verdana; COLOR: #4e4e4e
	}
	</STYLE>
	 
	<META content=NOINDEX name=ROBOTS>
	<META http-equiv=Content-Type content="text-html;
charset=Windows-1252">
	 
	<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
	<BODY bgColor=#ffffff>
	<TABLE cellSpacing=5 cellPadding=3 width=410>
	  <TBODY>
	  <TR>
	    <TD vAlign=center align=left width=360>
	      <H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"><!--Problem-->The page 
	      cannot be displayed</H1></TD></TR>
	  <TR>
	    <TD width=400 colSpan=2><FONT 
	      style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a
problem with the 
	      page you are trying to reach and it cannot be
displayed.</FONT></TD></TR>
	  <TR>
	    <TD width=400 colSpan=2><FONT 
	      style="FONT: 8pt/11pt verdana; COLOR: #000000">
	 
	 ... 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1415 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1417 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1419 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1423 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1420 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1421 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1422 started 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1425 started 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1426 started 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: 
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
	<STYLE>A:link {
	 FONT: 8pt/11pt verdana; COLOR: #ff0000
	}
	A:visited {
	 FONT: 8pt/11pt verdana; COLOR: #4e4e4e
	}
	</STYLE>
	 
	<META content=NOINDEX name=ROBOTS>
	<META http-equiv=Content-Type content="text-html;
charset=Windows-1252">
	 
	<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
	<BODY bgColor=#ffffff>
	<TABLE cellSpacing=5 cellPadding=3 width=410>
	  <TBODY>
	  <TR>
	    <TD vAlign=center align=left width=360>
	      <H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"><!--Problem-->The page 
	      cannot be displayed</H1></TD></TR>
	  <TR>
	    <TD width=400 colSpan=2><FONT 
	      style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a
problem with the 
	      page you are trying to reach and it cannot be
displayed.</FONT></TD></TR>
	  <TR>
	    <TD width=400 colSpan=2><FONT 
	      style="FONT: 8pt/11pt verdana; COLOR: #000000">
	 
	 ... 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
Thread Group 1-1424 started 
	2006/03/16 15:06:33 ERROR -
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException 
	</snippet>

 
Regards, 
Jelmer de Haas

Re: JMeter crash while loadtesting / dumps html into jmeter.log

Posted by sebb <se...@gmail.com>.
On 17/03/06, Jelmer de Haas <J....@kpn-is.nl> wrote:
> Hello,
>
> While performing a loadtest on a website (10000 threads (each containing
> 18 requests) in 1 hour (3600 sec.)) we have noticed the JMeter GUI
> slowed down severly. The PC it runs on performs well, just JMeter is not
> responding quickly to userinteraction.
>
> Q: Is JMeter capable of applying these amounts of load onto a webserver?

10000 threads is excessive.

18 requests - do you mean 18 separate HTTP Samplers?
And how many loops does each thread do?

> After a while JMeter crashes. In the jmeter.log there are quite a few
> 'java.io.IOException' messages and a few dumps of html, as seen in the
> exerpt below.
>
> Q: Is this a bug, or can JMeter 'legally' dump html into the log?

Yes, Jmeter can put some HTML in the log file. This is to make it a
bit easier to determine the cause of webserver problems. In this case,
it seems you may have overloaded the server.

S.
>         <snippet>
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1413 started
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler:
>         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>         <HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
>         <STYLE>A:link {
>          FONT: 8pt/11pt verdana; COLOR: #ff0000
>         }
>         A:visited {
>          FONT: 8pt/11pt verdana; COLOR: #4e4e4e
>         }
>         </STYLE>
>
>         <META content=NOINDEX name=ROBOTS>
>         <META http-equiv=Content-Type content="text-html;
> charset=Windows-1252">
>
>         <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
>         <BODY bgColor=#ffffff>
>         <TABLE cellSpacing=5 cellPadding=3 width=410>
>           <TBODY>
>           <TR>
>             <TD vAlign=center align=left width=360>
>               <H1 style="FONT: 13pt/15pt verdana; COLOR:
> #000000"><!--Problem-->The page
>               cannot be displayed</H1></TD></TR>
>           <TR>
>             <TD width=400 colSpan=2><FONT
>               style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a
> problem with the
>               page you are trying to reach and it cannot be
> displayed.</FONT></TD></TR>
>           <TR>
>             <TD width=400 colSpan=2><FONT
>               style="FONT: 8pt/11pt verdana; COLOR: #000000">
>
>          ...
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1415 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1417 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1419 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1423 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1420 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1421 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1422 started
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1425 started
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1426 started
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler:
>         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>         <HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
>         <STYLE>A:link {
>          FONT: 8pt/11pt verdana; COLOR: #ff0000
>         }
>         A:visited {
>          FONT: 8pt/11pt verdana; COLOR: #4e4e4e
>         }
>         </STYLE>
>
>         <META content=NOINDEX name=ROBOTS>
>         <META http-equiv=Content-Type content="text-html;
> charset=Windows-1252">
>
>         <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
>         <BODY bgColor=#ffffff>
>         <TABLE cellSpacing=5 cellPadding=3 width=410>
>           <TBODY>
>           <TR>
>             <TD vAlign=center align=left width=360>
>               <H1 style="FONT: 13pt/15pt verdana; COLOR:
> #000000"><!--Problem-->The page
>               cannot be displayed</H1></TD></TR>
>           <TR>
>             <TD width=400 colSpan=2><FONT
>               style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a
> problem with the
>               page you are trying to reach and it cannot be
> displayed.</FONT></TD></TR>
>           <TR>
>             <TD width=400 colSpan=2><FONT
>               style="FONT: 8pt/11pt verdana; COLOR: #000000">
>
>          ...
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         2006/03/16 15:06:33 INFO  - jmeter.threads.JMeterThread: Thread
> Thread Group 1-1424 started
>         2006/03/16 15:06:33 ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException
>         </snippet>
>
>
> Regards,
> Jelmer de Haas
>
>

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