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