I finally figured out that I needed to do some more adaption in the jmeter.properties file in order to get the https communication between the client and the remote jmeter hosts running. I did the following:
- download the jsse.jar, jnet.jar, jcert.jar and add to classpath - retrieve the certificate of the web site to be tested - generated a keystore object based on the certificate using the j2re/j2sdk keytool which is to be found under j2re<version>/bin (the command herefore should be executed in the j2r<version>/bin directory and look like this: keytool -import -keystore <my_keystore_name> -alias <my_keystore_alias> - file <location to which the .cer file from the website has been downloaded> - copy the generated keystore from j2re<version>/bin to j2re<version>/bin to j2re<version>/lib/security where the cacert keystore is to be found - edit the jmeter.properties file by entering the paths to the cacert and the keystore that I just generated. It should be the complete path including the two keystores (e.g. keystore=j2r<version>/lib/security/<mykeystorename>. Finally the password has to be defined also in order for jmeter to be able to access the keystore. I hope that anyone who ever will bump into this problem will save a whole lot of time when finding this mailing :). BR Helga -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Juni 2005 20:24 To: JMeter Users List Subject: Re: Https and remote testing Did you edit the jmeter.properties file on the remote server to set up the ssl property? S. On 6/15/05, Ortius, Helga <[EMAIL PROTECTED]> wrote: > Hallo, > > I am trying to use remote testing in order to create an appropriate load on a > portal. My problem is testing from the "client" which orchestrates the > requests to the remote hosts if remote testing is done, works fine. I can > call the login page of the portal using https and authentication is no > problem. However using remote testing (still using https) the request > forwarded to the remote hosts does not get authenticated. jmeter.log on the > remote hosts tells me: > > 2005/06/15 18:46:45 WARN - jmeter.protocol.http.sampler.HTTPSampler: You may > have forgotten to set the ssl.provider property in jmeter.properties > java.lang.NullPointerException > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:145) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:462) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:590) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:578) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281) > at java.lang.Thread.run(Unknown Source) > > Is it possible that the remote hosts do not automatically understand https? > Do I need to configure that so that they do or am I off track here? If I need > to configure them - I would be more than glad if someone could point me to > documentation regarding this. > > Thank you very much in advance for any input on this :)! > > Best Regards, > Helga > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

