Web Load Test -Load Balancing Using IP Stickiness

sonu kumar saini
1 min readFeb 22, 2021

Suppose our load balancer is not working properly and we still want to execute a load Test with perfect load balancing, we can use IP stickiness in this case. Below are the steps to follow:

MSA Process Steps in detail

  1. —Bring down all the nodes of the Web server

2. —Bring up Web server “Node-1” and down “Node-2 and Node-3”

3.—Execute the MSA Scenario

-Execute “Application Login“ business process for 1 user 10 iteration from load generator “ LG-1” machine only

—4. Bring up Web server “Node-2” and down “Node-1 and Node-3”

—5. Execute the MSA Scenario

-Execute “Application Login“ business process for 1 user 10 iteration from load generator “ LG-2” machine only

—6. Bring up Web server “Node-3” and down “Node-2 and Node-1”

—7. Execute the MSA Scenario

-Execute “Application Login“ business process for 1 user 10 iteration from load generator “ LG-3” machine only

8. Bring up all Web server Nodes.

In this way, we can establish an IP relationship among Load Generators and all the Load Generated through these load generators will be routed as per IP stickiness established above. We can distribute our load equally among these load generators and the same load they will put on the webserver nodes equally.

Thanks!

--

--

sonu kumar saini
0 Followers

Sonu is working as Senior Performance Engineer in Performance practice, TCS. He has more than 10 years of diverse technical experience.