loadrunner records https script

How to confirm whether the recording system is https protocol:

       First: Development clearly informs

       Second: Sometimes when you record the script, there are transactions and then run, but when you generate the script, you will find that no script is generated. In this way, if you use fiddler to capture packets, you will find that these requests are all https

First of all, loadrunner needs to download the certificate to record the https script (you can also find the developer)

         Open the browser and enter the URL, click "Certificate Error" (depending on your own situation), click "Details", click "Copy to Folder", click "Next", select the protocol to be exported, and finally select the folder to save , Save it, so the cer certificate is saved.

       

Then, the certificate required by loadrunner is in pem format, we need to convert the cer certificate into a pem certificate, which requires the openssl tool (please Baidu for download and installation)

After the tool is installed, put the exported cer certificate in the installation directory of the tool

 Click "Start", enter cmd command, enter openssl command

Enter the openssl environment, enter the conversion command x509 -inform der -in test.cer -out test.pem

The test.cer needs to write the complete path, as shown in the figure 

Enter exit to view the storage location of the converted pem certificate and  you can see my storage address

 Finally, put the converted pem certificate in the bin directory of the loadrunner installation directory, open laodrunner and select "Tools"->recoding options

Click the "new entry" button  so you can record.

Maybe the web_set_certificate_ex method will be empty when recording, so it can be blocked.

Guess you like

Origin blog.csdn.net/u014179640/article/details/87970842