jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stiepel, Jochen" <>
Subject RE: JMeter and https with jdk1.4
Date Wed, 28 Aug 2002 07:05:53 GMT
Hello John,

to test a https site with JMeter I did or use the following things:

-Win NT 4 Sp 6 (but the OS should not be the problem, I think)
-J2SDK 1.4.1-rc
-download the JSSE 1.03 from an put it into /jakarta-jmeter/lib

-umcomment in the only one line: (uncomment this
-make a new Thread Group:
	-Loop Count: 1
-make a new Http Request:
	-Server Name or IP:
	-Port Number:		443
	-Protocol:			HTTPS
	-Path:			index.html (or what ever you need like
	-Method:			GET
-make a new View Results Tree:
-start the Test with "start":
	-a box came up "Please type your password"
	-I only push "Return" or "Enter"

-the test starts:
	-see the plain text under "View Results Tree" -> Root -> index.html

I hope this helps you. If you have a question pleas mail.



-----Original Message-----
From: John Kavadias []
Sent: Wednesday, August 28, 2002 4:25 AM
To: 'David Anderson'
Cc: 'Mike Stover'; 'Stiepel, Jochen'
Subject: RE: JMeter and https with jdk1.4

Thanks David.

I thought you would be the one with the answer after your 'how to https with
non-gui jmeter' question.

I had cottoned on to your step 3. from the JSSE documentation, but was not
sure about whether step 2. was required, or whether jmeter+JSSE default
behaviour would get it done for me.

Next week I may be able to get back to looking at https for my test plans,
which are structured to switch ports during the request sequence.

If I find out why Mike had to do so little and you had to do so much to make
it work, I'll post to the users' list.


what did you have to do in addition to setting the port to 443? (My https is
on 8443 and I omitted that in my response to your first query.)

Jochen and Mike,

Do you mostly run your JMeter on Windows?

I am on Solaris 8 with JDK 1.4.0_01, and my limited experience with JMeter
and https is tracking David's.

John Kavadias.

-----Original Message-----
From: David Anderson []
Sent: Wednesday, August 28, 2002 12:53 AM
To: JMeter Users List
Subject: RE: JMeter and https with jdk1.4

I'm also using jdk1.4.1 and to get SSL working with the GUI client I had to
do the following:

1.) Uncomment ssl.provider and ssl.pkgs
2.) Set to the default cacerts file found in your
jre/lib/security directory
3.) Used keytool to import copies of the certs that were being used by the
web servers for SSL into the trusted store

When I ran the test, the GUI client would prompt me for the keystore
password...the default keystore password is changeit, and that would
complete the initialization of my SSL context allowing me to successfully
run my test plan.

hope this helps,


-----Original Message-----
From: John Kavadias []
Sent: Tuesday, August 27, 2002 4:36 AM
To: 'JMeter Users List'
Subject: RE: JMeter and https with jdk1.4

Hello Jochen.

I do not have a complete answer for you, as my current tests do not require
https. In fact I would appreciate the same answers you need!

However, since our web application is actually developed to support https
for sensitive resource access, I did try it.

+ You do have to uncomment both ssl.provider and ssl.pkgs

This was not sufficient for me to get https working with JMeter, however.

I got JMeter to the point where it was prompting for a password for
accessing the default JKS format key store.

I gave a password (only 3 characters) at this point, but after the test
(which failed) could not find my key store. (I also found from JSSE
documentation that I should have used an 8 character minimum password at
this point.)

I think my client side key store was not created because of the failure
recorded in the attached https-ex.txt file.

I do not get JMeter to successfully issue the https request. An exception is
thrown while trying to set up the connection to the server.

Part of my problem is that I am using a web server with a self signed server
certificate, for testing use only.

It is not a 'real' certificate signed by a trusted authority. I think this
means I need to modify a certs file in my j2sdk and j2re installations to
make the test certificate 'trusted'. The JSSE documentation talks about

At this point my need to get an overall set of tests in place overrode
investigating JSSE and getting https going for me in JMeter.

Intial test plan and Exception attached.

Comments welcome,
John Kavadias

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message