For RESTful APIs in APIgateway i am trying to implement Load Balancer Routing. I have configured 2 endpoints behind the load balancer policy.
In case of success, its working fine, i.e., traffic is routing to one of the two endpoints.
But in case of failure response from the native service, the load balancer routing starts mis-behaving. It triggers a second call as well, i.e., in case of failure 2 endpoints are being invoked.
Kindly guide me whether i am missing some silly configuration or this how it is supposed to behave.
Just tested with SOAP APIs, this is working fine even in case of failures.