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

How do i test routing the requests to multiple backends

Hi,

I have the below configurations in my proxy:

<LoadBalancer> <Algorithm>RoundRobin</Algorithm><Server name="target1"/> <Server name="target2"/> <MaxFailures>0</MaxFailures> <!--<RetryEnabled>true</RetryEnabled>--> </LoadBalancer>

if i test the targets individually, i see target1 is giving success response and target2 is erroring out with "Service Unavailable".

But with the configuration set as above i am always getting success response. As i specified "RoundRobin" algorithm and retryenabled is commented, my expectation is to get failure response for every other request.

How do i test this behaviour?

How can we monitor whether the request is going to which target from the trace? as i dont have access to infra logs.

0 4 213
4 REPLIES 4