HttpRunner Series: HTTPS SSL certificate verification closed

Because requests HttpRunner bottom is completely reusable, so long as the requests support functions, this framework are supported. Also, if you test a https site without a certificate, you can use verify = False to turn off the check.


11287545-1f014b7aa3d7d41b.png
image.png

In actual use HttpRunner process, verify a value of False is provided with a pit encounters embodiment, modifying the original file json test as follows:


11287545-1cbad9bf023f1876.png
image.png

Run given as follows:
11287545-268c0da8280c52fd.png
image.png

json format verification is not passed, as modified to false False! ! ! ! ! !


11287545-dad5fa2c6ba966aa.png
image.png

Guess you like

Origin blog.csdn.net/weixin_33924312/article/details/90809417
Recommended