views:

3062

answers:

9

Greetings,

I'm utilizing Jmeter 2.3, which now supports "attempt HTTPS spoofing" under the Proxy Server element. I've tried on several different servers, and have had no success. Has anyone been able to successfully record from an HTTPS source with this setting?

Or barring successfully recording, can anyone share a work-around? When available, I simply have HTTPS turned off at the server level, but this is not always feasible. THoughts?

A: 

Successful work around: use BadBoy to record in HTTPS. It has a built in "export to JMeter" function - very slick.

A: 

How do you import the BadBoy script to JMeter?

Please check out the BadBoy site on how to do this. It's simple.
BlackGaff
+3  A: 

Regarding your question, "How do you import the BadBoy script to JMeter?" please see the Badboy documentation at http://www.badboysoftware.biz/docs/jmeter.htm

A: 

Is there any other way to record HTTPS than Bad boy and Https spoofing?

Yes--use a nightly build of JMeter, e.g. version r922204.

Ver 2.4 of Jmeter now supports HTTPS
BlackGaff
A: 

I recorded https successfully with version 2.3.4

antispam
A: 

HTTPS recording without spoofing has been added to JMeter (see this bug report). It's working for me with JMeter r922204, fixing a problem I had where I could not remain logged in to an app while recording using HTTPS spoofing. I am a happy camper!

David Plumpton
A: 

I am using Webscarab to record https and ajax conversations. It workd fine. I extended the Webscarab with export function for Jmeter. Bugzilla 48898.

Miklos Tverdota
+2  A: 

What I do is:

  1. Go to my website using my web server's IP-address (i.e. http://2.2.2.2/login.html)
  2. Start the recorder and run through my test case
  3. Stop recording
  4. Replace all values of the IP address with the domain name (i.e. replace 2.2.2.2 with yoursite.com) from the HTTP Request Samplers
  5. Set the protocol to https in the HTTP Request Samplers

If you have more than a few pages, it's easiest to create an HTTP Request Defaults item, and set your domain name and protocol there.

FYI, I'm using the latest stable build as of 2010-05-24: Jmeter 2.3.4 r785646.

Bill Paetzke
A: 

The newest version of Jmeter (2.4) now supports HTTPS recording. Rejoice!

BlackGaff