简体   繁体   English

如何使用多个IP地址运行Jmeter(.jmx)脚本?

[英]How to run Jmeter (.jmx) script using multiple IP addresses?

I have written a jmeter script for my web application which runs from single system. 我已经为从单个系统运行的Web应用程序编写了一个jmeter脚本。

What should i do so that i can run same script from some other IP addresses/systems. 我应该怎么做才能使我可以从其他一些IP地址/系统运行相同的脚本。

I ran it on other system connected in LAN (REMOTE RUN), but it ran only on that system. 我在连接LAN(REMOTE RUN)的其他系统上运行了它,但是它仅在该系统上运行了。

I want to run same script from multiple IPs/Systems. 我想从多个IP /系统运行相同的脚本。 Is there is any setting or update we can do in jmeter so that it will run those script from a bunch of IP addresses? 我们可以在jmeter中进行任何设置或更新,以便它从一堆IP地址运行那些脚本吗?

Or, Can we run jmeter from some browser which uses multiple proxies ? 或者,我们可以从使用多个代理的浏览器中运行jmeter吗?

Thanks in advance. 提前致谢。

If your computer is configured to provide several IP addresses on a certain NIC or has different NICs you can tell JMeter which IP address to use for outgoing connections. 如果您的计算机配置为在某个NIC上提供多个IP地址或具有不同的NIC,则可以告诉JMeter使用哪个IP地址进行传出连接。

在此处输入图片说明

Credits for this solution go to blazemeter, the information has been taken from their blog . 这种解决方案的功劳归功于blazemeter,该信息已从其博客中获取

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM