jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Test hangs on Sun Solaris
Date Mon, 08 Nov 2004 21:58:19 GMT
Change the sampler to "HTTP Request HTTPCLient (ALPHA)".

If you have a lot of samplers, you can cheat and edit the JMX file. I
think you just need to replace

.sampler.HTTPSampler
with
.sampler.HTTPSampler2

and

.gui.HttpTestSampleGui
with
.gui.HttpTestSampleGui2

but you can easily check this by changing one and comparing the JMX files.

S.
On Mon, 8 Nov 2004 17:55:21 +0100, Coret Bob <b.coret@pinkroccade.com> wrote:
> Sebb,
> 
> How do I enable this alternate version of HTTPSampler?
> 
> Bob
> 
> 
> 
> -----Original Message-----
> From:   sebb [mailto:sebbaz@gmail.com]
> Sent:   Mon 8-11-2004 17:18
> To:     JMeter Users List
> Cc:
> Subject:        Re: Test hangs on Sun Solaris
> On Mon, 8 Nov 2004 16:47:21 +0100, Coret Bob <b.coret@pinkroccade.com> wrote:
> > Peter,
> >
> > The first script/method runs in GUI mode, the second one in non-GUI (-n) mode. So
this factor doesn't seem to make a difference.
> >
> > Currently I'm trying to get more DEBUG info (jmeter/httpclient). With the property
log_level.jmeter=DEBUG is see the following in the "hang" situation":
> >
> > 2004/11/08 16:40:23 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: Start : samplehttp://[addresscensoredbybob]/zv/publiek/zoeken/geavanceerdZoekenAction.do
> > 2004/11/08 16:40:23 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: Connection
failed, giving up
> >
> > The properties log_level.httpclient.wire=debug and log_file.httpclient=httpclient.log
produce a logfile with 0 bytes....
> 
> To get httpclient logging, you need to be running with the alternate
> version of HTTPSampler, i.e. the one which uses Apache httpclient,
> rather than the default JVM http implementation.
> 
> The httpclient version of the HTTP sampler appears in the log files
> with the name HTTPSampler2.
> 
> > Regards,
> > Bob
> >
> >
> >
> >
> > -----Original Message-----
> > From:   Peter Lin [mailto:woolfel@gmail.com]
> > Sent:   Mon 8-11-2004 15:58
> > To:     JMeter Users List
> > Cc:
> > Subject:        Re: Test hangs on Sun Solaris
> > that is odd.  I can try to run a test tonight when I get home. I've
> > used jmeter on my X1 at home without any problems for long-ish tests
> > that run for 4-5 hours.
> >
> > in my case though, I run JMeter in console mode, since my Sun X1
> > doesn't have a monitor.
> >
> > peter
> >
> > On Mon, 8 Nov 2004 15:49:36 +0100, Coret Bob <b.coret@pinkroccade.com> wrote:
> > >
> > > I have got an simple script which is run four times hour to test the response
of the site over a longer time. I have made a script which runs indefinitly with an appropiate
Constant Timer (of 900.000ms). I also have a script (which requests the same pages) which
runs the script only once, I can activate this script with the use of cron of other scheduler.
> > >
> > > Both script works OK on a Windows machine (XP, JVM 1.4.x), but on Sun Solaris
this script "hangs" after a while (usually 1-2 hours). With "hangs" I mean that there's no
response for an request. In the cron version subsequent scripts don't seem to run.
> > >
> > > Are there any known bugs regaring Jmeter / JDK / Sun Solaris ?
> > >
> > > Some additional info:
> > >
> > > > ps -ef (snapshot 15:15)
> > >
> > >     root 24932 24930  0 11:45:00 ?        0:07 java -Xms256m -Xmx256m -XX:NewSize=128m
-XX:MaxNewSize=128m -XX:SurvivorRatio=8
> > >     root 24942 24940  0 12:15:01 ?        0:06 java -Xms256m -Xmx256m -XX:NewSize=128m
-XX:MaxNewSize=128m -XX:SurvivorRatio=8
> > >
> > > > netstat -an (snapshot 15:15)
> > > 192.87.XX.YY.34119   145.97.XX.YY.80       7504      0 24840      0 ESTABLISHED
> > > 192.87.XX.YY.34131   145.97.XX.YY.80       7504      0 24840      0 ESTABLISHED
> > >
> > > > uname -a
> > > SunOS XXXX 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-100
> > >
> > > > java -version
> > > java version "1.4.2_06"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> > > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
> > >
> > > Regards,
> > > Bob Coret
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message