Jmeter关闭SSL证书 [英] Jmeter switch off the SSL certificate

查看:78
本文介绍了Jmeter关闭SSL证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Apache Jmeter 3.2 中禁用 SSL 证书验证类似于邮递员SSL-证书验证开/关"中的开关?

How to disable SSL certificate validation in Apache Jmeter 3.2 analogous to the switch in the postman "SSL-certificate verification on / off"?

推荐答案

JMeter 默认不验证证书.如果您遇到 ssl 问题,那是另一个原因.

JMeter does not validate certificate by default. If you’re facing issues with ssl , it’s another cause.

根据您的评论,根本原因是缺少标题.添加这些标题后,它起作用了:

As per your comment root cause was a missing header. After adding those headers it worked:

Accept-Enconding=application/json

Accept-Enconding=application/json

内容类型=应用程序/json

Content-Type=application / json

这篇关于Jmeter关闭SSL证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆