JMeter : How to record HTTPS traffic?

前端 未结 8 1399
别跟我提以往
别跟我提以往 2020-11-27 21:36

I\'m using Apache JMeter 2.3, which now supports \"attempt HTTPS spoofing\" under the Proxy Server element.

I\'ve tried this on several different servers, and have

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 22:09

    1. Starting from JMeter 3.0 default port for the HTTP(S) Test Script Recorder is 8888

    2. The easiest way to configure recording is using JMeter Templates feature. From JMeter's main menu select:

      File -> Templates -> Recording -> Create
      

    1. Don't forget to start the recorder :

      • In JMeter < 4.0, Expand "Workbench", if >= 4.0, ignore this step
      • Select "HTTP(S) Test Script Recorder"
      • Click "Start" button

    1. You will see a message regarding Root CA Certificate. Click OK:

    • it is OK, it informs you JMeter has created a Root Certificate Authority that you need to import in your browser to be able to record correctly HTTPS traffic.

      1. To Import this Root CA certificate in Firefox (it is located in jmeter/bin folder) for example:

    1. Configure browser to use JMeter as proxy:

    It is now Ok.

    • You can navigate to your application, samplers will be created under "Recording Controller" which is under "Thread Group" element

提交回复
热议问题