You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

JMeter and HTTPS

Making HTTPS Requests

JMeter can make HTTPS requests - just create an HTTP Request Sampler, and set the protocol to https (instead of blank).

Problems With Invalid SSL Server Certificates

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

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?

  • just create the requests manually.
  • if your server supports it, record the session using HTTP, and then change the default to HTTPS
  • use a browser add-on that can record the requests before they are encrypted. Check for Firefox extensions; or for IE, check out BadBoy
  • use the recently added Proxy Server HTTPS spoofing mode
  • No labels