Sunday, 11 May 2025

Send Same request via different IP addresses using Jmeter


 Hi,

Again after a long time  :)
I had a request from a client asking to simulate 10 billion users onbarding simulation for performance testing /scalability of their application....
I never did it before but it was something which I like to take as a new learning...
So started with my homework :)
First I searched how to send same api request from different IP and then I parameterized them.
Here is the reference which I used
IP Spoofing With JMeter: How to Simulate Requests from Different IP Addresses | Blazemeter
and then a youtube video which helped me 
https://www.youtube.com/watch?v=trVp7z9AR8E

Few important screenshots 
1. Find IP of your computer 
command : ipconfig




2. Configure your IP changes and add the ips from network





3. Add Ip to your jmeter data file




4. And call same in jemeter TestData



5. Update your jmeter sample request to handle ip parameterization



6. And execute scripts...



 :) and we are done!


1 comment:

Jmeter - Get/print/display the Thread index nad loop index / ip address of current machine while executing script

Hi, If we need to print  Current thread count/index while execution in result -  thread No: (${__threadNum})  and if current loop count/ind...