target endpoint continue on error.

Hi,

I have a target endpoint configured. My requirement is if the target endpoint fails then instead of raising a fault it should continue.

I have configured the success.codes to 1xx,2xx,3xx,4xx,5xx but still it is going into the fault error handling.

To simulate the target server error i have set the timeout to 10ms.

Is there any resolution to this, maybe i have misconfigured/missed something.

Any inputs are always appreciated 🙂

Best regards,

Amit Nerkar

0 1 296
1 REPLY 1

sidd-harth
Participant V

Hi @Jinesh Thakkar , it should work when you mention success codes as,

<HTTPTargetConnection>  
	<Properties>   
		<Property name="success.codes">1xx,2xx,3xx,4xx,5xx</Property>
	</Properties>

	<SSLInfo></SSLInfo>

	<URL></URL>

</HTTPTargetConnection>