JMeter HTTPS script recording

Source: Internet
Author: User

JMeter when recording scripts, the main difference with HTTP script recording is that HTTPS recording requires the addition of a security certificate. One, JMeter Proxy server and certificate configuration. 1. Open JMeter, right-click Test Plan Add thread group, right----Non-test component-->http Proxy server 2, set HTTP proxy server. Port default 8888, in order to avoid conflicts with the local fiddler, changed to 8088, the target controller selection, previously added a good thread group; exclusion mode Add. *\. (js|css| png|jpg|png|gif). *, filter out JS, CSS, PNG, JPG and other information 3, start the proxy server, will be in the JMeter Bin directory to generate a security certificate file: APACHEJMETERTEMPORARYROOTCA.CRT 4, Import the JMeter security certificate, and in the menu option--SSL manager, import the security certificate file APACHEJMETERTEMPORARYROOTCA.CRT under the Jmeter/bin directory so that the proxy server recording HTTPS is started and set up successfully second, the browser proxy server and certificate configuration. 1. Take Firefox as an example, find the Certificate Manager--Import the security certificate in the Bin directory of the JMeter---OK 2, the browser settings proxy configuration, 127.0.01, Port 8088, and tick the same proxy server for all protocols, click OK 3, You can see the recorded https script in JMeter by entering the URL you want to access in your browser.
Note: JMeter after recording the script, remember to stop the JMeter proxy server, and remember to close the browser proxy configuration, otherwise the browser will not be able to visit the Web site yo ~ ~ Welcome message, more JMeter related issues welcome Dabigatran Exchange ~ ~

JMeter HTTPS script recording

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.