Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Stress test a load balancer

https://www.cloudskillsboost.google/focuses/1232?parent=catalog

 

I'm trying to do this lab... Everything else is fine except the section where we have to stress test the load balancer.... I successfully created a vm and installed siege on it and executed the command as given in the lab but the lab I don't know why requests are not sent to the server.. The load balancer received none requests... Can someone guide me how to setup siege properly Bcz there must be some configuration I be missing... Or is there any other tool to send hundreds of requests to the load balancer 

Solved Solved
1 1 1,349
1 ACCEPTED SOLUTION

Hi,

I'm always using simple bash script with curl command to generate some load 

#!/bin/bash
for i in {1..100000}
do
curl -s -k 'GET' -H 'header info' -b 'stuff' 'http://PUT_YOUR_LB_IP/'
done

View solution in original post

1 REPLY 1

Hi,

I'm always using simple bash script with curl command to generate some load 

#!/bin/bash
for i in {1..100000}
do
curl -s -k 'GET' -H 'header info' -b 'stuff' 'http://PUT_YOUR_LB_IP/'
done