JMeter recording HTTPS supplements

Source: Internet
Author: User
Tags in domain

JMeter has recording function, recording HTTPS need to add a certificate configuration, recording steps are as follows:

1. Open JMeter, add thread group, right-click of thread Group, logical controller > Recording Controller

Workbench Right-click Non-test element >http Proxy Server

2, start the JMeter proxy Server, click on the HTTP Proxy Server Page "Start" button, click before you need to set the port, I set up port 8888 here. After startup, a file will be generated in the bin directory of JMeter: APACHEJMETERTEMPORARYROOTCA.CRT

3. Import the JMeter certificate, jmeter the Option menu, select SSL Manager, import the file apachejmetertemporaryrootca.crt in the Jmeter/bin directory so that the proxy server recording HTTPS is started and set up successfully.

4, Google browser settings agent 127.0.0.1 Port 8888, so that through Google browser access to HTTPS website, JMeter can capture access to information.

5, in Google Browser input: https://www.baidu.com, if the pop-up hint is: net::err_cert_authority_invalid, you need to make the following processing:

    • Need to enter in the Google browser address: chrome://net-internals/#hsts, enter the HTS settings,
    • Find the Delete domain security policies settings option,
    • Enter www.baidu.com in domain and click the Delete button to delete www.baidu.com such as:

6, if the input https address prompts; Net::err_cert_authority_invalid, the need to do is to click on the bottom of continue to xxx.xxx.com (unsafe)

  

7, JMeter popup input keystore password password hint, the default password is: password, enter the password, you can record the

8, Baidu search JMeter, recording controller inside to see the captured request, there is a protocol is HTTPS, port number 443, send the Request field JMeter, recording success

Note: If the installation of this step is unsuccessful, there may be an error in some order, try a few more times, should be successfully recorded

JMeter recording HTTPS supplements

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.