my dog learned polymorphism
The moose likes Testing and the fly likes Using JMeter to test HTTPS connections Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "Using JMeter to test HTTPS connections" Watch "Using JMeter to test HTTPS connections" New topic
Author

Using JMeter to test HTTPS connections

lakshmi s
Greenhorn

Joined: Mar 29, 2004
Posts: 3
I am testing a HTTPS URL using JMeter.I am using jdk141_03 and hence the JSSE jars have not been downloaded and used.

I am getting java.net.MalformedURLException: unknown protocol: HTTPS

Pls tell me as to what should be done to get this working.

Thanks!!
[ June 15, 2004: Message edited by: Lasse Koskela ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Is it really "HTTPS" or "https"?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
lakshmi s
Greenhorn

Joined: Mar 29, 2004
Posts: 3
well, it is https
Michael Behrens
Greenhorn

Joined: May 14, 2004
Posts: 1
From: http://jakarta.apache.org/jmeter/usermanual/get-started.html

To test a web server using SSL encryption (HTTPS), JMeter requires that an implementation of SSL be provided (such as Sun's Java Secure Sockets Extension -- JSSE ). Include the necessary encryption packages in JMeter's classpath . Also, update jmeter.properties by registering the SSL Provider.

There is also the SSL Manager , for greater control of certs.

Note: if you are running JDK1.4, then you do not have to download JSSE because Sun integrated it into JDK1.4 as a standard library.
Greg Reinl
Ranch Hand

Joined: Feb 11, 2003
Posts: 45
lakshmi s: Did you ever figure out how to get this to work? I'm haveing the same problem and would greatly appreciate your help if you can.
Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
I am having issues with this. Did you get this to work?
Shabana Khanam
Greenhorn

Joined: Mar 23, 2005
Posts: 1
I too have problem with https though have made appropriate settings.
Dhondiba Joshi
Ranch Hand

Joined: Jan 23, 2004
Posts: 39
I am facing same problem. I follwed below steps:

1) Added jsse.jar to classpath.
2) Added ssl.provider=path of jsse.jar

Are those steps correct ?

please help


SCJP,SCWCD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35243
    
    7
Since this seems to be a FAQ, I have added a section on what to do to the JavaIoFaq.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using JMeter to test HTTPS connections
 
Similar Threads
Https Question
Encrypting URL in Address Bar
How to encrypt and Decrypt form parameters?
Android SSL support?
compressing HTTP responses (mod_deflate)