Add way to rotate through IPs when using IP Spoofing

Idea ID 2806280

Add way to rotate through IPs when using IP Spoofing

Add some functionality so VUsers can rotate through a pool of IPs if there are more IPs than there are VUsers. 


Use case - When trying to simulate users coming in from the outside world we are trying to use ~2000 IPs per load generator ~900 VUsers per load generator to simulate users coming in from different IPs. Currently each VUser is locked to the IP that it starts with and won't use a new one. This makes it hard to simulate users coming in with a relatively new IP each time, and doesn't always show the right response from load balancers when there is an issue with backend, purposeful or not.

Micro Focus Expert
Micro Focus Expert
Status changed to: Needs Clarification

It seems a common use case that a single VUser would use the same IP address, while different users would use different IP addresses.

Why is it needed that a single VUser would use different IP addresses?



Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

It is a use case we wanted to have when we are using more IPs than there are users. If you are simulating large amounts of IPs coming from the public and you want to test failover conditions under load, using the same small pool of IPs can affect load balancing scenarios.


The use case that we wanted was that we would have 2000 IPs on a single LG with around 40 LGs for the entire test, using around 80k IPs with around 30k VUsers. With the existing method we only use 30k IPs and that is causing issues when we do Load Balancing by IP and we try to test our failover. Our VUsers get pinned to one server and won't move until it fails, even if the failed servers come back since the IP isn't changing, where in reality new users would  likely have a different IP, unless they are behind Carrier Grade NAT which isn't the case for a decent portion of our user base. 


We have worked around it by using the built in functions to manually set IPs in the script, and having another program on each LG manage the IPs for that LG, but something built into the tool would be cleaner.




The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.