Jmeter-在我的android手机上将代理设置为手动后,Internet连接丢失
尝试使用移动设备配置JMeter以记录移动应用程序的脚本。面对互联网连接问题 有人能帮我吗Jmeter-在我的android手机上将代理设置为手动后,Internet连接丢失,jmeter,Jmeter,尝试使用移动设备配置JMeter以记录移动应用程序的脚本。面对互联网连接问题 有人能帮我吗 确保在设备上安装JMeter的自签名证书。该文件名为ApacheJMeterTemporaryRootCA.crt,当您启动程序时,它将在JMeter安装的“bin”文件夹中生成 您可能还需要修改应用程序以允许使用自签名证书 将下一行添加到应用程序的部分 将network\u security\u config文件添加到base/src/{packageMain}/res文件夹,并将以下内容放在那里
- 将下一行添加到应用程序的
部分
- 将
文件添加到network\u security\u config
文件夹,并将以下内容放在那里base/src/{packageMain}/res
<?xml version="1.0" encoding="utf-8"?> <network-security-config> <debug-overrides> <trust-anchors> <!-- Trust user added CAs while debuggable only --> <certificates src="user"/> </trust-anchors> </debug-overrides> </network-security-config>
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user"/>
</trust-anchors>
</debug-overrides>
</network-security-config>