当代理设置配置为连接到Internet时,如何在jmeter中记录

Sur*_*mar 7 proxy automated-tests jmeter

要在Jmeter中记录脚本,我们需要在本地端口8080中运行代理,在浏览器中我需要配置Internet连接代理以连接到Internet.

我工作的公司是通过代理服务器为我提供互联网.

任何知道如何使用Jmeter记录脚本的人,而浏览器中已经设置了互联网代理以连接到互联网.

谢谢

Geo*_*kov 1

您可以通过从命令行运行 JMeter 来提供代理服务器设置,如下所示:

jmeter -H [proxy server hostname or ip address] 
       -P [proxy server port]
       -u[username for proxy authentication - if required]
       -a [password for proxy authentication - if required]
Run Code Online (Sandbox Code Playgroud)

然后您应该将 localhost 和HTTP(S) Test Script Recorder中指定的端口设置为浏览器中的代理地址和端口。