I have a route to assertion where i route the default request to back end server, everything works fine, I am able to read the response using ${response.mainpart} when the ${httpRouting.reasonCode} returns 200;.
But the the ${httpRouting.reasonCode} is not 200, I am not able to read the ${response.mainpart} which seems to be null. Is there any way to read the response. The client is sending some custom response which they want to display in mobile app. I cant maintain all possible error codes in Layer 7.