简体   繁体   English

分布式负载测试中的 IP SPOOFING 概念 Jmeter

[英]IP SPOOFING concept in Distributed load testing Jmeter

I am trying to invoke distributed load testing with jmeter (Which have 3 ips in it) and it is running in only one ip.我正在尝试使用 jmeter(其中有 3 个 ip)调用分布式负载测试,并且它仅在一个 ip 中运行。 Will other ips also run in the background or they won't even start?其他 ip 是否也会在后台运行,或者它们甚至不会启动?

If you have a Distributed JMeter Test architecture with 1 master and 3 slaves my expectation is that each JMeter slave has its own IP address so you should see requests coming from 3 different IPs to the system under test.如果您的分布式 JMeter 测试架构有 1 个主站和 3 个从站,我的期望是每个 JMeter 从站都有自己的 IP 地址,因此您应该看到来自 3 个不同 IP 的请求到被测系统。

If you need to mimic more IP addresses - there is "Source address" section which lives under "Advanced" tab of the HTTP Request sampler where you can specify the desired outgoing IP address.如果您需要模拟更多 IP 地址 - 有位于HTTP 请求采样器的“高级”选项卡下的“源地址”部分,您可以在其中指定所需的传出 IP 地址。

在此处输入图片说明

But be aware that the IP address (or its alias ) must exist on the operating system level in order to be used at this field so you need to ensure that all source IP addresses you're going to use exist and are usable by JMeter.但请注意,IP 地址(或其别名)必须存在于操作系统级别才能在此字段中使用,因此您需要确保您将使用的所有源 IP 地址都存在并且可供 JMeter 使用。

Check out Using IP Spoofing to Simulate Requests from Different IP Addresses with JMeter for comprehensive information and example configurations查看使用 IP 欺骗以使用 JMeter 模拟来自不同 IP 地址的请求以获得全面的信息和示例配置

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

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