jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Gulino <drew_gul...@yahoo.com>
Subject RE: question about setting remote JMeter server
Date Wed, 21 May 2003 14:10:48 GMT
I have been using JDK 1.4+
--- "Xu, William [ITS]" <wxu01@sprintspectrum.com>
wrote:
> Drew,
> 
> Now I do have the SSL config turned on the
> jmeter.properties for the remote Jmeter server. The
> web server still shows the SSL handshake error:
> "[21/May/2003 08:53:58 25133] [info]  Spurious SSL
> handshake interrupt[Hint: Usually just one of those
> OpenSSL confusions!?]" 
> 
> Did you set up SSL successfully on the remote
> server? I wonder if it's because I am using JDK
> 1.3.1.
> 
> Regards,
> 
> William Xu
> 
> 
> 
> 
> -----Original Message-----
> From: Drew Gulino [mailto:drew_gulino@yahoo.com]
> Sent: Tuesday, May 20, 2003 10:33 PM
> To: JMeter Users List
> Subject: RE: question about setting remote JMeter
> server
> 
> 
> It's been a while, but I recall setting the SSL
> config
> in the jmeter.properties, and the GUI prompted me
> for
> the keystore password.
> 
> --- "Xu, William [ITS]" <wxu01@sprintspectrum.com>
> wrote:
> > Thank you Drew. After I installed the identical
> > version on both the client and the server, it is
> > working fine!
> > 
> > I do have another issue with the remote server
> > regarding HTTPS. It looks like the certificate is
> > not properly sent to the web server. 
> > 
> > My config on the server where the remote Jmeter
> > server is running:
> > 
> > 1. JDK 1.3.1_07
> > 2. JSSE installed in the jre/lib/ext
> > 3. java.security has been modified to enable the
> > providers
> > 4. The following system properties are set in the
> > jmeter script (I don't trust the programmatic
> > registrations of providers so I didn't set these
> in
> > jmeter.properties)
> > 
> >
>
-Djavax.net.ssl.trustStore=/apps/j2sdk1_3_1_07/jre/lib/security/cacerts
> >
>
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
> > 
> > I received the following errors:
> > 
> > 05/20/2003 2:54:52 PM ERROR - jmeter.engine: 
> > java.lang.NullPointerException
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.SunJSSE_s.<init>(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.SunJSSE_i.<init>(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.ClientHandshaker.getKickstartMessage(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.Handshaker.kickstart(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
> > 	at
> java.io.OutputStream.write(OutputStream.java:56)
> > 	at
> >
>
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpClient.l(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA6275)
> > 	at
> >
>
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(DashoA6275)
> > 	at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler.connect(HTTPSampler.java:841)
> > 	at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:911)
> > 	at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:391)
> > 	at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFull.sample(HTTPSamplerFull.java:171)
> > 	at
> >
>
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:141)
> > 	at java.lang.Thread.run(Thread.java:479)
> > 
> > I am thinking it may be due to the keystore
> password
> > not provided. But How can I provide a keystore
> > password to the remote jmeter server if the GUI
> does
> > not prompt me for one?
> > 
> > 
> > Regards,
> > 
> > William Xu
> > CAM Architecture
> > Work - 913.794.4669
> > PCS - 913.484.3276
> > 
> > 
> > 
> > -----Original Message-----
> > From: Drew Gulino [mailto:drew_gulino@yahoo.com]
> > Sent: Tuesday, May 20, 2003 10:37 AM
> > To: JMeter Users List
> > Subject: Re: question about setting remote JMeter
> > server
> > 
> > 
> > This will happen if the version of the JMeter
> > running
> > on the controlling box differs even slightly from
> > the
> > version running on the remote JMeter server. 
> Ensure
> > the JMeter code is exactly the same on all the
> > machines by copying JMeter from the same source.
> > 
> > Also make sure your host file is the same on all
> > machines.
> > 
> > --- "Xu, William [ITS]" <wxu01@sprintspectrum.com>
> > wrote:
> > > I am trying to set up a remote JMeter server to
> > test
> > > my web app. Always get socket exception, can
> > > somebody help please? 
> > > 
> > > The client GUI runs on W2K desktop. Here is my
> > > config:
> > > 
> > > Server - Solaris 2.8 SPARC
> > > echo $CLASSPATH
> > >
> >
>
:/apps/src/jakarta-jmeter-1.8.1/lib/jorphan.jar:/apps/src/jakarta-jmeter-1.8.1/lib/logkit-1.0.1.jar:/apps/src/jakarta-jmeter-1.8.1/lib/ext/ApacheJMeter_core.jar
> > > 
> > > nohup rmiregistry &
> > > nohup jmeter -s &
> > > ps -ef | grep java
> > > weblogic  3634  3544  0 10:00:14 pts/1    0:01
> > >
> >
>
/usr/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/rmiregistry
> > > weblogic  3663  3661  0 10:02:14 pts/1    0:01
> > >
> >
>
/usr/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/java
> > > -Xincgc -jar .
> > > 
> > > Client - W2K
> > > edit jmeter.properties to add the IP address of
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
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