Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by Milamber]

...

JMeter can make HTTPS requests - just create an HTTP Request Sampler, and set the protocol to https (instead of blank). You will need at least Java 1.4 for this; or you will need to download the JSSE jar(s) from Sun.

Problems With Invalid SSL Server Certificates

Wiki Markup
Currently, when JMeter 2.2.1 makes SSL requests to a webserver with an expired SSL certificate installed, the SSL requests fail with 'CertificateExpiredException'. Using an valid SSL server certificate fixes the problem. However, since expired certs are often used on internal test servers, it is preferable JMeter be given the ability to ignore certificate validity, as requested by \[http://issues.apache.org/bugzilla/show_bug.cgi?id=39279 JMeter Bugzilla entry 39279\]

Recording HTTPS

The JMeter proxy can record HTTP requests, but it cannot record HTTPS, because the data is already encrypted by the time it reaches the JMeter proxy. If the proxy could decrypt it, it would not be very secure ...

So, what are the options for generating test plans using HTTPS?

...

These should no longer occur; JMeter now ignores all certificate errors such as expiry and incorrect hostname.

Recording HTTPS

Since JMeter 2.4, the JMeter proxy can record HTTPS requests like HTTP requests.

You must accept a special ssl certificat "Apache JMeter" when you record your session.